merge_playlists
Combine multiple Spotify playlists into one, removing duplicate tracks (first occurrence kept). Append to an existing playlist or create a new one from your sources.
Instructions
Merge multiple playlists into one. Deduplicates tracks across sources (first-seen order wins) and adds them in batches of 100. Pass target_playlist_id to append to an existing playlist (it is NOT cleared) or new_name to create a fresh playlist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | Visibility of a NEW playlist. Default: false | |
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| sources | Yes | Source playlists as IDs or spotify:playlist: URIs | |
| new_name | No | Name for a newly created target playlist | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |
| target_playlist_id | No | Existing playlist to APPEND into (never cleared), as ID or spotify:playlist: URI |