add_tracks_to_playlist
Add one or more Spotify tracks to a playlist by ID or URI, with an optional position to control where the tracks are inserted.
Instructions
Add one or more tracks to a playlist
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": {
"id": "<id>",
"uris": "<uris>"
},
"name": "add_tracks_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The Spotify ID or URI of the playlist | |
| uris | Yes | Array of Spotify track URIs to add | |
| position | No | Optional. The position to insert the tracks (zero-based) |