Setup domain forwarding
setup_domain_forwardingConfigure URL forwarding so visits to the domain (and its www) redirect to a target URL. Useful for "point foo.com at my main site" requests. Redirects are served from our edge network, which means the domain has to be delegated to Squish nameservers. Two-step usage REQUIRED: (1) call with confirm:false to preview, describe to user; (2) ONLY after explicit yes, call with confirm:true. If the preview comes back with nameserverChangeRequired:true you MUST relay that the domain's nameservers would move to us and that DNS records at its current DNS host — email/MX included — stop working until they are recreated here — and that this particular change cannot be made from chat: direct the customer to the dashboard's DNS settings for that domain, where they review and confirm the nameserver move themselves. A domain that receives email should be moved with a DNS migration instead. All forwarding is a standard (302) redirect — cloaked/framed forwarding is not offered; if asked, say so rather than promising it.
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>",
"target": "<target>"
},
"name": "setup_domain_forwarding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to forward (e.g. "foo.com"). | |
| target | Yes | Target URL — must include http:// or https://. | |
| confirm | No | false (default) returns preview; true applies. Pass true ONLY after explicit user confirmation. | |
| acknowledgeNameserverChange | No | Retained for compatibility; it no longer authorises anything. A forwarding setup that requires moving nameservers is refused from chat regardless of this flag and must be done from the dashboard, because consent for a nameserver move has to come from the customer's own click, not from a model argument. |