Cancel a staged action
cancel_actionDiscard a staged write action and invalidate its token when a draft is rejected or changed. Prevents unintended execution.
Instructions
Discard a staged write action so its token can never be used. Use this when the user rejects or changes a draft.
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": {
"confirmation_token": "<confirmation_token>"
},
"name": "cancel_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmation_token | Yes | Token of the staged action to discard |