build_index
Index unindexed Calibre books into a cached searchable index, enabling full-text search across your library.
Instructions
Index book contents for full-text search (one-time, cached).
Converts each book's text with calibre's converter and stores it in a local SQLite FTS5 index kept outside the library. Only books that are not indexed yet are processed; an initial run over a whole library can take several minutes.
Args: book_ids: Optional list of book ids to index; default: all books that are not indexed yet. limit: Optional cap on how many books to index in this call.
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": "build_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| book_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||