List HelpCenter Sites
helpcenter_list_sitesList the HelpCenter.io help centers this connection is allowed to reach, with their ids.
Call this FIRST when a tool fails with 'site_required', and whenever you are unsure which help center you are about to act on.
Why it exists: an OAuth connection authenticates a PERSON, and a person may have more than one help center. When neither the call nor the connection names one, the API refuses to guess and returns 'site_required' rather than acting on the wrong place. An API-key connection is bound to a single help center and will simply list that one.
How to act on the result: every other tool takes an optional site_id. When this list has more than one help center, pass the id of the one the user means as site_id on each call. It applies to that call only — nothing is remembered — so keep passing it, and use the same one for the whole task unless the user asks you to switch. If their request does not make clear which help center they mean, ask before you write anything. When the list has one help center, omit site_id.
Read-only, and unaffected by which help center a call names: it describes the connection, not a help center's contents.
Args:
response_format ('markdown' | 'json'): default 'markdown'.
Returns: { sites: [ { id, name, domain, ... } ] } — the help centers the credential's consent actually grants.
Errors: 401 if the credential is invalid or expired. An empty list from a valid OAuth token means the consent covered no site: the user has to re-authorize and pick one.
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_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' for a human-readable summary or 'json' for the full structured payload. | markdown |