sonos_set_sleep_timer
Set a sleep timer on your Sonos device to stop playback after a specified duration. Enter the time in HH:MM:SS format (e.g., 00:30:00 for 30 minutes).
Instructions
Set a sleep timer to automatically stop playback after the specified duration. Format: HH:MM:SS (e.g., "00:30:00" for 30 minutes).
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>",
"duration": "<duration>"
},
"name": "sonos_set_sleep_timer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | Room name, UUID, or IP address | |
| duration | Yes | Duration in HH:MM:SS format (e.g., "00:30:00" for 30 minutes) |