batch_add_to_playlist
Add tracks from albums, artists, or playlists to a target playlist in one batch. Optionally deduplicates against existing items and previews changes with dry-run.
Instructions
Add tracks from multiple source URIs (tracks, albums, artists, playlists) to a target playlist in one call. Dedupes within the batch and optionally against the existing playlist. Batches writes in groups of 100. Dry-run previews without writing. Elicitation for 100+ tracks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dedupe | No | Deduplicate (within batch and against target). Default: true | |
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| source_uris | Yes | Source URIs: spotify:track:, spotify:album:, spotify:artist:, spotify:playlist: | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |
| target_playlist_id | Yes | Target playlist ID or spotify:playlist: URI |