saveOrRemoveAlbumForUser
Manage Spotify albums in the user's "Your Music" library by saving or removing up to 20 album IDs at a time. Specify the action (save/remove) to update the library directly.
Instructions
Save or remove albums from the user's "Your Music" library
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Action to perform: save or remove albums | |
albumIds | Yes | Array of Spotify album IDs (max 20) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"action": {
"description": "Action to perform: save or remove albums",
"enum": [
"save",
"remove"
],
"type": "string"
},
"albumIds": {
"description": "Array of Spotify album IDs (max 20)",
"items": {
"type": "string"
},
"maxItems": 20,
"type": "array"
}
},
"required": [
"albumIds",
"action"
],
"type": "object"
}