MCP Tools
Plans & Playbooks

discard_document_update

Discard a `pending`, `conflict`, or `no_changes` document update proposal without modifying the target document.

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.
update_idstring (uuid)Yes—Document update proposal UUID to discard.

Input Schema

{
  "type": "object",
  "required": [
    "team_id",
    "update_id"
  ],
  "properties": {
    "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."
    },
    "update_id": {
      "type": "string",
      "format": "uuid",
      "description": "Document update proposal UUID to discard."
    }
  }
}

Output Schema

{
  "type": "object",
  "required": [
    "source_kind",
    "update_id",
    "state",
    "target_content_id",
    "content_id",
    "link_url"
  ],
  "properties": {
    "state": {
      "enum": [
        "rejected"
      ],
      "type": "string"
    },
    "link_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "update_id": {
      "type": "string",
      "format": "uuid"
    },
    "content_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "source_kind": {
      "enum": [
        "plan",
        "workflow"
      ],
      "type": "string"
    },
    "target_content_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  }
}

Instructions

Discards (rejects) a pending, conflict, or no_changes document update proposal by update_id without changing the target document (interactive conversations only; background workflow or playbook action runs are refused). Confirm before discarding. Re-run produce_plan with redraft: true on a plan update for a fresh proposal; workflow-sourced updates do not support redraft.

Output: source_kind, update_id, state, target_content_id (target document UUID, or null for workflow create proposals), content_id (null), link_url (null).

When to use

Use when the user declines a proposed document update or wants to clear a stale/conflicting proposal without touching the target document.