add_playlist_items
Add tracks or episodes to a playlist using their Spotify URIs. Automatically chunks large lists to comply with Spotify's 100-URI limit, ensuring bulk additions work.
Instructions
Add tracks/episodes to a playlist by URI. Spotify accepts at most 100 URIs per request; this tool chunks automatically, so 250 tracks = 3 API calls under the hood (all covered by one confirmation). Append-only and does NOT deduplicate — check get_playlist_items first if duplicates matter. position (0-based) only guarantees exact placement for the first 100 URIs; any beyond that append at the end regardless of position. The preview shows the URIs verbatim: resolve them to human-readable names yourself first (e.g. via search_catalog) so you can show the user something readable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | Yes | ||
| position | No | ||
| playlist_id | Yes | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| result | No | ||
| status | Yes | ||
| preview | No | ||
| next_step | No | ||
| expires_at | No | ||
| confirm_token | No |