delete_attachment
Permanently removes an attachment from a note and deletes the file from the server; this action cannot be undone.
Instructions
Permanently delete an attachment from a note (the file is removed from the server; this cannot be undone).
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": {
"noteId": "<noteId>",
"attachmentId": "<attachmentId>"
},
"name": "delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noteId | Yes | ||
| attachmentId | Yes |