get_account_summary
Retrieve account summary information from Interactive Brokers, including balances, positions, and performance metrics for portfolio management.
Instructions
Get account summary.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account ID (optional) |
Implementation Reference
- src/ib_async_mcp/server.py:483-486 (handler)The handler for the 'get_account_summary' tool, which fetches account summary data from the Interactive Brokers API.
if name == "get_account_summary": summary = ib.accountSummary(args.get("account", "")) return [{"account": v.account, "tag": v.tag, "value": v.value, "currency": v.currency} for v in summary] - src/ib_async_mcp/server.py:107-115 (registration)The MCP tool registration for 'get_account_summary'.
name="get_account_summary", description="Get account summary.", inputSchema={ "type": "object", "properties": { "account": {"type": "string", "description": "Account ID (optional)"}, }, }, ),