take_playlist_snapshot
Save a playlist's current tracks and metadata into a timestamped JSON snapshot file, enabling later diffing, restore, or audit; dry-run mode previews the snapshot without writing.
Instructions
Capture a live playlist’s items (uri, name, added_at) into a timestamped local JSON snapshot file; dry_run=true previews the walk and target filename without writing. Newest, transactional snapshot (swarm) — preferred over legacy snapshot_playlist. See also list_saved_snapshots, read_playlist_snapshot, diff_playlist_snapshots. Also covers: playlist snapshot (swarm). 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 |
|---|---|---|---|
| notes | No | Free-text note stored in the snapshot _meta block | |
| 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 | Yes | Playlist ID or spotify:playlist: URI to snapshot | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |