Remove tracks from playlist
remove_tracks_from_playlistRemove one or more tracks from a playlist in a single write while preserving the order of remaining tracks. By default duplicates stay unchanged; enable all_copies to remove every copy.
Instructions
Remove one or more tracks from a playlist in a single write. Keeps the order of the rest. If a track appears more than once in the playlist, nothing is changed unless all_copies is true (then every copy is removed); to remove a single copy use remove_track_from_playlist with position.
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>",
"track_ids": "<track_ids>"
},
"name": "remove_tracks_from_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_ids | Yes | ||
| all_copies | No | Remove every copy of a track that appears more than once. Default false | |
| playlist_id | Yes |