dedupe_playlist
Removes duplicate songs from a Spotify playlist while keeping the first occurrence of each track. Use it to clean up repeated entries before playback or sharing.
Instructions
Removes all duplicate songs from a Spotify playlist, keeping only the first occurrence of each song.
Args: playlist_id: The Spotify ID, URI, or URL of the playlist to deduplicate.
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": "dedupe_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |