Test knowledge base
test_knowledge_baseAsk a knowledge base one question and get the answer an agent would ground on it, with its sources, as the workspace's Test does. Nothing is saved and no call is made.
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": {
"project_id": "<project_id>",
"knowledge_base_id": "<knowledge_base_id>",
"question": "<question>"
},
"name": "test_knowledge_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | ||
| project_id | Yes | The workspace project the knowledge base belongs to. | |
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. | |
| knowledge_base_id | Yes |