Schedule a drafted maintenance window
schedule_maintenanceUse this when the user has approved a draft_maintenance draft. Schedules it as the dashboard's Maintenance page does: it shows on the status pages, and subscribers are emailed only if the draft said so. Returns the window and its id. Safe to repeat: the same draft id schedules once. Not for changing a window already scheduled: update_maintenance moves, extends, renames or ends it.
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": {
"draft_id": "<draft_id>",
"confirm": "<confirm>"
},
"name": "schedule_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | The plan's confirm sentence, exactly as returned; show it to the user first. | |
| draft_id | Yes | The draft's id from draft_maintenance (it starts with pl_). |