Scenarios: Update a what-if scenario
update_scenario Update a what-if scenario (only the fields you pass change).
When ``items`` is omitted the existing changes are kept; pass a full
new list to replace them. A committed scenario can't be edited.
Item dict shapes match scenario creation (add_debt / add_asset / remove).
Args:
scenario_id: The scenario to update.
name / description / strategy / extra_monthly: Optional new values.
items: Optional full replacement list of change dicts.
Returns:
{scenario: {...}, analysis: {...}} or {"error": "..."}.
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": {
"scenario_id": "<scenario_id>"
},
"name": "update_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| items | No | ||
| strategy | No | ||
| description | No | ||
| scenario_id | Yes | ||
| extra_monthly | No |