delete_playlist
Delete a smartlist and return its id, name, and kind. For an ordinary playlist, set allow_playlist=true to permanently delete; folders are never deleted.
Instructions
Delete a smartlist and return {id, name, kind}. Folders are never deleted (the delete would cascade). An ordinary playlist is deleted only with allow_playlist=True; there is no undo.
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 | ||
| allow_playlist | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||