Brokerage accounts
portfolio.accountsRead-only: every account at the brokers the user connected in Gloom, with net liquidation, cash, buying power, margin, day and unrealized P&L. Money is in the account currency.
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": "portfolio.accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ||
| data | Yes | ||
| status | Yes | ||
| rowCount | No | ||
| truncated | No |