Cancel Open Order
cancel_orderCancel an existing open Schwab order by order_id; respects read-only and dry-run safety settings to prevent unintended live cancellations.
Instructions
Cancel an existing open order by order_id (respects SCHWAB_READ_ONLY and SCHWAB_DRY_RUN).
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 |
|---|---|---|---|
| account | No | ||
| order_id | Yes | ||
| confirm_live | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||