Delete a comment
delete_commentDeletes a comment from the network for good. Instagram and Facebook Pages: any comment on the account's post. YouTube, X, LinkedIn company Pages, Bluesky and Mastodon: only the account's own comments and replies (hide others instead where hiding exists). Threads: not available (Shager doesn't hold Threads' delete permission). On X it is billed to the workspace's monthly X limit. Cannot be undone, so a person approves each deletion in Shager first: the first call answers needs_confirmation with confirm_url; after your human approves, make the same call again. (Not available in an unclaimed sandbox.)
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": {
"workspace_id": "<workspace_id>",
"post_id": "<post_id>",
"channel_id": "<channel_id>",
"comment_id": "<comment_id>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ||
| channel_id | Yes | ||
| comment_id | Yes | ||
| workspace_id | Yes | Workspace id from list_workspaces | |
| confirmation_token | No | The confirmation_token from needs_confirmation. The call goes through only after your human approved this exact action at confirm_url. |