Cancel Order
cancel-orderCancel an order that has not been printed yet. Only orders still under review can be cancelled — once an order is printing or shipped it cannot be stopped. Confirm with the user before calling this, then check the result: cancelling is final.
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 ID of the order to cancel. |