remove_playlist_items
Remove specific tracks or episodes from a Spotify playlist by providing playlist ID and URIs. Handles bulk removal in chunks of 100 items per request.
Instructions
Remove tracks or episodes from a playlist. Auto-chunks at 100 items per request.
Args:
playlist_id: The Spotify ID of the playlist.
uris: List of Spotify URIs to remove (e.g. ["spotify:track:xxx"]).
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_playlist_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | Yes | ||
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |