Create a maintenance window
create_maintenance_windowSchedule a maintenance window for monitors of the project, shown right away on the linked status pages. It starts at starts_at and ends at ends_at on its own, and its monitoring_mode sets what happens to the monitors meanwhile: pause pauses them, mute keeps checking them without incident alerts, normal only announces the maintenance.
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": {
"project_id": "<project_id>",
"title": "<title>",
"monitoring_mode": "<monitoring_mode>",
"starts_at": "<starts_at>",
"ends_at": "<ends_at>",
"monitors": "<monitors>"
},
"name": "create_maintenance_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Resource tags, made of lowercase letters, numbers, `.`, `_`, `:` and `-`. An organization can have up to 200 tags. | |
| title | Yes | Maintenance window title | |
| ends_at | Yes | Date and time when the maintenance window ends, with minute precision (seconds must be `00`). Must be after `starts_at` and within the next year. | |
| monitors | Yes | List of monitor IDs linked to the maintenance window | |
| starts_at | Yes | Date and time when the maintenance window starts, with minute precision (seconds must be `00`). Must be within the next year. | |
| project_id | Yes | ID of the project to act on, see whoami | |
| description | No | Description of the maintenance window | |
| status_pages | No | List of status page IDs linked to the maintenance window | |
| monitoring_mode | Yes | Monitoring mode during maintenance |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Maintenance window ID | |
| tags | No | Resource tags, made of lowercase letters, numbers, `.`, `_`, `:` and `-`. An organization can have up to 200 tags. | |
| state | No | Maintenance window state | |
| title | No | Maintenance window title | |
| ends_at | No | Date and time when the maintenance window ends, with minute precision (seconds must be `00`). Must be after `starts_at` and within the next year. | |
| monitors | No | List of monitor IDs linked to the maintenance window | |
| starts_at | No | Date and time when the maintenance window starts, with minute precision (seconds must be `00`). Must be within the next year. | |
| created_at | No | Date of creation for the entity | |
| project_id | No | Parent project ID | |
| updated_at | No | Date of last update for the entity | |
| description | No | Description of the maintenance window | |
| status_pages | No | List of status page IDs linked to the maintenance window | |
| monitoring_mode | No | Monitoring mode during maintenance |