playlist_rotate
Reorder a Spotify playlist by rotating tracks N positions: positive shifts early tracks to the end, negative brings later tracks to the front, with wrap-around.
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 |