Update Spotify Playlist
update_spotify_playlistModify your own Spotify playlist by removing, appending, or reordering tracks in one call; confirm with the user before changing their account.
Instructions
Change one of the user's own playlists: remove tracks, append tracks (ones already in it are skipped), and/or set a completely new order, in that sequence. This changes the user's account: confirm with the user first.
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": {
"playlist_id": "<playlist_id>"
},
"name": "update_spotify_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Tracks to append. Spotify track IDs, URLs or URIs (use `id` from search_track or build_mood_playlist). Song names are not accepted here. | |
| remove | No | Tracks to remove (every occurrence). Spotify track IDs, URLs or URIs (use `id` from search_track or build_mood_playlist). Song names are not accepted here. | |
| reorder | No | The complete new order: every track ID the playlist will contain after add/remove, each exactly once. Get the current list from get_playlist_tracks. | |
| playlist_id | Yes | Spotify playlist ID, URL or URI (use `id` from get_my_playlists). |