Add to a playlist
add_to_playlistAppends music to an existing editable playlist from a plain-language query, artist, genre, album ID, or ordered track IDs.
Instructions
Add to the end of one of the person's playlists what play would take (plain words, an album_id, track_ids, a genre or an artist).
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>"
},
"name": "add_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| genre | No | A genre as genres lists it. | |
| query | No | What, in plain words ("irish trad", "the album I got yesterday"). | |
| artist | No | An artist as a reply named them. | |
| album_id | No | An album_id from another reply. | |
| track_ids | No | Track ids from other replies, in the order to use them. | |
| playlist_id | Yes | The playlist, from playlists (an editable one). |