Hide, like or pin a comment
comment_actionModerate or react to comments on your own posts: hide, like, pin, approve, or edit across TikTok, Facebook, Instagram, YouTube, and Threads.
Instructions
Moderate or react to a comment on one of the profile's own posts. One endpoint for every network, chosen with platform; each network supports its own verbs and answers 400 platform_not_supported / invalid action otherwise. TikTok: hide/unhide (postId), like/unlike (no postId), pin/unpin (postId). Facebook: hide/unhide, like/unlike, edit (needs message). Instagram: hide/unhide a comment, or enable_comments/disable_comments on a post (postId, no commentId). YouTube: hide/unhide/hold (postId; banAuthor only with hide). Threads: hide/unhide, approve/ignore. Every action has an inverse, so nothing here is permanent. Deleting a comment is a different tool: delete_comment. TikTok: Requires the 'comments' capability on the profile's TikTok account (see the capabilities array in list_users). It is granted at connection time, so an account connected earlier has to reconnect TikTok before this works.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Upload-Post profile name. | |
| action | Yes | What to do. Lowercase; each value already carries its direction, so there is no separate 'undo' flag. Which values a platform accepts is listed in the tool description. | |
| postId | No | Post the comment belongs to (TikTok: the video id). Required for TikTok hide/unhide and pin/unpin, YouTube moderation and Instagram enable_comments/disable_comments; not used by like/unlike. | |
| message | No | Facebook `edit` only: the new comment text. | |
| platform | Yes | Social platform the comment lives on. | |
| banAuthor | No | YouTube `hide` only: also ban the comment's author from the channel. | |
| commentId | No | Comment to act on (from get_post_comments). Sent as `comment_id`. Required except Instagram enable_comments/disable_comments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |