# delete_comment_attachment

Source: https://modulify.ai/docs/mcp/comments/delete-comment-attachment

Permanently removes one image from a comment or reply.

- Title: Remove an image from a comment
- Scope: `comments:write`
- Access: Destructive

The stored file is destroyed and its public URL stops working immediately. There is no undo.

Any workspace member may delete any attachment, including one somebody else uploaded, which is not the rule `delete_comment` follows. The tool tells the client to be certain before calling it, to read the comment with `list_comment_attachments` first and to confirm which image is meant. See [Comments](https://modulify.ai/docs/editor/comments#from-an-ai-client-over-mcp).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `attachmentId` | string | Yes | The attachment id, from `list_comment_attachments`. |