regenerate_forecast_narrative
Re-run ONLY the AI narration step against an existing completed forecast run. Costs 1-2 AI credits (no engine work). Returns the new narration; the old one is overwritten in the run record. Refuses when the run is not yet complete or when narration_enabled=false on the forecast.
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": {
"forecast_id": "<forecast_id>",
"run_id": "<run_id>"
},
"name": "regenerate_forecast_narrative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | UUID of a COMPLETED run. Use get_forecast_run with run_id='latest' first if you want the most recent. | |
| forecast_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| narration | Yes | Narration payload (summary, highlights, risks, recommendations, methodology_note, credits_consumed, model_used, generated_at, fallback_reason). fallback_reason is null on success; one of 'insufficient_credits', 'llm_failed', 'disabled', 'org_disabled' when narration was skipped. |