Assess portfolio risk
risk_assessMeasure a portfolio you state against limits you state, on official point-in-time prices.
Reports concentration and peak-to-trough drawdown, and NAMES every position it could not
price rather than quietly assessing the rest — an assessment covering 60% of a portfolio
without saying so is worse than none.
Any breach produces a PROPOSAL (e.g. "reduce 2330") that requires a human decision.
Approving a proposal records that decision; it executes nothing. TWMD has no order path.
Args:
positions: `[{"ticker": "2330", "quantity": 100}, ...]`. YOUR stated holdings — nothing
is read from a brokerage account, because no such connection exists.
as_of: knowledge cutoff, `YYYY-MM-DD`. Defaults to the latest available data.
max_position_weight: single-name limit as a fraction (0.35 = 35%).
max_drawdown: peak-to-trough limit as a fraction (0.25 = 25%).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"positions": "<positions>"
},
"name": "risk_assess"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| positions | Yes | ||
| max_drawdown | No | ||
| max_position_weight | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| error | No | ||
| caveat | No | ||
| limits | No | ||
| reason | No | ||
| status | No | ||
| blocked | No | ||
| weights | No | ||
| coverage | No | ||
| findings | No | ||
| reliable | No | ||
| execution | No | ||
| max_drawdown | No | ||
| portfolio_value | No | ||
| proposed_actions | No | ||
| not_investment_advice | No |