create_maintenance_window
Schedule a maintenance window and optionally assign checks or check groups in the same call. Set a one-off or recurring period to suppress alerts during planned work.
Instructions
Schedule a new maintenance window. Optionally attach checks in the same call by passing checkUids — the underlying service does this in two steps but the tool handles it for you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endAt | Yes | RFC3339 end timestamp (required), e.g. "2026-05-03T23:00:00Z". Must be later than startAt. | |
| title | Yes | Human-readable title (required), e.g. "DB upgrade". | |
| startAt | Yes | RFC3339 start timestamp (required), e.g. "2026-05-03T22:00:00Z". Must be earlier than endAt. | |
| checkUids | No | Optional list of check UIDs to apply maintenance to in one shot. Example: ["uid1","uid2"]. Pass an empty array (or omit) for no checks. | |
| recurrence | No | One of "none", "daily", "weekly", or "monthly". The cadence is anchored to startAt: "daily" repeats startAt's time-of-day every day; "weekly" repeats on startAt's weekday; "monthly" repeats on startAt's day-of-month (clamped to the last day of shorter months). Each occurrence lasts endAt - startAt. Omit (or "none") for a one-off window. iCalendar RRULE strings are NOT supported. | |
| description | No | Optional free-text description of the work. | |
| recurrenceEnd | No | RFC3339 timestamp at which a recurring window stops repeating. Only meaningful when recurrence is set. | |
| checkGroupUids | No | Optional list of check-group UIDs to apply maintenance to. Example: ["groupUid1"]. Pass an empty array (or omit) for no groups. |