saveOrRemoveAlbumForUser
Manage a user's Spotify album library by saving albums to or removing them from 'Your Music' with album IDs and an action parameter.
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 40) |