---
title: "toggle_monitors"
description: "Bulk activate or deactivate multiple monitors."
sidebarTitle: "toggle_monitors"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

Bulk activate or deactivate multiple monitors.

<Warning>
  **Destructive · Writes data · Idempotent · Calls external systems.** This tool can modify or delete data. Review the arguments before letting an agent call it.
</Warning>

## Parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `active` | boolean | Yes | true to activate, false to deactivate |
| `monitor_ids` | string | Yes | Comma-separated monitor IDs to toggle |

## Example arguments

Illustrative arguments an agent supplies when calling this tool:

```json
{
  "monitor_ids": "string",
  "active": false
}
```

## Description

```text
Use list_monitors to find IDs. If this fails with HTTP 400, one or more monitor IDs may be invalid or deleted — verify with get_monitor. For a single monitor, edit_monitor active= also works; this is the bulk path.
```

## Related

- [`list_monitors`](/mcp/tools/discovery/list_monitors)
- [`get_monitor`](/mcp/tools/monitor-management/get_monitor)
- [`edit_monitor`](/mcp/tools/monitor-management/edit_monitor)

## What's next?

<Columns cols={2}>
  <Card title="All MCP tools" icon="robot" href="/mcp/tools/overview">
    Browse the full tool reference by category.
  </Card>
  <Card title="Connect a client" icon="plug" href="/mcp/connect">
    Point Claude, Cursor, or Claude Code at the server.
  </Card>
</Columns>
