List Portfolios
list_portfoliosList the user's OWN portfolios (id, name, base_currency, account_type, nav, total_return_pct,
unrealized_pnl, position_count, …) so you can pick one to analyze. Call this FIRST whenever the user
says 'my portfolio' without a number — show the names, then pass the chosen id to
portfolio_context. Owner-scoped: only ever the user's own portfolios.
If count is 0 (they own none), the response carries a note with a create link — relay THAT
(invite them to create a portfolio) instead of saying an empty 'you have no portfolios'.
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_portfolios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||