Cancel Pending Order
cancel_orderCancel an active, unfilled order using its unique ID. Use this to stop an order from executing before it fills; if the order is already filling, cancellation may not be possible.
Instructions
Cancel an active, unfilled order by its unique ID. Cancellation is not guaranteed if the order is already being filled. A successful response means the cancellation request was accepted. Rate limit: 50 req / 1m.
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>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The unique numerical ID of the order to cancel. |