search
Retrieve the most relevant document chunks from your knowledge base using pre-computed embeddings, sorted by relevance. Choose from raw chunks, wiki pages, or both, and limit results with top_k.
Instructions
Search the knowledge base for relevant document chunks.
``top_k`` defaults to the ``top_k`` config field so ``settings_set``
governs the candidate count for agents that don't pass it explicitly.
``scope`` picks the pool: ``"raw"`` (source chunks), ``"wiki"`` (wiki
page bodies), or ``"both"`` (default, unfiltered). Returns chunks
sorted by relevance. No LLM call -- uses pre-computed embeddings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| scope | No | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |