ocr_scanned_books
Convert scanned-PDF books in a Calibre library to searchable text in resumable batches, skipping completed ones. Repeat to process the whole library, optionally generating re-typeset EPUBs.
Instructions
OCR all scanned-PDF books in the library, in resumable batches.
Detects scanned books, skips any that already have OCR output cached,
and runs the full ocr_book pipeline (OCR → index → optional re-typeset
EPUB) on up to limit remaining books. Repeat the call to work through
the whole library; per-batch caching makes interruptions safe.
Args: limit: Maximum books to OCR in this call (1-100, default 10). typeset: Also build re-typeset EPUBs with pandoc (default True). import_format: Attach the EPUBs to book records (default True).
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": "ocr_scanned_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| typeset | No | ||
| import_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||