cancel_order
Cancel an order by ID, record a cancellation reason, and trigger notifications to keep order status and customers updated.
Instructions
Cancel an order, record the cancellation reason, and trigger cancellation notifications
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": {
"orderId": "<orderId>",
"reason": "<reason>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Explicit reason for cancelling the order (e.g. 'Customer requested cancellation', 'Model unprintable') | |
| orderId | Yes | Unique numeric ID of the order to cancel |