set_schedule_enabled
Enable or pause a UniFi schedule by ID. Set enabled to true to run on interval or false to pause; confirm=true applies the change.
Instructions
Enable or pause a schedule. Requires confirm=true.
Mutating operation: flips the enabled flag on the identified schedule and persists it. Returns success=false unless confirm=true. Use create_interval_schedule to add, or delete_schedule to remove.
Args: schedule_id: Identifier of the schedule to modify. enabled: True to enable (run on interval) or False to pause it. confirm: Must be True to change the schedule; without it the call is a no-op. Defaults to False.
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": {
"schedule_id": "<schedule_id>",
"enabled": "<enabled>"
},
"name": "set_schedule_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be True to change the schedule; without it the call is a no-op. Defaults to False. | |
| enabled | Yes | True to enable (run on interval) or False to pause it. | |
| schedule_id | Yes | Identifier of the schedule to modify. |