toggle_agent_maintenance
Enable or disable maintenance mode for an agent.
Enable or disable maintenance mode for an agent.
Destructive · Writes data · Idempotent · Calls external systems. This tool can modify or delete data. Review the arguments before letting an agent call it.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
agent | string | Yes | Agent hostname or UUID (from list_agents) |
confirm | boolean | Yes | Must be true to execute. Without confirm=true, returns a preview. |
maintenance | boolean | Yes | true to enable maintenance, false to disable |
Example arguments
Illustrative arguments an agent supplies when calling this tool:
{
"agent": "string",
"maintenance": false,
"confirm": false
}
Description
Works for all agent types.
Requires confirm=true to execute. Without it, returns a preview of the change.
Maintenance mode prevents the agent from running tests. Identify the agent with either of its identifiers — the hostname list_agents shows, or its UUID.
Related
What's next?
Last updated on