Cancel Order
cancel_orderCancel a pending or active brokerage order by supplying its client order ID, preventing execution right away.
Instructions
Cancels a pending or active order on the broker account immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The order's **client_order_id** — the id this server generated when the order was drafted (it looks like `DRFT_9a32c8d5`), NOT the broker's own `order_id`. `get_open_orders` shows both in its last column; the cancel path only accepts the client one. |