Start a maintenance window on a site now
sites_by_slug_maintenance_startWraps POST /api/sites/{slug}/maintenance/start. Start a maintenance window on a site now. Call this before a deploy: alerts for the site are held (checks still run) until the window ends, after minutes (default 30, at most 24 hours) or when you end it. Starting again replaces the open window. It acts for the whole team. Needs a Member or Admin key, on a team with 10 sites or more.
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_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | site slug, as in /api/sites | |
| reason | No | the team's own words; never public | |
| minutes | No | how long, default 30 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| next_steps | No | calls that usually come next, each naming its tool |