get_open_orders
Retrieve all currently active orders from Interactive Brokers accounts to monitor trade execution status and manage positions.
Instructions
Get all open orders.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_open_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/ib_async_mcp/server.py:666-668 (handler)The handler logic for 'get_open_orders' that calls ib.openOrders() and serializes the result.
if name == "get_open_orders": orders = ib.openOrders() return [serialize_object(o) for o in orders] - src/ib_async_mcp/server.py:288-292 (registration)The Tool definition and registration for 'get_open_orders'.
Tool( name="get_open_orders", description="Get all open orders.", inputSchema={"type": "object", "properties": {}}, ),