interleave_playlists_plan
Combine 2-10 playlists into a round-robin or chunked sequence. Preview the plan read-only, or atomically overwrite a target playlist to apply the interleaved mix.
Instructions
Plan (and optionally commit) interleaving 2–10 playlists — round-robin one track each or in N-track chunks. Without a target it returns the interleaved PLAN read-only; with target_playlist_id and dry_run=false it atomically overwrites the target. Quota: 🟢 N GETs + 1 PUT when committing.
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 | |
| strategy | No | round_robin = 1 track per playlist per pass; chunk = N per pass. Default round_robin | |
| chunk_size | No | chunk strategy: tracks per playlist per pass (1–20). Default 3 | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| playlist_ids | Yes | Playlists to interleave (2–10), in round order | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |
| target_playlist_id | No | Existing playlist (ID or URI) to atomically overwrite with the interleave. Omit = read-only plan |