Bulk update book metadata
calibre_bulk_updateApply the same metadata changes to a selected set of Calibre books and preview the per-book diff before writing. Use ids, a search query, or a filter to target books.
Instructions
Apply the same metadata changes (tags, series, publisher, etc.) to a set of books selected by ids, a search query, or filter (a bundle name). Preview-first: returns the per-book diff without writing unless preview is set false. A book set is required (never all books). A list in changes replaces the whole list; to add or remove tags while keeping the rest, use tags_add / tags_remove (merged per book, case-insensitive, not together with changes.tags). changes.identifiers merges per book by scheme (listed schemes set, others kept, null removes one). Previews work without writes; applying needs CALIBRE_MCP_ENABLE_WRITE.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calibre_bulk_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| query | No | ||
| filter | No | ||
| changes | No | ||
| library | No | ||
| preview | No | ||
| tags_add | No | ||
| tags_remove | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| books | No | ||
| failed | No | ||
| applied | No | ||
| matched | No | ||
| preview | No | ||
| retryIds | No | ||
| unchanged | No | ||
| notAttempted | No | ||
| writeEnabled | No | false on a preview in a session with writes disabled: applying it will be refused (write_disabled) | |
| confirmedByReRead | No |