save_to_library
Save up to 40 Spotify items (tracks, albums, episodes, shows, audiobooks, users, playlists) to a user's library. Preview by default; set dry_run=false to commit.
Instructions
Preferred. Accepts the widest URI mix (track, album, episode, show, audiobook, user, playlist) in one request. Save one or more items to the user's library via Spotify's unified library endpoint. Max 40. PREVIEWS BY DEFAULT — pass dry_run=false to commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | Yes | Spotify URIs to save (e.g. ["spotify:track:abc", "spotify:user:xyz"]) | |
| dry_run | No | Preview only: perform the read side and return a PLAN without changing anything. Default true — pass dry_run=false to commit. | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |