cancel_order
Cancel an active order and return escrow (Sell orders: remaining items returned to station storage. Buy orders: remaining credits returned to wallet. Partially filled orders keep their fills. Use order_id 'all' or '*' to cancel all your orders at this station. Bulk mode: pass 'order_ids' array to cancel up to 50 orders in one call.)
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": {
"session_id": "<session_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | No | ID of the order to cancel, or 'all' to cancel all your orders at this station. Use view_orders to see your orders. | |
| order_ids | No | Bulk mode: array of order IDs to cancel (max 50). When provided, the top-level order_id is ignored. | |
| session_id | Yes | Your session ID from login/register |