add_tracks_to_playlist
Adds multiple tracks to a Spotify playlist using track URIs. Automatically batches requests to comply with Spotify's 100-item limit.
Instructions
Add tracks to an existing playlist.
Handles batching automatically (Spotify max 100 per request).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"playlist_id": "<playlist_id>",
"track_uris": "<track_uris>"
},
"name": "add_tracks_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | Playlist ID (not URI) | |
| track_uris | Yes | List of Spotify track URIs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||