search_rag
Semantically search the knowledge base and receive a concise answer: reliable fragments are shown verbatim, while related content is automatically summarized to address your query.
Instructions
Semantic search with automatic summarization. High-confidence results are returned verbatim; lower-confidence and related documents are synthesized into a query-aware summary via LLM sampling.
Use this when answering user questions — it delivers concise, ready-to-use answers. Prefer search_semantic over this when exploring what the knowledge base covers. Prefer search_knowledge over this when you need full unabridged content for specific tags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query | |
| maxTokens | No | Max tokens for the sampling summary (default: 500) | |
| threshold | No | Minimum similarity score for inclusion (default: 0.8) | |
| directThreshold | No | Score above which fragments are returned verbatim (default: 0.85) |