cancel_order
Cancel an existing order across supported brokers and all order varieties, including regular, AMO, CO, BO, and iceberg, by specifying the order ID.
Instructions
Cancel an existing order with support for all order varieties
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 |
|---|---|---|---|
| broker | No | Specific broker (optional, uses active if not specified) | |
| variety | No | Order variety | |
| order_id | Yes | Order ID to cancel |