config
Read or update runtime configuration for RAG hybrid search parameters, including weight, distance, file limits, and grouping. Changes take effect immediately, no restart needed.
Instructions
Read or update runtime configuration. Without arguments, returns current config (hybridWeight, maxDistance, maxFiles, grouping). With arguments, updates the specified keys and returns the new config. Changes take effect immediately — no restart required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grouping | No | Grouping mode: "similar" (single group) or "related" (two groups). | |
| maxFiles | No | Maximum number of distinct files to return in search results. | |
| maxDistance | No | Maximum vector distance threshold for quality filtering. | |
| hybridWeight | No | Hybrid search weight (0.0 = vector only, 1.0 = BM25 only). |