Delete collection
delete_collectionRemove a curated collection from Audiobookshelf while keeping all books in the library. Requires confirmation; if no dialog appears, call once for a token and again to confirm deletion.
Instructions
Deletes a collection. The books stay in the library, but the curated list and its order are gone. Asks a person first; where the client cannot show a dialog, call once to receive a token and again with it. Requires an Audiobookshelf account with delete permission.
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": {
"collection_id": "<collection_id>"
},
"name": "delete_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | Collection id, as returned by list_collections | |
| 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_collection_id | Yes |