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

FieldTypeRequiredDescription
agentstringYesAgent hostname or UUID (from list_agents)
confirmbooleanYesMust be true to execute. Without confirm=true, returns a preview.
maintenancebooleanYestrue 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.

What's next?

All MCP tools

Browse the full tool reference by category.

Connect a client

Point Claude, Cursor, or Claude Code at the server.

Last updated on