delete_knowledge_chunk
Validate and delete a knowledge chunk from a store. Set dryRun to false to permanently remove and stop RAG search.
Instructions
Deletes a Cognigy.AI knowledge chunk. The content will no longer be searchable via RAG. 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": {
"chunkId": "<chunkId>",
"sourceId": "<sourceId>",
"knowledgeStoreId": "<knowledgeStoreId>"
},
"name": "delete_knowledge_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without deleting. Set to false to actually delete. | |
| chunkId | Yes | The knowledge chunk ID to delete | |
| sourceId | Yes | The knowledge source ID containing the chunk | |
| knowledgeStoreId | Yes | The knowledge store ID |