cancel_order
Cancel an unfilled working order by its broker order ID. Filled positions remain open and need explicit closing.
Instructions
Cancel a working order.
Does not close a filled position — if the entry already filled, the
position remains open and must be closed explicitly.
Args:
broker_order_id: Order id returned by `place_order`.
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": {
"broker_order_id": "<broker_order_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broker_order_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||