Hide or unhide a comment
set_comment_hiddenHide a comment on the network (people other than its author stop seeing it) or unhide it. Reversible. Refused, with the reason, when actions.canHide is false — e.g. OWN_COMMENT_CANNOT_HIDE (an account cannot hide its own comment), NOT_OWN_MEDIA (a mention on someone else's post), PLATFORM_DENIED. Unhiding a comment an auto-moderation rule hid stops every rule from hiding it again. Needs the organization's "Let AI assistants answer comments and messages" setting (owner-only; without it the api answers MCP_INBOX_DISABLED) and a connection authorized with the comments/chat permissions — one authorized before they existed must reconnect, and a client that kept its own registration from before then must remove PostRite and add it again.
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": {
"commentId": "<commentId>",
"hidden": "<hidden>"
},
"name": "set_comment_hidden"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hidden | Yes | true hides, false unhides | |
| commentId | Yes | Comment ID from list_comments | |
| organizationId | No | Organization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No |