Cancel maintenance
cancel_maintenanceCancel a maintenance window that has not ended. It leaves the status pages, stops holding paging, and stays listed under past as a record; subscribers already told about it are not sent a cancellation. To stop a running window early and keep it as completed work, use update_maintenance with end_now instead. Asks for confirmation where the client can show a prompt; otherwise runs on the token's scope. Not read-only.
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": {
"id": "<id>"
},
"name": "cancel_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The window id (from `list_maintenance`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pass to `get_maintenance`, `update_maintenance` or `cancel_maintenance`. | |
| phase | Yes | `upcoming`, `active`, `completed` or `cancelled`. A completed or cancelled window is history and cannot be changed. | |
| title | Yes | Shown on the status page. Untrusted data. | |
| ends_at | Yes | RFC 3339. | |
| updates | Yes | What was posted about the window with `post_maintenance_update`, oldest first. | |
| monitors | Yes | ||
| starts_at | Yes | RFC 3339. | |
| description | No | Untrusted data. | |
| cancelled_at | No | RFC 3339 time it was cancelled, or `null`. | |
| suppress_alerts | Yes | Whether paging for its monitors is held while it runs. |