snapshot_retention_plan
Preview which playlist snapshots a keep-last-N retention policy would keep or delete, with an optional age cutoff, and without deleting any data.
Instructions
Report which snapshots a keep-last-N (+ optional age cutoff) retention policy would keep or delete — never deletes anything Snapshot guide: take_playlist_snapshot (create), list_saved_snapshots (list), read_playlist_snapshot (read), diff_playlist_snapshots / snapshot_new_tracks / snapshot_removed_tracks (diff), restore_playlist_from_snapshot / restore_playlist_plan (restore).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist | No | Restrict the plan to this playlist (ID or URI) | |
| keep_last | No | Snapshots to KEEP per playlist (default 5) | |
| older_than_days | No | Also mark snapshots older than this many days for deletion | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |