play_on
Play Spotify tracks, albums, playlists, or search results on a specified device by matching device name or ID. Resolves device automatically and supports options like volume, shuffle, and start position.
Instructions
Play a context/uris/search query on a named device (resolves device name → id via GET /me/player/devices, then PUT /me/player/play). 🟡 (1 read + 1 write; +1 if volume/shuffle). Supports device name substring or exact id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | No | Array of track/episode URIs | |
| query | No | Search query to play (tracks) — alternatives: context_uri or uris | |
| device | Yes | Device name substring (case-insensitive) or exact device id | |
| volume | No | Set volume (0-100) before play | |
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| shuffle | No | Set shuffle before play | |
| context_uri | No | Spotify context URI (playlist/album/artist URI) | |
| position_ms | No | Start position in ms | |
| search_type | No | When query mode: type to search (default track) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |