Schedule a maintenance window
create_maintenance_windowSchedules a maintenance window (write scope): by default alerts are suppressed, the covered monitors show as under maintenance and the window's downtime is excluded from uptime; each can be switched off. One-time unless recurrence is set. Times are ISO 8601; duration in minutes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"starts_at": "<starts_at>",
"duration_minutes": "<duration_minutes>"
},
"name": "create_maintenance_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Window name | |
| timezone | No | IANA timezone, default UTC | |
| starts_at | Yes | ISO 8601 start, e.g. 2026-08-30T22:00:00Z | |
| recurrence | No | Repeat the window (default once); daily/weekly/monthly repeat at the start's local time in timezone | |
| description | No | Free-text note, up to 1000 characters | |
| monitor_ids | No | Monitors the window covers | |
| monitor_tags | No | Tag-based targeting — auto-includes future matching monitors | |
| suppress_alerts | No | Hold notifications during the window (default true) | |
| duration_minutes | Yes | 5 minutes to 30 days | |
| exclude_from_sla | No | Leave the window's downtime out of uptime and SLA figures (default true) | |
| mark_maintenance | No | Show the covered monitors as under maintenance (default true) | |
| recurrence_until | No | ISO 8601 — no occurrence starts after this time |