Search books
calibre_searchSearches a Calibre library by title, author, ISBN, tag, full text, annotations, or notes; supports filters and count-only queries to locate books or matches.
Instructions
Find books by query: exact title, author, ISBN, tag, or Calibre query syntax (mode=meta), or full text (mode=fts). mode=fts words match independently and stemmed (events matches event); wrap a phrase in double quotes for an exact match ("event sourcing"); supports AND/OR/NOT between terms (uppercase, e.g. a NOT b). scope=book returns short keyword snippets from inside one book; first hits often land in TOC/front matter — for definitional or topic questions within a book prefer calibre_semantic_search scope=book (ranked passages with char offsets). Use calibre_semantic_search for meaning/topic queries. For "how many" questions use countOnly=true (returns only the count). filter accepts a bundle name to scope the search (list bundles via calibre_manage_bundles). Calibre 9.18+: mode=annotations searches highlights, their notes and bookmark titles (filter applies; scope=book + bookId searches one book, query "*" lists all its annotations); mode=notes searches notes attached to authors, series, tags, publisher (filters do not apply), and query "authors:Name" (or series:/tags:/publisher:/#custom:, item may be quoted) shows the whole note of that item.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "calibre_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | meta | |
| sort | No | ||
| limit | No | ||
| query | Yes | ||
| scope | No | library | |
| bookId | No | ||
| cursor | No | ||
| filter | No | ||
| library | No | ||
| countOnly | No | ||
| sortOrder | No | ||
| include_excluded | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | No | ||
| mode | No | ||
| count | No | ||
| notes | No | ||
| query | No | ||
| scope | No | ||
| total | No | ||
| bookId | No | ||
| filter | No | ||
| offset | No | ||
| bookIds | No | ||
| indexing | No | ||
| nextCursor | No | ||
| paramNotes | No | A line per limit param that fell back to its default or max instead of the value sent | |
| annotations | No | ||
| snippetsSkipped | No | ||
| exclusionsApplied | No | ||
| exclusionsRemoved | No |