Cancel a request
cancel_requestCancel an approval request the user submitted. Stops the approval process and notifies approvers. Confirm with the user first. Two-step: call with confirmed=false (the default) first for a preview with NOTHING cancelled yet; call again with confirmed=true to cancel it. A confirmed=true call with no matching preview from this connection in the last 10 minutes is run as the preview instead, and writes nothing. One preview admits one attempt, so a call that fails needs a new one. If the server cannot reach its preview store it does not hold the call back, so always preview first regardless. A preview also lapses once the request changes, someone else's decision on it included, so the next call previews it again.
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": {
"ar_identifier": "<ar_identifier>"
},
"name": "cancel_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | No | false (default) returns a preview of what would be cancelled and does NOTHING. true cancels it. Preview, show the user, wait for their yes, then call again with true. | |
| ar_identifier | Yes | The approval request to cancel — friendly number like 'AR-15' / '15' or the internal integer id. |