Delete a comment
delete_commentDeletes a synchronized comment from the platform. Comments your accounts wrote (fromAccount true) can be deleted on every platform, as the account that wrote them. Comments other people wrote can be deleted only on Instagram and Facebook; hide_comment hides them on other platforms. Instagram, Facebook, and LinkedIn also delete the replies to the comment. Deletion can't be undone. The target workspace is determined automatically from accountId.
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": {
"commentId": "<commentId>",
"platform": "<platform>",
"accountId": "<accountId>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | No | postId from list_comments. Needed for LinkedIn, where the same comment ID can appear on different posts. | |
| platform | Yes | platform from list_comments. | |
| accountId | Yes | accountId from list_comments: the account that received the comment. | |
| commentId | Yes | commentId from list_comments. | |
| workspaceId | No | Optional. The workspace is determined automatically from accountId; when given, it must match the account's workspace. |