search
Search the corpus. Semantic/hybrid covers registry-indexed editions (see get_library_status); others are lexical. limit: 1–20. Returns exact excerpts and stable passage IDs. Fetch the passage before citing a result. max_chars/max_bytes optionally budget each result excerpt; a budgeted excerpt is never silently clipped: it carries excerpt_truncated and excerpt_continuation_offset.
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book | No | ||
| mode | No | hybrid | |
| limit | No | ||
| query | Yes | ||
| language | No | ||
| max_bytes | No | ||
| max_chars | No | ||
| edition_id | No |