Connection details
get_connection_infoRetrieve technical details of your IB Gateway API session, including endpoint, client ID, API versions, and sync status. Works even when disconnected, returning session fields as null.
Instructions
Return technical details of the API session: endpoint, client id, API versions.
Includes the negotiated server version, the API version range this client speaks,
whether open and completed orders were synced (`orders_synced`), when the session
started, and traffic counters. Works when disconnected too (the session fields are
then null).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | Yes | ||
| client_id | Yes | ||
| connected | Yes | ||
| bytes_sent | No | ||
| messages_sent | No | ||
| orders_synced | No | Whether this session loaded the open and completed orders. | |
| bytes_received | No | ||
| server_version | No | Negotiated TWS API server version. | |
| connected_since | No | ||
| ib_async_version | Yes | ||
| messages_received | No | ||
| client_version_range | Yes | API versions this client speaks, 'min..max'. | |
| server_package_version | Yes | Version of ib-gateway-mcp. |