# delete_comment

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

Deletes a comment or a reply you wrote, or one left by someone outside the workspace.

- Title: Delete a comment
- Scope: `comments:write`
- Access: Destructive

A comment whose `AuthorKind` is `outside` or `guest` came in through the site's shared link, and any workspace member may delete it to moderate the link. Deleting a teammate's is refused.

There is no undo. The comment's reactions are destroyed outright, and deleting a thread that has replies leaves those replies orphaned rather than removing them. A deleted comment drops out of `list_comments` and `count_open_comments`, though `get_comment` can still read it by its id.

The tool tells the client that resolving a thread with `resolve_comment` is almost always what someone means by "clear this up". See [Comments](https://modulify.ai/docs/editor/comments#resolve-edit-and-delete).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `commentId` | string | Yes | The comment or reply id. |