Set my cdn
set_my_cdnTurns the CDN (edge cache in front of the site) on or off for one of the customer's hosting sites. This rewrites the domain's DNS on Squish nameservers, so it takes a few minutes to settle and is refused for a domain whose DNS is managed at another registrar. Two-step: (1) confirm:false previews the change; (2) ONLY after an explicit yes in their most recent message, call with confirm:true. The result says what HAPPENED (cdnEnabled), which can differ from what was asked — relay the note when there is one.
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": {
"domain": "<domain>",
"enabled": "<enabled>"
},
"name": "set_my_cdn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The hosted site's domain. | |
| confirm | No | false (default) returns the preview; true applies. Pass true ONLY after explicit user confirmation. | |
| enabled | Yes | true to turn the CDN on, false to turn it off. |