get_cancellation_reasons
Retrieve valid cancellation codes for an order in its current state, then use one to cancel the order.
Instructions
Get valid cancellation codes for an order at its current state (feed into cancel_order).
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": "get_cancellation_reasons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID |