unsave_orphan_tracks
Identify saved tracks that belong to no playlist and remove them, cleaning up orphaned library entries. Preview with dry run before permanently unsaving.
Instructions
Find saved tracks that appear in no playlist (orphans) and optionally unsave them. Quota: 🟡 walks library + all playlists (capped). Destructive when dry_run=false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| scan_cap | No | Max saved tracks to scan (default fetchAllCap) | |
| max_remove | No | Max orphans to remove (default 50) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |