Delete a comment
delete_commentUse this to delete a comment from its network for good, with the replies under it; it cannot be undone, so hide_comment is the gentler choice for others' comments. Show the person the comment first unless they asked you to act on your own. Instagram and Facebook delete any comment on the account's posts; TikTok and Threads only the account's own; YouTube's are deleted in YouTube Studio, not here. Deleting a thread's first comment removes the whole thread from the inbox.
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": {
"id": "<id>",
"messageId": "<messageId>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The thread's id (`thr_`). | |
| messageId | Yes | The comment's message id (`msg_`), from Get a thread. | |
| idempotencyKey | No | Optional. A new unique string for each new action, such as a UUID. When a call timed out or failed and you send it again, send the same key: for 24 hours the same call gets the first one's answer instead of doing it twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| threadDeleted | No |