Search the knowledge base
search_knowledge_baseSearch a website's knowledge base to retrieve passages and relevance scores, showing what the chatbot knows about a topic without generating an answer.
Instructions
Search one website's knowledge base and return the passages the chatbot would retrieve for this question, with a relevance score. Use this to check what the chatbot knows about a topic. It does not generate an answer and does not use the message allowance.
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_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many passages to return (1-20, default 5). | |
| query | Yes | What to look for, in plain language. | |
| website_id | No | Numeric id of the website, from list_websites. Omit to use the account's primary website. |