portfolios
The user's own Clarifo portfolios (watchlists and investment portfolios).
Without portfolio_id: the list, with company counts. With portfolio_id: its companies with notes and positions, each company's share price change over period and latest reported fiscal year, signals, recent and upcoming reports, and the user's own analyses of the companies (read one with get_workspace_item; view="since" says how a company has done since). An investment portfolio also gets performance for year, or start_date to end_date (default this year to date): realized gains and losses, dividends, fees, profit and money-weighted return, in currency. Read-only.
Args: portfolio_id: From the list; omit to list portfolios. period: Price-change window: 1M, 3M (default), 6M, 1Y, YTD. chart: Leave False. The Clarifo panel sets it to draw price lines (price.series, index 100 at the period start). year: Calendar year for performance, e.g. 2025. start_date: Performance from this date (YYYY-MM-DD); not with year. end_date: Performance to this date (YYYY-MM-DD, default today). currency: ISO code for performance totals (default the portfolio's display currency). signals: "latest" (default: each company's newest period), "all" (every stored period) or "none". following: True for the companies the user follows (the Follow button) instead: {"following": [{"company_name", "ticker", "price"}]}, price change over period. Not a portfolio.
Returns: {"portfolios": [{"portfolio_id", "name", "type", "company_count", "workspace_id", "workspace_name"}]} or {"portfolio_id", "name", "type", "workspace_id", "companies": [{"company_id", "company_name", "ticker", "position", "price", "latest_fy"}], "position_totals" (value, cost, unrealized result and currency_mix in the display currency), "signals", "events", "own_research", "ledger_positions", "ledger_totals" (per cost currency), "performance"}. Give company_id to get_company_snapshot.
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": "portfolios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| chart | No | ||
| period | No | 3M | |
| signals | No | latest | |
| currency | No | ||
| end_date | No | ||
| following | No | ||
| start_date | No | ||
| portfolio_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||