add_tracks_to_playlist
Add a list of Spotify song URIs to an existing playlist by playlist ID or URI, so you can build and extend playlists without manual track entry.
Instructions
Add a list of Spotify song URIs to an existing playlist.
Args: playlist_id: The Spotify ID or URI of the playlist track_uris: List of Spotify song URIs (e.g. ['spotify:track:...', ...])
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 |
|---|---|---|---|
| track_uris | Yes | ||
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |