removeTracksFromPlaylist
Remove specific tracks from a Spotify playlist by supplying the playlist ID and track IDs; optionally target a snapshot ID and remove up to 100 tracks per request.
Instructions
Remove one or more tracks from a Spotify playlist (max 100 tracks per request)
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": {
"playlistId": "<playlistId>",
"trackIds": "<trackIds>"
},
"name": "removeTracksFromPlaylist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trackIds | Yes | Array of Spotify track IDs to remove (max 100) | |
| playlistId | Yes | The Spotify ID of the playlist | |
| snapshotId | No | The playlist snapshot ID to target a specific version (optional) |