Search Library
search_libraryRETURNS A LIST OF BOOKS (works on a topic) — NOT passages. PICK THIS to discover which works exist on a subject. → For quotable text use search_translations (exact words) or search_concept (by meaning); if the user already named an author/work, call get_book directly (or list_books to find the ID) — the AI summary + chapter outline is usually the right first answer. Searches titles, authors, subjects, and (as a secondary signal) translated text. Query tips: single distinctive words or short phrases work best ("memory palace", "ouroboros"); quoted phrases match exactly. Each result includes total_matches (full count) + returned (this page) + offset for pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| limit | No | Max results per page (default 10, max 100) | |
| query | Yes | Search query — prefer single distinctive concepts ("alchemy", "tree of life") over long natural-language phrases. Wrap in "double quotes" for exact phrase. | |
| offset | No | Pagination offset (use with limit to page through total_matches; default 0) | |
| year_to | No | Publication year range end | |
| language | No | Filter by original language (e.g., Latin, German, Greek) | |
| year_from | No | Publication year range start | |
| has_translation | No | Only return books with translations |