Delete playlist
delete_playlistDelete a playlist while keeping its media in the library. Call once to receive a confirmation token, then call again with the token to complete deletion.
Instructions
Deletes a playlist. The media stays in the library. Asks a person first; where the client cannot show a dialog, call once to receive a token and again with it.
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": "delete_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | Playlist id, as returned by list_playlists | |
| confirm_token | No | Token from the first call of this tool |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. | |
| deleted_playlist_id | Yes |