order_cancel
Cancel an unpaid order. A paid order has gone to the printer and can't be canceled.
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": "<order>"
},
"name": "order_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Order id (ord_…). | |
| reason | No | Why, for the record. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| summary | No | ||
| warnings | No | ||
| next_actions | Yes |