update_schedule
Modify an existing device schedule slot, changing only the fields you provide.
Instructions
Update an existing schedule slot, only the fields provided are changed.
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": {
"deviceId": "<deviceId>",
"slot": "<slot>"
},
"name": "update_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| onTs | No | ||
| slot | Yes | Which schedule slot (0-4) to update. | |
| label | No | ||
| offTs | No | ||
| enabled | No | ||
| deviceId | Yes | The device's public id, e.g. dev_a1b2c3. | |
| onCommand | No | ||
| offCommand | No |