List maintenance windows
list_maintenance_windowsLists all organization maintenance windows, enabled or not and in effect or not, so you can find a window ID or audit schedules before checking active silences.
Instructions
List every maintenance window of the organization, enabled or not, in effect or not. Each has id, name, enabled, scope (ORG or MONITOR), dtstart, duration_minutes, rrule, timezone, monitor_ids, created_at and plan_disabled_at (set when a plan drop switched the window off: it silences nothing). Use it to find a window's id. To learn whether alerts are silenced right now use list_active_maintenance; for a window's upcoming occurrences use get_maintenance_window. Returns a page: items plus total, page, size and pages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_maintenance_windows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Case-insensitive substring of the name, up to 255 characters. | |
| page | No | Page number, 1 or more; default 1. | |
| size | No | Rows per page, 1 to 100; default 25. Keep paging until you have seen total rows. | |
| sort | No | created_at (the default, newest first) or name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| size | Yes | ||
| items | Yes | ||
| pages | Yes | ||
| total | Yes |