Get the Widget Install Code
helpcenter_get_widget_installGet what it takes to put the help center's widget on the user's website: the snippet to paste before (exactly what the dashboard shows), the widget id, the websites allowed to embed it, whether it has been seen running, and whether visitors are served at all. An unpublished, private or suspended help center serves some visitors or none, so a correct install can still show nothing: the result says so. FAQ sections need this snippet on their page too.
Read-only. Creates the widget on first use, as opening the dashboard's Embeddables page does.
Args:
response_format ('markdown' | 'json'): default 'markdown'.
Returns: { widget: { app_id, install_snippet, script_url, embedding_origins, embedding_origins_editable, frame_ancestors, installed, last_seen_at, install_window_days, visitors: { served, reason, message }, entitlements: { widget, ai_answers, proactive_messages } } }.
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_get_widget_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| response_format | No | Output format: 'markdown' for a human-readable summary or 'json' for the full structured payload. | markdown |