sonos_create_alarm
Create an alarm on a Sonos device with custom time, recurrence, duration, volume, and enabled state. Returns the alarm ID.
Instructions
Create a new alarm with specified time, days, music source, and settings. Returns the alarm ID.
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>",
"startTime": "<startTime>",
"recurrence": "<recurrence>"
},
"name": "sonos_create_alarm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | No | Alarm volume (0-100, default: 25) | |
| enabled | No | Enable alarm (default: true) | |
| deviceId | Yes | Room name, UUID, or IP address | |
| duration | No | Duration in HH:MM:SS (default: 02:00:00) | 02:00:00 |
| startTime | Yes | Start time in HH:MM:SS format (e.g., "07:00:00") | |
| recurrence | Yes | DAILY, ONCE, WEEKDAYS, WEEKENDS, or ON_0123456 (0=Sunday) |