Authorise the site domains
oryksa_set_allowed_domainsRestricts the chat widget to the site's domains (subdomains included), so the widget token cannot be used on other sites. Send the production domain and any staging domain, e.g. ["example.com", "example.vercel.app"]. Send an empty list to allow any site (useful while developing on localhost).
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": {
"domains": "<domains>"
},
"name": "oryksa_set_allowed_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domains | Yes |