List HelpCenter Comments
helpcenter_list_commentsList reader comments across the whole connected HelpCenter.io help center.
Read-only, flat and filterable — this is both the moderation queue (status: 'pending') and the "what are readers asking about?" feed (status: 'all'). Each comment carries the article it sits on, so the output is readable without a second lookup.
PRIVACY — read before reporting on this data:
Commenter email addresses are REDACTED by default. An absent 'email' field means it was withheld, NOT that the reader had no address. Pass include_email: true (write-scoped key only) if the task genuinely needs to contact someone.
Commenter IP addresses are NEVER returned, at any scope, with any parameter.
Internal team notes (the private editorial threads written in the article editor) are excluded from this tool entirely. An article whose comments look purely external may still have staff discussion you cannot see here.
Comment bodies are returned as PLAIN TEXT — no HTML, no escape sequences — so they can be quoted and summarised directly.
Args:
status ('pending' | 'published' | 'unpublished' | 'deleted' | 'all', optional): default 'all', which excludes deleted.
article_id (number, optional): restrict to one article. An id from another help center is a 404, not an empty list.
lang (string, optional): language code enabled on the site.
search (string, optional): substring match on the comment body.
order ('asc' | 'desc', optional): by creation time, default 'desc'.
limit (number, optional): 1-100, default 25. page (number, optional): default 1.
include_email (boolean, optional): see PRIVACY above.
response_format ('markdown' | 'json'): default 'markdown'.
Returns: { total, count, page, per_page, total_pages, has_more, status_counts, next, items } where status_counts is the queue depth for the WHOLE help center — use it to decide whether to keep paging.
Paging: every response carries next: { page, limit } — the exact arguments that fetch the first item it did not return — or null when nothing is left. Follow next, with the same filters, instead of computing page + 1 yourself. A response is capped at 25000 characters, in its text and in its structured data alike, and 5.0 MB in all: when a page does not fit, only its first items are returned (truncated: true, count says how many) and next points at the rest, usually with a smaller limit and a later page number. Requesting page + 1 with your original limit would skip them.
Errors: 403 if include_email is set on a read-scoped key (the rest of the listing still works without it); 404 if article_id belongs to another help center.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "helpcenter_list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code to filter by (must be enabled on the site). | |
| page | No | Page number for pagination (default 1). | |
| limit | No | Maximum comments to return per page (1-100, default 25). | |
| order | No | Sort by creation time: 'desc' (default, newest first) or 'asc'. | |
| search | No | Substring match against the comment body. | |
| status | No | Moderation state to filter by: 'pending' (awaiting approval — the queue), 'published' (visible to readers), 'unpublished' (rejected), 'deleted' (soft-deleted, excluded otherwise), or 'all' (default, everything except deleted). | |
| 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. | |
| article_id | No | Restrict to one article. An id from another help center is a 404, not an empty list. | |
| include_email | No | Include the commenter's email address. Off by default and deliberately so: these are readers' personal addresses, not the help center's data. Requires a WRITE-scoped key — a read-scoped key asking for it gets 403. Leave this off unless the task actually needs to contact someone. | |
| response_format | No | Output format: 'markdown' for a human-readable summary or 'json' for the full structured payload. | markdown |