Cancel Order
cancel_orderCancel a single open order by specifying its order ID.
Instructions
Cancel a single open order by order id.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Outcome of the cancel request. | |
| message | No | Human-readable message with more detail. | |
| orderId | Yes | Order identifier that was requested to be cancelled. |