Delete document
delete_documentDeletes a document by ID. Set archive to true to move it to trash instead of permanently deleting it.
Instructions
Delete a document. If archive is true, it is moved to trash instead of being permanently deleted.
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": {
"documentId": "<documentId>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | No | Archive instead of hard-delete | |
| documentId | Yes | Document ID |