Skip to main content
Glama

Sonos MCP Server

remove_index_from_queue

Eliminate a specific track from a Sonos device queue by specifying its index. Updates the queue post-removal and handles errors for invalid indices.

Instructions

Remove a specific track from the queue on a Sonos device.

Args: index: The index of the track to remove. name: The name of the device to remove the track from. If None, uses the current device.

Returns: List[Dict[str, Any]]: The updated queue after removing the track.

Raises: ValueError: If the index is out of the queue's range.

Input Schema

NameRequiredDescriptionDefault
indexYes
nameNo

Input Schema (JSON Schema)

{ "properties": { "index": { "title": "Index", "type": "integer" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Name" } }, "required": [ "index" ], "title": "remove_index_from_queueArguments", "type": "object" }

You must be authenticated.

Other Tools from Sonos MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WinstonFassett/sonos-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server