get_positions
Retrieve all open positions across brokerage accounts, showing symbol, quantity (negative for shorts), and market value. Optionally filter by broker ID.
Instructions
Open positions across all accounts (symbol, quantity — negative means short — and market value in the account currency when the broker prices it). Optionally filter by broker id.
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_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broker | No | Broker id to filter by, e.g. 'alpaca' or 'kraken' |