Delete a comment
delete_commentPermanently delete a comment. TikTok deletes only comments the account itself wrote; hide other people's comments instead. YouTube deletes the channel's own comments and rejects anyone else's, which cannot be undone; banAuthor "true" also bans that commenter from the channel. Confirm with the user first.
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": {
"platform": "<platform>",
"accountId": "<accountId>",
"commentId": "<commentId>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | ||
| accountId | Yes | An accountId from list_accounts. | |
| banAuthor | No | ||
| commentId | Yes | A comment id from list_comments. | |
| profileId | No | A profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree. |