get_queue_length
Retrieve the current queue length of a specified Sonos device or the active device if none is provided. Use this tool to monitor and manage playback queues efficiently.
Instructions
Retrieve the queue length for a Sonos device.
Args: name: The name of the device to retrieve the queue length from. If None, uses the current device.
Returns: int: The length of the queue.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | No |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
}
},
"title": "get_queue_lengthArguments",
"type": "object"
}