Create Policy Window
create_policy_windowCreate maintenance windows to prevent policy execution on specified groups during defined periods, with options for one-time or recurring schedules.
Instructions
Create a new maintenance/exclusion window that prevents policy execution on the specified groups during the defined periods. All fields are required. The 'rrule' field does NOT accept generic RFC 5545; the upstream validator enforces exactly two grammars (live-verified 2026-06-05). For recurrence=once: FREQ=DAILY;UNTIL=YYYYMMDDTHHMMSSZ (compact UNTIL, no COUNT). For recurrence=recurring: FREQ=YEARLY;BYMONTH=<1-12>;BYDAY=<+N weekday> only — no other FREQ values, no WEEKLY. status accepts active|inactive; recurrence accepts once|recurring (lowercase on input).
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": {
"window_type": "<window_type>",
"window_name": "<window_name>",
"window_description": "<window_description>",
"rrule": "<rrule>",
"duration_minutes": "<duration_minutes>",
"use_local_tz": "<use_local_tz>",
"recurrence": "<recurrence>",
"group_uuids": "<group_uuids>",
"dtstart": "<dtstart>",
"status": "<status>"
},
"name": "create_policy_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rrule | Yes | ||
| status | Yes | ||
| dtstart | Yes | ||
| org_uuid | No | ||
| recurrence | Yes | ||
| request_id | No | ||
| group_uuids | Yes | ||
| window_name | Yes | ||
| window_type | Yes | ||
| use_local_tz | Yes | ||
| duration_minutes | Yes | ||
| window_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||