sonos_search_music_service
Search a specified music service on your Sonos system for tracks, albums, or stations. Provide device ID, service name, and query.
Instructions
Search for content within a music service. WARNING: Requires authentication for most services. Will return errors if the service requires DeviceLink or AppLink authentication and the user has not linked their account in the Sonos app. Prefer sonos_get_favorite_radio_stations for radio content.
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>",
"serviceName": "<serviceName>",
"query": "<query>"
},
"name": "sonos_search_music_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Maximum number of results to return | |
| query | Yes | Search query (e.g., "BBC Radio 1", "rock music", "jazz") | |
| deviceId | Yes | Device ID to use for searching | |
| startIndex | No | Starting index for pagination | |
| serviceName | Yes | Name of the music service to search (e.g., "Sonos Radio", "TuneIn") |