One site's maintenance windows: on now, scheduled, and the last 30 days
sites_by_slug_maintenanceWraps GET /api/sites/{slug}/maintenance. One site's maintenance windows: on now, scheduled, and the last 30 days. Call this to see whether a site is in a maintenance window (its alerts held, its uptime not counting that time) and when the next one is. Windows are started from the dashboard or a deploy calling the site's maintenance URL (POST /start?minutes=30, POST /end), which the dashboard shows to admins.
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": {
"slug": "<slug>"
},
"name": "sites_by_slug_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | site slug, as in /api/sites |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| next_steps | No | calls that usually come next, each naming its tool |