delete_attachment
Permanently remove an attachment from an item or location by providing its ID and confirming the exact title. Prevents accidental deletion by requiring confirmation.
Instructions
PERMANENTLY delete one attachment from an item or location (see
list_attachments for ids). confirm must equal the attachment's exact
title.
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": {
"identifier": "<identifier>",
"attachment_id": "<attachment_id>",
"confirm": "<confirm>"
},
"name": "delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| identifier | Yes | ||
| attachment_id | Yes |