Bulk retag
bulk_retagAdd, remove, or replace tags for books matching a search query to organize your Calibre library.
Instructions
Add, remove, or replace tags for books matching a search query. Useful for bulk organization tasks like categorizing all books by an author or cleaning up tag names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | Tags to add/remove (comma-separated). For 'replace' action, format as 'old_tag:new_tag'. | |
| limit | No | Maximum books to process (default: 50). | |
| query | Yes | Calibre search query to find books to retag. Examples: 'author:Sanderson', 'tag:fiction', 'series:Cosmere'. | |
| action | Yes | Action to perform: 'add' tags to existing, 'remove' specific tags, 'replace' old tag with new. | |
| preview | No | If true (default), only show what would be changed. Set to false to apply changes. |