delete_knowledge_base_document
Deletes a knowledge base document or folder. Use force to remove it even if agents depend on it, and to delete child items in non-empty folders.
Instructions
Delete Knowledge Base Document Or Folder
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": {
"documentation_id": "<documentation_id>"
},
"name": "delete_knowledge_base_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If set to true, the document or folder will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents. For non-empty folders, this will also delete all child documents and folders. | |
| documentation_id | Yes | The id of a document from the knowledge base. This is returned on document addition. |