agent_watch_configure
MCP tools › Window and UI driver
Change the agent watchdog of this workspace; acknowledge resets the attempts of acknowledged escalations. Dry run by default (answers the configuration it would write); dry_run=false needs the settings right, writes agent-watch.toml in the user's settings folder and is logged. The wake prompt cannot be set here. Out-of-bounds values, a faulty file and unknown agent ids are refused.
| Capability | ui.agent_watch_configure |
|---|---|
| Area | Window and UI driver |
| Access | changes settings |
| Reaches | — |
| Rights | settings |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
enabled | boolean | Switch the watchdog on or off for this workspace. |
stall_after | integer | Seconds without progress before a working agent counts as hung (60 to 86400).minimum 0 |
idle_after | integer | Seconds without progress before an idle agent counts as asleep (60 to 86400).minimum 0 |
grace | integer | Seconds to wait after a wake or resume before judging again (60 to 86400).minimum 0 |
unknown_after | integer | Seconds in the unknown state before the person gets a notice (60 to 86400).minimum 0 |
max_attempts | integer | Wakes and resumes in a row without progress before escalating (1 to 10).minimum 0 |
max_actions | integer | Wakes and resumes of an agent in all before escalating for good (1 to 50).minimum 0 |
budget_cents | integer | Spending in cents at which no more actions are taken.minimum 0 |
no_budget | boolean | Remove the budget. |
resume | boolean | Resume the saved session of an agent whose process is gone. |
acknowledge | array of string | Agent ids whose escalation the person acknowledges.default [] |
dry_run | boolean | Only show what would be written (default true); false writes and needs the settings
right. |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project agent_watch_configureInput schema as JSON
{ "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Switch the watchdog on or off for this workspace.", "type": [ "boolean", "null" ] }, "stall_after": { "description": "Seconds without progress before a working agent counts as hung (60 to 86400).", "type": [ "integer", "null" ], "minimum": 0 }, "idle_after": { "description": "Seconds without progress before an idle agent counts as asleep (60 to 86400).", "type": [ "integer", "null" ], "minimum": 0 }, "grace": { "description": "Seconds to wait after a wake or resume before judging again (60 to 86400).", "type": [ "integer", "null" ], "minimum": 0 }, "unknown_after": { "description": "Seconds in the unknown state before the person gets a notice (60 to 86400).", "type": [ "integer", "null" ], "minimum": 0 }, "max_attempts": { "description": "Wakes and resumes in a row without progress before escalating (1 to 10).", "type": [ "integer", "null" ], "minimum": 0 }, "max_actions": { "description": "Wakes and resumes of an agent in all before escalating for good (1 to 50).", "type": [ "integer", "null" ], "minimum": 0 }, "budget_cents": { "description": "Spending in cents at which no more actions are taken.", "type": [ "integer", "null" ], "minimum": 0 }, "no_budget": { "description": "Remove the budget.", "type": [ "boolean", "null" ] }, "resume": { "description": "Resume the saved session of an agent whose process is gone.", "type": [ "boolean", "null" ] }, "acknowledge": { "description": "Agent ids whose escalation the person acknowledges.", "type": "array", "items": { "type": "string" }, "default": [] }, "dry_run": { "description": "Only show what would be written (default true); false writes and needs the `settings`\nright.", "type": [ "boolean", "null" ] } }}