extract_playlist_range
Create a new playlist from a positional slice of an existing playlist. Use dry run to preview the extract plan, then commit to apply and get the original-to-new position map.
Instructions
Extract a positional range of a playlist (0-based start, EXCLUSIVE end; negative values count from the end) into a NEW playlist, reporting the original→new position map — dry_run defaults to TRUE. Quota: 🟢 GET + create + chunked adds when committing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | 0-based EXCLUSIVE end; negative = from end. Default: all items | |
| name | Yes | Name for the new extract playlist | |
| start | No | 0-based inclusive start; negative = from end. Default 0 | |
| public | No | Public visibility for a newly created playlist. Default: private | |
| dry_run | No | Preview only: perform the read side and return a PLAN without changing anything. Pass false to commit. Default true | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| playlist_id | Yes | Source playlist (ID or spotify:playlist: URI) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |