Delete document
delete_documentRemove a document from the property or tenant it is linked to; if that is its only link, the document is deleted.
Instructions
Remove a document from the property/tenant it is linked to (deletes it if that was its only link).
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>",
"entityId": "<entityId>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true once the user has approved writes for this session | |
| entityId | Yes | The property/tenant id the document is linked to | |
| documentId | Yes | ||
| entityType | No | property |