start_playback
Initiate music playback on Spotify by specifying tracks, albums, playlists, or artists. Use cases include smart space integration, voice commands, custom controllers, and mood-based playlists. Returns playback confirmation, track info, device details, and error status.
Instructions
Initiate music playback with specific tracks, albums, playlists, or artist collections.
šÆ USE CASES: ⢠Start playing music when users enter smart spaces ⢠Create voice-activated music requests ⢠Build custom music controllers and interfaces ⢠Implement mood-based automatic music selection ⢠Start themed playlists for events, workouts, or activities
š WHAT IT RETURNS: ⢠Confirmation of playback initiation ⢠Current track information and playback state ⢠Device information where playback started ⢠Error details if playback couldn't start ⢠Queue information showing what will play next
š EXAMPLES: ⢠"Play my Discover Weekly playlist" ⢠"Start playing the album 'Abbey Road'" ⢠"Play tracks by The Beatles on my laptop" ⢠"Begin playback of my liked songs"
šµ PLAYBACK OPTIONS: ⢠contextUri: Play entire albums, playlists, or artist catalogs ⢠trackUris: Play specific individual tracks in order ⢠deviceId: Choose which device should start playing ⢠Can resume from where you left off or start fresh
ā ļø REQUIREMENTS: ⢠Valid Spotify access token with user-modify-playback-state scope ⢠User must have an active Spotify device available ⢠Content must be available in user's market
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contextUri | No | ||
deviceId | No | Spotify device ID (optional, uses active device if not specified) | |
token | Yes | Spotify access token for authentication | |
trackUris | No |