Create a playlist
create_playlistCreate an empty playlist that belongs to the listener. Use it before add_to_playlist, which needs the new id. Returns ok with the playlist's id, name and cover colour, or ok false with the reason.
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": {
"name": "<name>"
},
"name": "create_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the playlist name, 1 to 100 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| playlist | No |