add_to_playlist
Add a track to the current playlist by providing player ID and track ID. Extend the music queue with a single command.
Instructions
Add a track to the current 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": {
"playerId": "<playerId>",
"trackId": "<trackId>"
},
"name": "add_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playerId | Yes | Player ID to add track to | |
| trackId | Yes | Track ID to add |