sonos_search_library
Search your Sonos music library by artist, album, track, or genre. Provide device ID, search term, and content type to get matching items.
Instructions
Search the music library by artist, album, track, or genre. Returns matching items.
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>",
"searchType": "<searchType>",
"searchTerm": "<searchTerm>"
},
"name": "sonos_search_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of items to return (default: 100) | |
| deviceId | Yes | Room name, UUID, or IP address | |
| searchTerm | Yes | Search term | |
| searchType | Yes | Type of content to search | |
| startIndex | No | Starting index for pagination (default: 0) |