Turn Widget Pinning on or off
set_widget_pinningFreeze the chat widget at its current version to ensure the site always serves the same copy with an integrity hash. Enabling this builds a snapshot and updates the embed code.
Instructions
Freeze the chat widget at its current version, so the site always serves the same copy with an integrity hash. Turning it on builds that snapshot and changes the embed code. Needs the Enterprise plan.
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": {
"enabled": "<enabled>"
},
"name": "set_widget_pinning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | True to pin the widget. | |
| website_id | No | Numeric id of the website, from list_websites. Omit to use the account's primary website. |