Add tracks to a playlist
add_tracksAppend or insert multiple Spotify tracks into a playlist using URIs from search. Handles batching automatically to add all tracks in one request.
Instructions
Append tracks to a playlist (or insert at a position). Pass as many URIs as you like — they are batched automatically. Get URIs from search_tracks; do not invent them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | Yes | Spotify track URIs, e.g. spotify:track:4cOdK2wGLETKBW3PvgPWqT | |
| position | No | 0-based insert position. Omit to append to the end. | |
| playlist_id | Yes | Playlist ID (the part after /playlist/ in a Spotify URL) |