mcpDeterministic

List pending approvals

tools/call

List human-input items awaiting approval across the workspace: draft sends, drafted replies, push events, and Agent Teams human-input cards. Returns four arrays: drafts, replies, pushEvents, humanInputs.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list-pending-approvals",
"arguments": {}
}
}

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"drafts": {
"type": "array",
"items": {
"type": "object"
}
},
"replies": {
"type": "array",
"items": {
"type": "object"
}
},
"pushEvents": {
"type": "array",
"items": {
"type": "object"
}
},
"humanInputs": {
"type": "array",
"items": {
"type": "object"
}
}
},
"required": [
"drafts",
"replies",
"pushEvents",
"humanInputs"
]
}

JSON-RPC errors

-32602
Invalid parameters. Field-level details are returned in the JSON-RPC error data.
-32001
Authentication or hosted AI consent is required.
-32003
Workspace access is denied.
-32029
The request was rate limited.
Pipeline MCP documentation | Pipeline