Sonos MCP Server

by WinstonFassett
Verified

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

ID: mjamhjygzg