Brokerage positions
portfolio.positionsRead-only: open positions at the brokers the user connected in Gloom, one row per account and instrument. Shares are absolute; side says long or short.
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.positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broker | No | One broker id, such as ibkr or robinhood. Omit for every broker. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ||
| data | Yes | ||
| status | Yes | ||
| rowCount | No | ||
| truncated | No |