save_queue_as_playlist
Capture the current playback queue into a durable Spotify playlist, either as a new playlist or appended to an existing one, preserving order.
Instructions
Capture the current playback queue as a durable playlist. Reads GET /me/player/queue, creates (or appends to) a playlist, adds URIs in batches of 100 preserving order. Handles mixed track/episode URIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new playlist (required when creating; omit when target_playlist_id is given) | |
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| description | No | Playlist description (when creating a new playlist) | |
| include_current | No | Include the currently-playing track/episode as the first item (default true) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |
| include_episodes | No | Include episodes in the saved playlist (default true — set false for tracks only) | |
| target_playlist_id | No | Existing playlist ID to append to (alternative to name — when given, URIs are appended to this playlist) |