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.
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_accounts"
}
}Input 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()}