Approvals / MCP

Resolve reply draft

Approve or reject one pending Reply Agent draft by id. Approval marks it sendable for the existing sender pipeline.

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
Optional with API key auth - inferred from the key.
draftIdRequired · string
See the input schema for this field.
approvalStatusRequired · string
See the input schema for this field.approved · rejected
editedMessageOptional · string
See the input schema for this field.
rejectionReasonOptional · string
See the input schema for this field.
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "resolve-reply-draft",
    "arguments": {
      "draftId": "00000000-0000-4000-8000-000000000000",
      "approvalStatus": "approved"
    }
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with API key auth - inferred from the key."
    },
    "draftId": {
      "type": "string"
    },
    "approvalStatus": {
      "type": "string",
      "enum": [
        "approved",
        "rejected"
      ]
    },
    "editedMessage": {
      "type": "string"
    },
    "rejectionReason": {
      "type": "string"
    }
  },
  "required": [
    "draftId",
    "approvalStatus"
  ]
}
See this operation inCLI REST API TypeScript SDK
MCP reference | Pipeline v2 preview