moderate_tiktok_comment
Like, hide, pin or delete a TikTok comment destructive
Description
Moderate one comment on a TikTok post the authorized account owns: LIKE, UNLIKE, HIDE, UNHIDE, PIN, UNPIN or DELETE. PIN/UNPIN puts a comment at the top of the post's comments (or takes it off); TikTok does not document this call, so every pin is read back and the reply reports the comment's own pinned state. TWO RULES TIKTOK ENFORCES AND THIS TOOL STATES UP FRONT. (1) YOU CAN ONLY DELETE A COMMENT THIS ACCOUNT WROTE — anyone else's can be hidden but never deleted, so HIDE is the tool for an unwanted comment from a stranger, and it is reversible. DELETE is permanent and confirm-gated. (2) UNHIDE IS NOT GUARANTEED: TikTok says a comment may stay hidden because ITS OWN moderation, privacy or spam filters are what hid it, in which case accepting the request changes nothing — so pass videoId and the reply reads the comment back and reports its real status rather than claiming success from a 200. HIDE and UNHIDE require videoId; LIKE, UNLIKE and DELETE do not. NEEDS THE TIKTOK ACCOUNT AUTHORIZATION (see tiktok_account_status).
Parameters
| Parameter | Type | Description |
|---|---|---|
commentIdrequired | string | from list_tiktok_comments |
actionrequired | "LIKE" | "UNLIKE" | "HIDE" | "UNHIDE" | "DELETE" | "PIN" | "UNPIN" | LIKE, UNLIKE, HIDE, UNHIDE, PIN, UNPIN or DELETE; DELETE only works on comments this account wrote |
videoId | string | REQUIRED for HIDE, UNHIDE, PIN and UNPIN; pass it on the others too and the reply reads the comment back to prove the change landed |
confirm | boolean | REQUIRED true for DELETE, which is permanent — call without it to see exactly what would happen |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/moderate_tiktok_comment.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"moderate_tiktok_comment","arguments":{"commentId":"<string>","action":"<one of the listed values>"}}}
CLI
hermoso call moderate_tiktok_comment --json '{"commentId":"<string>","action":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
tiktok_account_statusCheck the TikTok account authorizationreply_to_tiktok_commentReply to a comment on the brand’s TikTok postsearch_tiktok_locationsFind a TikTok location tagcomment_on_tiktok_videoPost a new comment on the brand’s own TikTok postupload_tiktok_comment_imageUpload an image for a TikTok commentlist_tiktok_comment_repliesList every reply to one TikTok commentset_tiktok_post_ad_authorizationTurn Spark-Ads authorization on or off for the brand’s own postlist_tiktok_commentsList comments on one of the brand’s TikTok postsget_tiktok_post_ad_authorizationRead a post’s Spark-Ads authorization statusextend_tiktok_post_ad_authorizationExtend a post’s Spark-Ads authorization