Create a Cronitor maintenance window
create_maintenance_windowSchedule a maintenance window, matching cronitor maintenance create.
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>",
"start": "<start>",
"end": "<end>"
},
"name": "create_maintenance_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ISO-8601 end time. | |
| name | Yes | Maintenance-window name. | |
| start | Yes | ISO-8601 start time. | |
| groups | No | Monitor-group keys affected by the maintenance window. | |
| monitors | No | Individual monitor keys affected by the maintenance window. | |
| description | No | ||
| environment | No | ||
| statuspages | No | Status-page keys affected by the maintenance window. | |
| affects_all_monitors | No | Include every monitor in the account. | |
| affects_statuspage_components | No | Include monitors represented on selected status pages. |