play_spotify
Play a Spotify track, album, or playlist in a Sonos room using a Spotify URI or open.spotify.com link, keeping the existing queue and inserting the item after the current track.
Instructions
Play a Spotify track, album or playlist in a Sonos room now, through the Spotify account linked in the Sonos app. Pass a spotify: URI (spotify:playlist:) or an open.spotify.com link. If the room is grouped, the whole group plays it. The existing queue is kept; the new item is inserted after the current track.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"room": "<room>",
"spotify": "<spotify>"
},
"name": "play_spotify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | Yes | Room name as shown in the Sonos app; a unique partial name also works | |
| spotify | Yes | spotify:track|album|playlist:<id> or an open.spotify.com link |