library_snapshot_diff
Compare two Spotify library or playlist snapshot JSON files to report added and removed counts and sample items. Runs locally without API calls.
Instructions
Diff two sidecar JSON files (library.json or playlists.json): added/removed counts + samples. Quota: local only (no API).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"before_path": "<before_path>",
"after_path": "<after_path>"
},
"name": "library_snapshot_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after_path | Yes | Path to after snapshot JSON | |
| before_path | Yes | Path to before snapshot JSON | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |