library_to_playlist
Export saved Spotify tracks or albums' first tracks into a new playlist, preserving save order and applying an optional item cap.
Instructions
Export your saved tracks (or saved albums' first tracks) into a NEW playlist — sort by save order, cap at N, chunked adds. Quota: 🟡 getAllPages + create + chunked adds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Which saved shelf to export. Default tracks | |
| name | No | Playlist name. Default "Liked Songs export YYYY-MM-DD" | |
| limit | No | Max items to export. Default 500 | |
| order | No | Export order. Default added_asc | |
| public | No | Public visibility for a newly created playlist. Default: private | |
| dry_run | No | Preview only: perform the read side and return a PLAN without changing anything. Default true — pass false to commit. | |
| 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 |