Search the knowledge base
search_knowledgeSearch the store's knowledge base to retrieve the closest passages with similarity scores, verifying whether a question is covered or explaining why the bot answered as it did.
Instructions
Search the store's knowledge base the way the bot does before answering, and return the closest passages with their similarity (0-1). Use it to find out why the bot answered something, or whether the knowledge base covers a question at all.
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": {
"query": "<query>"
},
"name": "search_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |