Update a playlist
update_playlistUpdate a playlist by renaming it, changing its description, or replacing/appending tracks. Use replace mode to refresh a rolling playlist in place.
Instructions
Rename a playlist, change its description, and/or replace or append its tracks. Replacing is the normal way to refresh a rolling playlist in place.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | How to apply track_ids. Default 'replace'. | |
| name | No | Existing playlist name, if not passing an id. | |
| public | No | ||
| comment | No | ||
| new_name | No | ||
| track_ids | No | ||
| playlist_id | No |