playlist_difference_plan
Create a plan of tracks present in a base playlist but absent from up to five others; preview the difference read-only, or commit it to a target playlist.
Instructions
Plan (and optionally commit) the set difference "base minus subtrahends": keep the base playlist's tracks that appear in NONE of up to 5 others. Without a target it returns the PLAN read-only; with target_playlist_id and dry_run=false it atomically overwrites the target. Quota: 🟢 ≤7 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 | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |
| base_playlist_id | Yes | Base playlist (ID or URI) whose survivors are kept | |
| target_playlist_id | No | Existing playlist (ID or URI) to atomically overwrite with the difference. Omit = read-only plan | |
| subtract_playlist_ids | Yes | Playlists whose tracks are removed from the base (1–5) |