cancel_order
Cancel an existing order after human approval; shipped orders cannot be cancelled, and refused or timed-out requests are denied and logged.
Instructions
Cancel one of your orders. Irreversible, so it is gated: a human must approve before it runs, in this client's approval form if it shows one, else on the server's terminal. An order that has shipped can't be cancelled. If the approver refuses, doesn't answer within two minutes, or there is nowhere to ask, the call is denied and the refusal is logged. To record information without cancelling, use add_note.
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": {
"order_id": "<order_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The order's ID, e.g. '4417'. Use list_orders to find one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |