Search Documents
search_documentFind relevant passages in your local document library using hybrid lexical and semantic search, with results ranked by relevance and pinpointed to page or section.
Instructions
Hybrid BM25 + semantic search across ingested documents. Returns ranked snippets with precise locators (page or section, section path, bbox). This is the usual starting point. It never returns full text — follow a hit with get_chunk_context using its chunk_id to read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| mode | No | hybrid | |
| query | Yes | ||
| filter | No | ||
| document_id | No | Restrict to one document; omit to search the whole library |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | ||
| processing_documents | Yes | Documents still indexing. They were NOT searched, so this result is incomplete. |