Query Knowledge Library
query_knowledge_librarySearch a knowledge library and retrieve the most relevant passages to answer questions with extended context that exceeds standard LLM window limits.
Instructions
Queries a knowledge library and retrieves the most relevant chunks for a given query. Returns extended context that can be used to answer questions with much more detail than would fit in a normal LLM context window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The question or search query | |
| top_k | No | Number of most relevant chunks to retrieve (default: 8) | |
| library_name | Yes | Name of the knowledge library to query |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| context | Yes | ||
| total_words | Yes | ||
| library_name | Yes | ||
| chunks_retrieved | Yes |