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
Name | Required | Description | Default |
---|---|---|---|
index | Yes | ||
name | No |
Input Schema (JSON Schema)
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