playlist_exclude_artists
Removes every track by specified artist IDs from a playlist, letting you purge unwanted artists in one operation. Preview with a dry run before committing changes.
Instructions
Remove every track by one or more artist IDs from a playlist — the "purge the artist" one-shot. Quota: 🟢 GET + chunked deletes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only: perform the read side and return a PLAN without changing anything. Default true — pass false to commit. | |
| artist_ids | Yes | Artist IDs/URIs to exclude (1–20) | |
| playlist_id | Yes | Playlist to purge (ID or spotify:playlist: URI) | |
| dedupe_scope | No | playlist (default): only drop uris duplicated INSIDE this playlist; library: also drop candidates that are saved in /me/tracks; none: drop every candidate | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |