Hide, like or pin a comment
comment_actionModerate comments on your posts across social networks: hide, like, or pin comments with reversible actions. Specify platform, comment ID, and action—post ID required for hide/pin, not for like.
Instructions
Moderate or react to a comment on one of the profile's own posts: hide it from other viewers, like it as the account, or pin it to the top. One endpoint for every network, chosen with platform; a network that cannot do it answers 400 platform_not_supported with the list of the ones that can. Every action carries its own inverse (hide/unhide, like/unlike, pin/unpin), so nothing here is permanent. postId is required for hide/unhide and pin/unpin, and must NOT be sent for like/unlike. 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. | |
| postId | No | Post the comment belongs to (TikTok: the video id). Required for hide/unhide and pin/unpin; not used by like/unlike. | |
| platform | Yes | Social platform the comment lives on. | |
| commentId | Yes | Comment to act on (from get_post_comments). Sent as `comment_id`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |