Cancel an order
cancel_orderCancel a resting order this agent placed using its clientOrderId, even for a stopped account; no risk rules run on the cancellation.
Instructions
Cancel a resting order this agent placed, by the clientOrderId its decision carries. No rule runs on a cancel and a stopped account still lets it through.
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": {
"tradingAccountId": "<tradingAccountId>",
"symbol": "<symbol>",
"clientOrderId": "<clientOrderId>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The order's symbol. | |
| clientOrderId | Yes | The resting order's client order id (msh-…). | |
| tradingAccountId | Yes | The trading account (ta_…). |