kb_delete_document
Permanently delete a knowledge base document and its indexed chunks. Use it for irreversible removals; already-deleted documents return a not_found error.
Instructions
Permanently delete one document from a KB, including its indexed chunks. Irreversible. A document that is already gone returns error "not_found".
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": {
"project_id": "<project_id>",
"document_id": "<document_id>"
},
"name": "kb_delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| document_id | Yes |