Cancel CEX order
cancel_orderCancel an open CEX order by order id. Needs trade:execute + YOLO eligibility; per-call kill-switch/autonomy check.
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": {
"exchange": "<exchange>",
"orderId": "<orderId>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | No | e.g. BTC/USDT (helps venue routing) | |
| market | No | Optional market scope. Omit to search both. | |
| orderId | Yes | Venue order id to cancel | |
| exchange | Yes | CEX slug, e.g. kucoin | |
| connectionId | No | CEX connection id (see list_connections). Takes precedence over exchange. |