request_order_cancellation
Ask the shop to cancel an order that hasn't shipped. A person reviews it; production may already have started. Asking again within 24 hours adds the reason without notifying the shop twice. The order.status_changed webhook and get_order show the outcome.
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>",
"reason": "<reason>"
},
"name": "request_order_cancellation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the order should be canceled, for the person who reviews it | |
| order_id | Yes | Order id (ord_...) from list_orders or the paid quote |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||