Cancel all orders
cancel_all_ordersCancel all working orders in an account, with optional filter by underlying symbol. Use in emergencies to quickly clear pending orders.
Instructions
Emergency: cancel ALL working orders for an account, optionally limited to one underlying symbol. Fetches live orders and cancels every cancellable one.
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": {
"account_number": "<account_number>"
},
"name": "cancel_all_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_number | Yes | The account number | |
| underlying_symbol | No | Only cancel orders on this underlying |