ampache_playlists
Manage Ampache playlists and smartlists: list, view songs, create, edit, add or remove tracks, generate, hash, and delete—writes run only when confirmed.
Instructions
Playlists and smartlists: list, get, songs, create, edit, add, remove, generate, hash, and delete. Writes run only when confirm is true and AMPACHE_ALLOW_WRITES=true. List actions default to offset 0 and limit 25 (max 500). Actions: playlist, playlist_add, playlist_create, playlist_delete, playlist_edit, playlist_generate, playlist_hash, playlist_remove, playlist_remove_song, playlist_songs, playlists, smartlist, smartlist_delete, smartlist_songs, smartlists, user_playlists, user_smartlists.
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": {
"action": "<action>"
},
"name": "ampache_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| add | No | ||
| cond | No | ||
| flag | No | ||
| mode | No | ||
| name | No | ||
| song | No | ||
| sort | No | ||
| type | No | ||
| album | No | ||
| check | No | ||
| clear | No | ||
| exact | No | ||
| items | No | ||
| limit | No | ||
| owner | No | ||
| track | No | ||
| action | Yes | Ampache operation to call. | |
| artist | No | ||
| filter | No | ||
| format | No | ||
| offset | No | ||
| tracks | No | ||
| update | No | ||
| confirm | No | Boolean true runs the write when AMPACHE_ALLOW_WRITES is true. Omit it or pass false for a dry-run preview that sends nothing. The string true is rejected. | |
| include | No | ||
| show_dupes | No | ||
| hide_search | No |