retrieve_context
Search a knowledge base and retrieve formatted results with source citations for LLM context building. Supports filters to refine results.
Instructions
Search and return results formatted for LLM context building.
Args: query: Natural language query. k: Number of results (max 20). filters: Optional JSON string of filter conditions.
Returns: Formatted string with source citations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes | ||
| filters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |