search
Search indexed documents using natural language or keywords. Choose hybrid, semantic, or lexical search modes for relevant results.
Instructions
Search the indexed documents.
Args: query: Natural-language query or keywords. k: Number of results to return (1-50, default 8). mode: 'hybrid' (RRF fusion of semantic + lexical, default), 'semantic' (vector KNN only), or 'lexical' (FTS5 BM25 only). If Ollama is offline, hybrid/semantic fall back to lexical and a warning is included in the response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| mode | No | hybrid | |
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||