Reply To HelpCenter Comment
helpcenter_reply_to_commentPost a comment on an article — as a reply to an existing comment, or as a new top-level one. Requires a write-scoped API key.
The reply is attributed to the user the API key was issued to; there is no author field to set, which is what makes it impossible to post under a reader's name. It publishes immediately and is visible on the article to readers, and the person being replied to is emailed.
NOT IDEMPOTENT: calling this twice posts two comments. There is no external_id equivalent here, so re-running a failed batch will duplicate. Read the thread back with helpcenter_get_article_comments before retrying.
The body is PLAIN TEXT. HTML is not interpreted — it renders as the characters it is made of — so send prose, not markup.
Args:
article_id (number, required): the article to comment on.
comment (string, required): the body, 1-5000 characters, plain text.
parent_id (number, optional): the comment being replied to. Must be a comment on THIS article. Omit for a new top-level comment.
lang (string, optional): defaults to the parent comment's language, or the site's default.
Returns: { status: "success", message, comment: {...} } with the created comment.
Errors: 403 if the key is read-scoped; 404 if the article is not in this help center, or parent_id is not a comment on it (including when parent_id names an internal team note); 422 if the body is missing or over 5000 characters.
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": {
"article_id": "<article_id>",
"comment": "<comment>"
},
"name": "helpcenter_reply_to_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code. Defaults to the parent comment's language, or the site's. | |
| comment | Yes | The reply body, up to 5000 characters. PLAIN TEXT — HTML is not interpreted and renders as the characters it is made of, so do not send markup. | |
| 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. | |
| parent_id | No | Id of the comment being replied to. Must be a comment on THIS article. Omit to post a new top-level comment. | |
| article_id | Yes | Id of the article to comment on. |