List positions
list_positionsList investment positions (theses) with PnL data. Each position represents a trading thesis Milo is tracking — includes entry orders, linked TP/SL orders, invested amount, unrealized PnL, and current status. Milo revalidates theses every ~3 days. Wallet-backed positions include wallet order/TP/SL data; stock brokerage positions return walletId null, tradingAccountType stock_brokerage, and linked brokerage order/position-derived PnL.
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": "list_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1, max: 100) | |
| status | No | Filter by position status | |
| userId | No | The user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me). | |
| pageSize | No | Items per page (default: 25, max: 100) |