Set agent knowledge bases
set_agent_knowledge_basesReplace the list of knowledge bases an AI agent searches (at most 20; [] removes them all). Every base must be an active base of the agent's project; a refusal changes nothing.
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>",
"agent_id": "<agent_id>",
"knowledge_base_ids": "<knowledge_base_ids>"
},
"name": "set_agent_knowledge_bases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | 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_ids | Yes |