replace_playlist_items
Replace all items in a Spotify playlist with a new ordered list of track or episode URIs, overwriting existing content. Handles lists over 100 items via internal chunking and offers dry-run preview.
Instructions
Replace ALL items in a playlist with the supplied URIs, overwriting the current contents. Lists longer than 100 URIs are sent in chunks internally (replace + appends).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | Yes | Complete ordered list of track or episode URIs the playlist should contain | |
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| playlist_id | Yes | Playlist ID |