Delete Attachment
keychain_delete_attachmentDelete an attachment from a vault item by providing the item ID and attachment ID, then receive the updated item summary.
Instructions
Delete an attachment from its parent item using itemId plus attachmentId. The attachment id comes from item attachment metadata; this is destructive for that attachment and then refetches the parent item. Returns the updated item summary with normal redaction rules.
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": {
"itemId": "<itemId>",
"attachmentId": "<attachmentId>"
},
"name": "keychain_delete_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Parent Bitwarden item id for attachment or item-specific operations. | |
| reveal | No | Whether secret values are returned; default false and can be forced false by NOREVEAL. | |
| attachmentId | Yes | Attachment id returned by item metadata, or an unambiguous filename selector for downloads. |