Add tracks to a playlist
playlist_add_tracksAppend published tracks to one of the person's playlists in the given order, in one step. Tracks already in it are skipped, unknown or unpublished ones are counted as unavailable.
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": "<playlist>",
"tracks": "<tracks>"
},
"name": "playlist_add_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | Yes | Track IDs | |
| playlist | Yes | Playlist ID or URL |