export_all_playlists
Export all Spotify playlists with track items to JSON or CSV files for backup or migration. Choose owned or all playlists and specify output directory.
Instructions
Export every owned (or all) playlist with metadata + items to a sidecar file. Quota: GET /me/playlists + N×GET /playlists/{id}/items; capped by fetchAllCap.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_all_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | owned = only playlists you own | all |
| format | No | Output format | json |
| output_dir | No | Local directory to write into, confined to the output root (default ~/.spotify-mcp/portability, set SPOTIFY_MCP_PORTABILITY_DIR to move it) | |
| include_items | No | Include track items per playlist | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |