delete_comment
Permanently deletes a comment on the user's own Instagram media after a preview and explicit confirmation; the action cannot be undone, so suggest hiding when reversibility is needed.
Instructions
Permanently delete a comment on the user's media. Cannot be undone.
Only use when the user clearly wants the comment gone; suggest hide_comment as the reversible alternative. ALWAYS call with confirm=false first to get a preview (nothing is sent), and only call with confirm=true after the user explicitly approves deleting it.
Args: comment_id: The comment to delete (from get_media_comments). confirm: false = preview only (default); true = permanently delete.
Returns: executed (false for previews), summary and success. Limits: only works on comments on the user's own media; live-video comments are not supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| action | Yes | ||
| message | No | Exact reply text | |
| request | Yes | The Graph API call that is (or would be) made | |
| success | No | ||
| summary | Yes | ||
| executed | Yes | False = preview only; nothing was sent to Instagram | |
| reply_id | No | ID of the created reply | |
| comment_id | Yes |