query_knowledge
Search the local knowledge base to retrieve relevant information. Returns top matching knowledge cards with scores and content. Use to find existing knowledge before conducting web research.
Instructions
Search the local knowledge base for relevant information.
Returns top-k knowledge cards matching the query, with scores and content. Use this to find existing knowledge before doing web research.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default 5). | |
| query | Yes | The search query in natural language. | |
| rerank | No | When true, fetches limit*3 candidates and uses an LLM cross-encoder to score each (query, candidate) pair on 0-10 relevance. Improves top-1 precision for ambiguous queries at the cost of one LLM call per candidate (~2s each). Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |