play
Start or resume Spotify playback on a device. Play specific tracks, albums, or playlists, with optional seek position.
Instructions
Start or resume playback.
Args:
device_id: ID of the device to play on. Uses active device if omitted.
context_uri: Spotify URI of context (album, artist, playlist).
uris: List of Spotify track URIs to play. E.g. ["spotify:track:xxx"].
offset_position: Position in the context to start playback (0-based index).
position_ms: Position in milliseconds to seek to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | ||
| context_uri | No | ||
| uris | No | ||
| offset_position | No | ||
| position_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |