Sonos MCP Server

by WinstonFassett
Verified

play_index

Play a specific track from the queue on a Sonos device by specifying its index. Optionally, select the device to play on; defaults to the current device. Returns the device's updated state, including volume, track info, and playback status.

Instructions

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

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

Returns: Dict[str, Any]: The device's state after playing the specified track, including name, volume, state, and track info.

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": "play_indexArguments", "type": "object" }

You must be authenticated.

Other Tools from Sonos MCP Server

Related Tools

  • @WinstonFassett/sonos-mcp-server
  • @WinstonFassett/sonos-mcp-server
  • @WinstonFassett/sonos-mcp-server
  • @WinstonFassett/sonos-mcp-server
  • @WinstonFassett/sonos-mcp-server
ID: mjamhjygzg