Find duplicates
calibre_find_duplicatesDetect probable duplicate books in a Calibre library by grouping exact or similar title/author matches, or compare selected records field-by-field with a merge-safety score. Read-only; never merges.
Instructions
Find probable duplicate books. mode=identical (exact title+authors) or similar (fuzzy) group the library (or ids/query/filter subset — filter takes a bundle name) with a merge-safety score; mode=compare diffs 2+ ids field-by-field. Read-only — never merges.
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_find_duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| mode | No | identical | |
| limit | No | ||
| query | No | ||
| cursor | No | ||
| filter | No | ||
| library | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | ||
| keep | No | ||
| mode | Yes | ||
| count | No | ||
| capped | No | ||
| groups | No | ||
| offset | No | ||
| bookIds | No | ||
| groupCount | No | ||
| nextCursor | No | ||
| mergeSafety | No | ||
| booksScanned | No | ||
| languagesDiffer | No |