Skip to content

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.

Capabilityui.agent_watch_configure
AreaWindow and UI driver
Accesschanges settings
Reaches—
Rightssettings
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
enabledbooleanSwitch the watchdog on or off for this workspace.
stall_afterintegerSeconds without progress before a working agent counts as hung (60 to 86400).minimum 0
idle_afterintegerSeconds without progress before an idle agent counts as asleep (60 to 86400).minimum 0
graceintegerSeconds to wait after a wake or resume before judging again (60 to 86400).minimum 0
unknown_afterintegerSeconds in the unknown state before the person gets a notice (60 to 86400).minimum 0
max_attemptsintegerWakes and resumes in a row without progress before escalating (1 to 10).minimum 0
max_actionsintegerWakes and resumes of an agent in all before escalating for good (1 to 50).minimum 0
budget_centsintegerSpending in cents at which no more actions are taken.minimum 0
no_budgetbooleanRemove the budget.
resumebooleanResume the saved session of an agent whose process is gone.
acknowledgearray of stringAgent ids whose escalation the person acknowledges.default []
dry_runbooleanOnly 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.

Terminal window
ferris-idea call ~/my-project agent_watch_configure
Input 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"
]
}
}
}