Portfolio risk
portfolio_riskQuantitative risk on the signed-in user's PRIMARY active portfolio by default (archived/deleted excluded): aggregate beta vs S&P 500, annualized volatility, 1-month 95% Value-at-Risk, each line's share of the portfolio's volatility (risk vs weight), the full correlation matrix with the groups of holdings that move together, the max drawdown of today's weights over the window and how long it took to recover, standard stress tests (S&P 500 −10%, the largest sectors −20%, the window's worst sessions replayed), per-holding beta/vol, currency exposure. Pass portfolio (a name, or 'all') only when the user asks for the others. Requires the user to be connected. Example: "how risky is my portfolio?", "which line carries the most risk?".
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_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portfolio | No | Optional: a portfolio name, or 'all' for every active portfolio. Defaults to the user's primary — only widen when the user explicitly asks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false on an error; then `error` says what happened and what to do. | |
| card | No | The in-chat InvestIQ card, in English and French. | |
| data | No | The tool's own result fields. | |
| tool | Yes | ||
| as_of | Yes | ISO time the data was computed (a stored analysis: when it was computed). | |
| error | No | ||
| links | No | InvestIQ pages for this result. | |
| degraded | No | true when part of the data was missing. | |
| viz_spec | No | The recommended chart's series (data only). | |
| disclaimer | Yes | ||
| data_quality | No | What was requested, what was used, and why anything was left out. |