add_to_playlist
Add tracks to a Spotify playlist by specifying playlist ID and track URIs. Supports optional insertion position for precise placement.
Instructions
Add one or more tracks to a playlist. Use track URIs from search results (e.g., 'spotify:track:...').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | Yes | List of Spotify track URIs to add (e.g., ['spotify:track:4iV5W9uYEdYUVa79Axb7Rh']) | |
| position | No | Position to insert tracks (0-based). Omit to append at end. | |
| playlistId | Yes | Playlist ID from get_playlists or create_playlist |