delete_knowledge_source
Remove a knowledge source and its chunks from a knowledge store. Use dryRun=false to permanently delete; document content becomes unsearchable after deletion.
Instructions
Deletes a Cognigy.AI knowledge source and all its chunks. WARNING: This is destructive. The document content will no longer be searchable. MUTATING: Set dryRun=false to delete.
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": {
"sourceId": "<sourceId>",
"knowledgeStoreId": "<knowledgeStoreId>"
},
"name": "delete_knowledge_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without deleting. Set to false to actually delete. | |
| sourceId | Yes | The knowledge source ID to delete | |
| knowledgeStoreId | Yes | The knowledge store ID containing the source |