add_to_playlist
Adds tracks or episodes to a Spotify playlist, up to 100 URIs per call, with optional position, duplicate checks, and dry-run preview.
Instructions
Add tracks or episodes to a playlist. Max 100 URIs per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | Yes | Track or episode URIs to add | |
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| position | No | Insert at this index; appends if omitted. 0-based index into the playlist's current item order (0 = the first item). | |
| playlist_id | Yes | Playlist ID | |
| check_duplicates | No | Skip URIs that are already in the playlist instead of appending them (default: false) |