> ## Documentation Index
> Fetch the complete documentation index at: https://docs.the40thieves.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# delete_attachment

> Delete an attachment (to the vault's .trash mirror, or permanently).

Delete an attachment (to the vault's .trash mirror, or permanently). Destructive — requires confirmation. Reports notes that still reference it.

| | |
| - | - |
| **Domain** | attachments |
| **Scopes** | `delete:attachments` |
| **Access** | destructive |
| **Tags** | `writes`, `destructive`, `hitl`, `domain:attachments` |
| **Profile** | full only |

## Annotations

| Annotation | Value |
| - | - |
| Read-only | no |
| Destructive | yes |
| Idempotent | no |
| Accepts an idempotency key | no |

`Idempotent` is the advisory MCP `idempotentHint`. `Destructive` is also `yes` for a tool that
asks for confirmation only on some calls.

## Confirmation (human in the loop)

A single-use `elicit_token` (or a transport-verified confirmation) is required on every call.

* The confirmation binds to the vault paths the call names, which are also checked against the folder ACL.

## Input

| Parameter | Type | Required | Default | Description |
| - | - | - | - | - |
| `vault` | `string` | | — | Vault id. May be omitted when only one vault is available. length 1–64; pattern `^[a-z0-9_-]+$` |
| `path` | `string` | yes | — | length 1–1024 |
| `permanent` | `boolean` | | `false` | — |

## Output

| Field | Type | Always present | Description |
| - | - | - | - |
| `vault` | `string` | yes | — |
| `path` | `string` | yes | — |
| `deleted` | `boolean` | yes | — |
| `permanent` | `boolean` | yes | — |
| `trashed_to` | `string \| null` | yes | — |
| `size` | `number \| null` | yes | — |
| `references` | `string[]` | yes | — |
| `notes_read_refused` | `integer` | | range ≥ -9007199254740991 |

## Related tools

Other tools in the `attachments` domain: [`get_attachment`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/get_attachment/), [`list_attachments`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/list_attachments/), [`move_attachment`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/move_attachment/), [`ocr_attachment`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/ocr_attachment/), [`ocr_bulk`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/ocr_bulk/), [`write_attachment`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/write_attachment/).

Back to the [tool catalog](https://docs.the40thieves.dev/reliquary-tc/tools/tool-catalog.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.