Cyberlibrary Fulltext Search
cyberlibrary_fulltext_searchFull-text search inside the actual book text (a 26 GB corpus of chapter Markdown), returning the matching passage plus the book, chapter and canonical source URL for each hit. When to use: you need to locate where a phrase, name or quotation occurs in the corpus, or to ground an answer in a verifiable passage. Do not use: to find a book by title (call cyberlibrary_search_books, which is far cheaper). Strongly prefer passing lang: English alone is 79% of the corpus (20.4 GB), so a language-scoped search is typically 10-100x faster and more relevant. Returns: {query, lang, searched_languages, skipped_languages, scanned_mb, elapsed_ms, results[{lang, book, chapter, source_url, match, snippet}]}.
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": "cyberlibrary_fulltext_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code to search within (strongly recommended), e.g. zh-cn, en, fr. | |
| limit | No | Max passages to return (1-50). Default 10. | |
| query | Yes | Literal phrase to find (2-120 chars, case-insensitive). | |
| snippet_chars | No | Characters of context around each hit (100-2000). Default 400. |