remove_playlist_range
Remove a selected range of tracks from a Spotify playlist by position, with local backup and dry-run preview to validate before saving changes.
Instructions
Delete a positional range of a playlist (0-based start, EXCLUSIVE end; negative values count from the end): backs up the current items to a local file first, then removes by positions + uris. dry_run defaults to TRUE. Quota: 🟢 GET + chunked deletes when committing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | 0-based EXCLUSIVE end; negative = from end. Default: all items | |
| start | No | 0-based inclusive start; negative = from end. Default 0 | |
| dry_run | No | Preview only: perform the read side and return a PLAN without changing anything. Pass false to commit. Default true | |
| playlist_id | Yes | Playlist to trim (ID or spotify:playlist: URI) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |