create_maintenance_window
Schedule a maintenance window. duration_seconds is 60 through 7 days. Pass both the check (endpoint_ids) and its public component (status_components) so probes pause and the page shows Under maintenance. notify_subscribers defaults to false. Set it true only when the user asked to email subscribers. This can email subscribers, so run only when the user asked to schedule this window.
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>",
"starts_at": "<starts_at>",
"duration_seconds": "<duration_seconds>",
"timezone": "<timezone>"
},
"name": "create_maintenance_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| timezone | Yes | ||
| weekdays | No | ||
| starts_at | Yes | ||
| endpoint_ids | No | ||
| duration_seconds | Yes | ||
| status_components | No | ||
| notify_subscribers | No |