Delete attachment
delete_attachmentPermanently deletes a TriliumNext attachment and its content by ID, removing files or images that are no longer needed.
Instructions
Permanently delete an attachment and its content.
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": {
"attachmentId": "<attachmentId>"
},
"name": "delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachmentId | Yes | ID of the attachment to delete |