prune_old_snapshots
Delete old local Spotify playlist snapshots by keeping the newest N per playlist and optionally removing snapshots older than a cutoff, with dry-run preview to review deletions before committing.
Instructions
Delete old local snapshots, keeping the newest N per playlist and optionally dropping those older than a cutoff; dry_run=true (default) only reports what would go
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only: perform the read side and return a deterministic PLAN without writing/deleting anything. Default true — pass false to commit. | |
| playlist | No | Restrict pruning to this playlist (ID or URI) | |
| keep_last | No | Snapshots to KEEP per playlist (default 5) | |
| older_than_days | No | Additionally prune snapshots older than this many days | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |