Moderate HelpCenter Comment
helpcenter_moderate_commentApprove or reject a reader comment. Requires a write-scoped API key.
'published' approves it and shows it to readers. 'unpublished' rejects it — the comment leaves the help center but is not destroyed, so this is the reversible way to take something down.
What this tool deliberately CANNOT do: edit the body. Rewording somebody else's words under their name is a dashboard action with a human looking at whose comment it is, not an API one.
Side effect worth knowing: approving a REPLY emails the person being replied to, exactly as approving it in the dashboard does. That send is idempotent per reply, so re-approving something already published mails nobody twice.
Args:
comment_id (number, required): from helpcenter_list_comments or helpcenter_get_article_comments.
status ('published' | 'unpublished', required).
Returns: { status: "success", message, comment: {...} } with the updated comment.
Errors: 403 if the key is read-scoped; 404 if the comment is not in this help center, is an internal team note (which this API never exposes or touches), or has been DELETED — a deleted comment is off the help center whatever its status says, so it must be restored from the dashboard before it can be moderated; 422 for any status other than the two above.
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": {
"comment_id": "<comment_id>",
"status": "<status>"
},
"name": "helpcenter_moderate_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | 'published' approves the comment and shows it to readers; 'unpublished' rejects it. To remove a comment entirely, that is a delete in the dashboard — this tool cannot destroy anything. | |
| site_id | No | Which help center to act on: an id from helpcenter_list_sites. Needed when this connection reaches more than one help center; omit it when it reaches one. Applies to this call only — pass it on every call of a task, and ask the user which help center they mean if their request does not say. | |
| comment_id | Yes | Id of the comment to approve or reject. |