remove_tracks_from_playlist
Remove specific tracks from a TIDAL playlist by track IDs or 0-based position indices, so users can delete unwanted songs and confirm how many were removed.
Instructions
Remove tracks from a TIDAL playlist by track IDs or position indices.
USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Remove this song from my playlist"
- "Delete tracks from [playlist name]"
- "Take out these songs from the playlist"
- Any request to remove songs/tracks from a playlist
This function removes specific tracks from a user's TIDAL playlist. You can
remove tracks either by their TIDAL IDs or by their position in the playlist
(0-based index).
When processing the results of this tool:
1. Confirm how many tracks were removed successfully
2. Provide clear feedback about what was removed
3. If using indices, remind the user they are 0-based (first track = index 0)
Args:
playlist_id: The TIDAL ID of the playlist (required)
track_ids: A list of TIDAL track IDs to remove (use this OR indices)
indices: A list of track positions (0-based) to remove (use this OR track_ids)
Returns:
A dictionary with "status", "tracks_removed". Returns an "error" key on failure.
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": "remove_tracks_from_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indices | No | ||
| track_ids | No | ||
| playlist_id | Yes |