ampache_library
Browse, search, and inspect Ampache artists, albums, songs, genres, labels, licenses, folders, and stats; fetch song stream URLs without media downloads. Writes require confirm=true and writes enabled.
Instructions
Artists, albums, songs, genres, labels, licenses, search, advanced search, stats, folders, and song stream URLs. Media bytes are never downloaded. Writes run only when confirm is true and AMPACHE_ALLOW_WRITES=true. List actions default to offset 0 and limit 25 (max 500). Actions: advanced_search, album, album_disk, album_disk_songs, album_disks, album_songs, albums, artist, artist_albums, artist_songs, artists, folders, genre, genre_albums, genre_artists, genre_songs, genres, get_similar, label, label_artists, labels, license, license_songs, licenses, search, search_group, search_rules, song, song_tags, songs, stats, url_to_song.
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_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| url | No | ||
| cond | No | ||
| sort | No | ||
| type | No | ||
| exact | No | ||
| limit | No | ||
| rules | No | ||
| top50 | No | ||
| action | Yes | Ampache operation to call. | |
| filter | No | ||
| offset | No | ||
| random | No | ||
| rule_1 | No | ||
| update | No | ||
| catalog | 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 | ||
| user_id | No | ||
| operator | No | ||
| username | No | ||
| album_artist | No | ||
| rule_1_input | No | ||
| rule_1_operator | No |