Cancel order
cancel_orderCancel an order belonging to the authenticated user when it hasn't been cancelled yet, allowing you to manage or undo a purchase.
Instructions
Cancel an order belonging to the authenticated user when it has not already been cancelled.
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 | Order ID to cancel |