Detach a knowledge base from an agent
detach_knowledge_baseDetach a knowledge base from an agent while preserving the knowledge base and its documents. Returns attachment lists before and after so the change can be verified.
Instructions
Detach a knowledge base from an agent. This only removes the association - the knowledge base itself and its documents are untouched. The result reports the agent's attachments before and after. Note: for multi-prompt agents the Ringg API accepts the change but does not report attachments back, so the result will say the outcome could not be verified.
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": {
"agent_id": "<agent_id>",
"kb_id": "<kb_id>"
},
"name": "detach_knowledge_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kb_id | Yes | The knowledge base UUID to detach. | |
| agent_id | Yes | The agent's UUID. |