delete_schedule
Delete a non-running UniFi schedule by providing its ID and confirm=true to complete removal. Use when a schedule is no longer needed.
Instructions
Delete a non-running schedule. Requires confirm=true.
Mutating operation: removes the identified schedule from the store. Returns success=false unless confirm=true. Use create_interval_schedule to add one, or set_schedule_enabled to pause instead of delete.
Args: schedule_id: Identifier of the schedule to delete. confirm: Must be True to delete 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>"
},
"name": "delete_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be True to delete the schedule; without it the call is a no-op. Defaults to False. | |
| schedule_id | Yes | Identifier of the schedule to delete. |