export_library_json
Export your full Spotify library (tracks, albums, shows, episodes, audiobooks) to local JSON or CSV files, with cap handling and truncation reporting.
Instructions
Export your full library (saved tracks, albums, shows, episodes, audiobooks) to a local directory as JSON or CSV sidecar files. Respects SPOTIFY_MCP_FETCH_ALL_CAP per type; when capped, reports cap_reached + truncated and a prose footer ("first N of … — raise SPOTIFY_MCP_FETCH_ALL_CAP").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: json (single file) or csv (one file per type) | json |
| output_dir | No | Local directory to write files into (default: ~/.spotify-mcp/portability) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |