apply_snapshot_changes
Replay playlist changes between two snapshots by applying the merge plan to the live playlist; use dry-run to preview before committing.
Instructions
Execute a merge plan on the live playlist (replay the changes between two snapshots); dry_run=true (default) only returns the plan 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 |
|---|---|---|---|
| mode | No | Which changes to apply (default both) | |
| 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 | Live playlist to change (default: the snapshots’ playlist_id) | |
| to_snapshot | Yes | Newer snapshot — the target state | |
| from_snapshot | Yes | Older snapshot — the baseline | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |