saveOrRemoveAlbumForUser
Save albums to or remove them from a Spotify user's Your Music library. Provide an action and up to 20 album IDs.
Instructions
Save or remove albums from the user's "Your Music" library
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": {
"albumIds": "<albumIds>",
"action": "<action>"
},
"name": "saveOrRemoveAlbumForUser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: save or remove albums | |
| albumIds | Yes | Array of Spotify album IDs (max 20) |