komga_libraries
Manage self-hosted Komga libraries: retrieve, create, update, delete, scan, analyze, refresh metadata, and empty trash; writes require confirm=true.
Instructions
komga_libraries covers the libraries toolset (9 operations). Auth is the X-API-Key header, or HTTP basic auth from KOMGA_USERNAME and KOMGA_PASSWORD. Self-hosted Komga only. action help with target returns one action's parameters. Writes need confirm set to the boolean true and KOMGA_ALLOW_WRITES=true. Omit confirm for a dry-run preview that sends nothing. Destructive, credential, or exposure actions add an extra warning in the preview and here: delete, scan, analyze, refresh, trash empty, user or role changes, API key create or revoke, password change, settings, session, and claim. Actions: delete, get, get_library_id, patch, post, post_analyze, post_empty_trash, post_metadata_refresh, post_scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for the Komga operation. Secrets are redacted in output. | |
| query | No | OpenAPI query parameters. | |
| action | Yes | Komga operation to call, or help. | |
| params | No | OpenAPI path parameters, such as seriesId. | |
| target | No | With action help, the action whose parameters to describe. | |
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. |