Query Knowledge Base
lyzr_kb_queryQuery a knowledge base with a search term and knowledge base ID to retrieve the most relevant text chunks.
Instructions
Retrieve relevant chunks from a knowledge base.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rag_id": "<rag_id>",
"query": "<query>"
},
"name": "lyzr_kb_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query | |
| top_k | No | Max results | |
| rag_id | Yes | Knowledge base id |