get_accounts
Retrieve a list of managed account names from Interactive Brokers through the ib-async MCP server interface.
Instructions
Get list of managed account names.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/ib_async_mcp/server.py:91-95 (registration)Tool 'get_accounts' registration definition.
Tool( name="get_accounts", description="Get list of managed account names.", inputSchema={"type": "object", "properties": {}}, ), - src/ib_async_mcp/server.py:476-477 (handler)Handler for 'get_accounts' tool.
if name == "get_accounts": return {"accounts": ib.managedAccounts()}