pro_cancel_order
Cancel an open PRO order by its ID. Only pending orders can be cancelled; review open orders first, then confirm to execute.
Instructions
Cancel a specific PRO order by ID. Only open/pending orders can be cancelled. Returns cancellation status. Use pro_get_open_orders first to see which orders can be cancelled. Order status ENUM: open (order is active and waiting to be filled), filled (order was completely executed), cancelled (order was cancelled or expired). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwt | No | Optional session token for authentication. API keys are recommended for most use cases. | |
| confirm | No | Must be true to execute. Ask the user first, then call again with confirm=true. Prevents accidental one-shot mutations by the LLM. | |
| order_id | Yes | Order UUID to filter or retrieve specific order details | |
| idempotency_key | No | Stable key for this logical action (UUID recommended). Reuse the same value when retrying after a timeout so Bit2Me does not execute twice. Auto-generated if omitted. |