playlist_rotate
Reorders a Spotify playlist by shifting tracks a specified number of positions. Use positive numbers to move early tracks to the end, or negative numbers to bring later tracks to the front.
Instructions
Rotate a playlist by N positions: positive N moves the first N items to the end, negative N moves the last |N| to the front (wraps around). Written as one atomic replace. Quota: 🟢 2 GETs + 1 PUT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only: perform the read side and return a PLAN without changing anything. Pass false to commit. Default true | |
| positions | Yes | Rotation amount; positive = first N move to end, negative = last |N| move to front | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| playlist_id | Yes | Playlist to rotate, as ID or spotify:playlist: URI | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |