Change a scenario
update_scenarioChange a scenario by id: a team scenario's title and description; any scenario's description, whether it is checked every time (daily) and whether it is critical — walked on every check, whatever changed (the answer says what it adds per check; tell the person). restore: true brings back a retired one (list_scenarios retired: true), whoever retired it; it is checked again with its history. decision: the person's own answer on a scenario the check found — watch, or not_journey; critical: true also means watch. scenario_ids applies the same change to several. One an agent handed over only a person stops watching (not_journey, or daily: false), on the app's Journeys tab. A sentence handed over in expects stays something the scenario must show for as long as it stands in the description; take it out of the description and it is asked no more.
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": "update_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Act in another of your teams, by its name or id (whoami lists them). Omitted: the key's own team | |
| daily | No | Checked by every check (true) or only when named (false) | |
| login | No | The login it walks with, by label (list_apps test_accounts): "default", a named test account, or the app's session sign-in. Left out: the app's default. A login that is gone by the time of a check reports the scenario not checked, never walked as someone else; null: the app's default again | |
| title | No | New title (team scenarios only) | |
| restore | No | true: bring back a retired scenario (list_scenarios retired: true); it is checked again | |
| critical | No | true: walked on every check — every deploy, preview and daily check — even when nothing near it changed; the answer says what it adds to each check's price. false: walked when something near it changes | |
| decision | No | The person's decision on a scenario the check found: watch it in every check, or it is not a journey. Pass their own words, never your guess | |
| description | No | New description; "" clears it | |
| scenario_id | No | From list_scenarios or get_review | |
| scenario_ids | No | Or: several scenario ids, each given the same change |