komga_libraries
Manage Komga libraries by listing, creating, updating, deleting, scanning, analyzing, refreshing metadata, and emptying trash for comic, manga, and ebook collections.
Instructions
komga libraries operations on Komga. Pass operation and an arguments dict matching that operation's parameters.
analyze_library(library_id) — Analyze all books in a library. Requires ADMIN.
create_library(library) — Create a library. Requires the Komga ADMIN role.
delete_library(library_id) — Delete a library without deleting its files. Requires ADMIN.
empty_library_trash(library_id) — Permanently empty a library's trash. Requires ADMIN.
get_library(library_id) — Get one library by ID.
list_libraries() — List libraries visible to the authenticated Komga user.
refresh_library_metadata(library_id) — Refresh embedded metadata for a library. Requires ADMIN.
scan_library(library_id, deep=False) — Scan a library for new or changed files. Requires ADMIN.
update_library(library_id, patch) — Partially update a library. Requires the Komga ADMIN role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |