MCP Tools
Plans & Playbooks

list_document_updates

List proposed updates to existing documents across content plans, playbook steps, and workflows (ChatGPT sees plan updates only).

Parameters

NameTypeRequiredDefaultDescription
team_idintegerYes—Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions.
source_kindstringNo—Source filter: `all` (default), `plan`, or `workflow`.
plan_uuidstring (uuid)No—Optional content plan or playbook step UUID to scope results to.
workflow_idstring (uuid)No—Optional workflow UUID to scope results to.
statestringNo—Proposal state filter (default "pending"); pass "all" for every state.
cursorstringNo—Opaque next_cursor from the previous page when more updates remain.
limitintegerNo—Maximum updates per page (1 to 50, default 20).

Input Schema

{
  "type": "object",
  "required": [
    "team_id"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum updates per page (1 to 50, default 20)."
    },
    "state": {
      "enum": [
        "pending",
        "no_changes",
        "applying",
        "applied",
        "rejected",
        "conflict",
        "superseded",
        "failed",
        "all"
      ],
      "type": "string",
      "default": "pending",
      "description": "Proposal state filter (default \"pending\"); pass \"all\" for every state."
    },
    "cursor": {
      "type": "string",
      "description": "Opaque next_cursor from the previous page when more updates remain."
    },
    "team_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions."
    },
    "plan_uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Optional content plan or playbook step UUID to scope results to."
    },
    "source_kind": {
      "enum": [
        "all",
        "plan",
        "workflow"
      ],
      "type": "string",
      "default": "all",
      "description": "Source filter: `all` (default), `plan`, or `workflow`."
    },
    "workflow_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional workflow UUID to scope results to."
    }
  }
}

Output Schema

{
  "type": "object",
  "required": [
    "items",
    "next_cursor"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "update_id",
          "source_kind",
          "kind",
          "mode",
          "state",
          "summary",
          "base_hash",
          "target_content_id",
          "target_title",
          "target_link_url",
          "applied_content_id",
          "applied_link_url",
          "stale",
          "sibling_pending_count",
          "created_at",
          "decision_at",
          "error_code",
          "can_approve"
        ],
        "properties": {
          "kind": {
            "enum": [
              "update",
              "create"
            ],
            "type": "string"
          },
          "mode": {
            "enum": [
              "approval",
              "direct"
            ],
            "type": "string"
          },
          "stale": {
            "type": "boolean"
          },
          "state": {
            "enum": [
              "pending",
              "no_changes",
              "applying",
              "applied",
              "rejected",
              "conflict",
              "superseded",
              "failed"
            ],
            "type": "string"
          },
          "run_id": {
            "type": [
              "integer",
              "null"
            ]
          },
          "summary": {
            "type": "string"
          },
          "item_key": {
            "type": "string"
          },
          "run_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "base_hash": {
            "type": [
              "string",
              "null"
            ]
          },
          "item_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_uuid": {
            "type": "string",
            "format": "uuid"
          },
          "update_id": {
            "type": "string",
            "format": "uuid"
          },
          "created_at": {
            "type": "integer"
          },
          "error_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "step_title": {
            "type": "string"
          },
          "can_approve": {
            "type": "boolean"
          },
          "decision_at": {
            "type": [
              "integer",
              "null"
            ]
          },
          "root_run_id": {
            "type": "string",
            "format": "uuid"
          },
          "source_kind": {
            "enum": [
              "plan",
              "workflow"
            ],
            "type": "string"
          },
          "workflow_id": {
            "type": "string",
            "format": "uuid"
          },
          "document_key": {
            "type": "string"
          },
          "target_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "workflow_name": {
            "type": "string"
          },
          "target_link_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "applied_link_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "target_content_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "applied_content_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "sibling_pending_count": {
            "type": "integer"
          }
        }
      },
      "description": "Document update proposals, newest first."
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as cursor for the next page, or null on the last page."
    }
  }
}

Instructions

Lists pending or historical document update proposals (across content plans, playbook steps, and workflows), newest first (defaults to state: "pending"). Read-only.

Output: items (each: update_id, source_kind, plan_uuid, step_title, run_id, run_name, kind, mode, state, summary, base_hash, target_content_id, target_title, target_link_url, applied_content_id, applied_link_url, stale, sibling_pending_count, created_at, decision_at, error_code, can_approve) and next_cursor. Present target_link_url / applied_link_url as returned.

  • Workflow updates also include workflow_id, workflow_name, item_key, item_name, document_key, and root_run_id.

When to use

Use to inspect pending or historical document update proposals (state, source_kind, plan_uuid).