sonos_subscribe_events
Subscribe to real-time events from a Sonos device service to receive automatic notifications of state changes.
Instructions
Subscribe to real-time events from a Sonos device service to receive automatic notifications of state changes.
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>",
"service": "<service>"
},
"name": "sonos_subscribe_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Service name to subscribe to | |
| timeout | No | Subscription timeout in seconds (default: 1800 = 30 minutes) | |
| deviceId | Yes | Room name, UUID, or IP address |