remove_duplicate_tracks
Remove duplicate tracks from a Spotify playlist, keeping the first occurrence. Returns a preview for safety; set confirm=True to execute removal.
Instructions
Remove duplicate tracks from a playlist, keeping the first occurrence.
For safety, returns a preview unless confirm=True.
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_duplicate_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | Playlist ID | |
| confirm | No | Set to True to actually remove duplicates |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||