Query Knowledge Library
query_knowledge_libraryRetrieve the most relevant chunks from a knowledge library to answer queries with extended context beyond standard LLM 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 |
|---|---|---|---|
| library_name | Yes | Name of the knowledge library to query | |
| query | Yes | The question or search query | |
| top_k | No | Number of most relevant chunks to retrieve (default: 8) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| chunks_retrieved | Yes | ||
| context | Yes | ||
| total_words | Yes | ||
| library_name | Yes |