sonos_get_queue
Retrieve the current playback queue and track information from a Sonos device. Supports pagination for large queues.
Instructions
Retrieve the current playback queue with track information. Supports pagination for large queues.
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>"
},
"name": "sonos_get_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of tracks to retrieve | |
| deviceId | Yes | Room name, UUID, or IP address | |
| startIndex | No | Starting index for pagination (0-based) |