delete_document
Delete a document from the library permanently. Requires document ID and confirmation to prevent accidental removal.
Instructions
Delete a document from the library
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>",
"confirm": "<confirm>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Confirmation to delete | |
| documentId | Yes | The document ID to delete |