delete_knowledge
Delete a knowledge document and its chunks permanently by ID. Look up IDs using list_knowledge.
Instructions
Delete one knowledge document (and its chunks) by id.
Destructive and not reversible. Look up ids with list_knowledge. Returns {deleted} indicating whether a matching document was removed.
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": {
"doc_id": "<doc_id>"
},
"name": "delete_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Id of the knowledge document to delete (from list_knowledge). |