Cancel an order request
cancel_orderFor customers: withdraw one of the buyer's own orders while it is still a request the seller has not answered. Use it once the buyer has confirmed which order; it takes the number as they say it. The shop is told. An order the seller has confirmed is refused: the buyer asks the seller.
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": "<order>",
"request_id": "<request_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | The order by id (ord_...) or number ("#12"). | |
| request_id | Yes | Unique per call; the same id again returns the first result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| error | No | ||
| order | No | ||
| choices | No | ||
| outcome | No | ||
| timezone | No | ||
| cancelled | No | ||
| confirmation | No |