search_documents
Retrieve relevant passages from your local knowledge base by entering a query. Control the number of results and choose between semantic or keyword search.
Instructions
Search the knowledge base for passages relevant to a query.
Args: query: What to look for, in natural language or keywords. limit: Maximum number of passages to return (1-50, default 5). mode: "auto" (semantic if available, else keyword), "semantic", or "keyword". Use "keyword" to force exact-word matching.
Returns: The most relevant passages, each labelled with its source and score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| limit | No | ||
| mode | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |