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.
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": {
"uris": "<uris>"
},
"name": "save_to_library"
}
}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 |