Cancel Approval
cancel_approvalCancel a pending approval request that is no longer needed, for example because the agent changed plans or the operation already happened. The approval Push Notification is removed from the user's devices, the review screen shows it as cancelled so the user can no longer decide, and any wait_for_approval call returns the cancelled state. Only pending requests change; for an approval that is already decided, timed out, or cancelled, this returns its current state unchanged. Do not cancel to retry; use wait_for_approval to keep waiting. Returns the approval's resulting state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"approval_id": "<approval_id>"
},
"name": "cancel_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval_id | Yes | approval_id returned by request_approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval | Yes | ||
| next_action | No |