restore_playlist_from_snapshot
Restore a live Spotify playlist to match a saved snapshot by adding missing tracks and removing extras, with a dry-run preview of the plan by default.
Instructions
Make a live playlist match a snapshot (add missing, remove extra tracks); dry_run=true (default) returns the deterministic PLAN without touching Spotify 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 |
|---|---|---|---|
| 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 | Target playlist (default: the snapshot’s own playlist_id) | |
| snapshot | Yes | Snapshot to restore from (id, filename, or path) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |