Create knowledge base
create_knowledge_baseCreate an empty knowledge base in a project (name 1 to 120 characters). Add text with add_knowledge_document and attach the base to an AI agent with set_agent_knowledge_bases; an agent searches the bases attached to it during calls and agent chat tests.
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>",
"name": "<name>"
},
"name": "create_knowledge_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | 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. |