query_knowledge
Ask natural-language questions about documents in any collection. Retrieves relevant chunks via semantic search and produces an LLM-generated answer from that context.
Instructions
Ask a question about documents in a collection. Retrieves the most relevant chunks via semantic search, then uses an LLM to answer based on that context.
Works with any collection — those created by the embeddings-agent (hire_agent) or manually via vector_store_add.
Args: collection: Collection name (from embeddings-agent output or vector_store_add). question: Natural-language question about the stored data. limit: Number of context chunks to retrieve (1–20, default 5). provider: Embedding provider override for the query (openai, voyage, gemini, local). Empty = auto-detect from collection. model: Embedding model override. Empty = auto-detect from collection. dimensions: Output dimensions override (integer as string). Empty = auto-detect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| model | No | ||
| provider | No | ||
| question | Yes | ||
| collection | Yes | ||
| dimensions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |