search_books
Search a Calibre ebook library using Calibre's syntax for queries like author, title, or tags. Returns JSON with customizable fields and result limits.
Instructions
Searches books using Calibre's search syntax and returns JSON. Example queries: 'tag:Philosophy and author:Plato', 'series:"Classics"', 'title:Republic', 'pubdate:>2010'. Leave query empty to list (use limit).
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": "search_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Query in Calibre syntax. Empty = list everything. | |
| limit | No | Maximum number of results (default 50). | |
| fields | No | Comma-separated fields. 'all' for everything. Default: id,title,authors,series,series_index,tags,formats. |