Remove tracks from a playlist
remove_tracksRemove specified tracks from a Spotify playlist in one batch. Provide playlist ID and track URIs to clean duplicates or unwanted songs.
Instructions
Remove every occurrence of the given tracks from a playlist. Batched automatically. Call get_playlist first to confirm the exact URIs present.
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>",
"uris": "<uris>"
},
"name": "remove_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | Yes | Spotify track URIs, e.g. spotify:track:4cOdK2wGLETKBW3PvgPWqT | |
| playlist_id | Yes | Playlist ID (the part after /playlist/ in a Spotify URL) |