Like or hide a comment on a live post
moderate_commentActs on one comment under the account's own live post, as the account, by action. like or unlike: only where get_live_post_comments says capabilities.like is true (LinkedIn Pages, Bluesky, Mastodon and TikTok; other platforms refuse); answers the comment's resulting liked. hide or unhide: someone else's reply or comment, without deleting it, on Threads and TikTok only. Threads: top-level replies only, and hiding one hides the replies under it. TikTok: needs the Business connection with comment management. Ids come from list_live_posts and get_live_post_comments. A hide answer whose state is not ok changed nothing, and its message says why.
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": {
"action": "<action>",
"platform": "<platform>",
"accountId": "<accountId>",
"commentId": "<commentId>"
},
"name": "moderate_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | like or unlike: the like, as the account. hide or unhide: Threads and TikTok only | |
| postId | No | The platform's own post id: `id` from list_live_posts. Required for like, unlike and on TikTok; optional for a Threads hide | |
| platform | Yes | The post's platform, as list_live_posts reports it; hide and unhide take threads or tiktok | |
| accountId | Yes | The account's accountId (see list_live_posts / list_accounts) | |
| commentId | Yes | The comment's or reply's `id` from get_live_post_comments | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. |