set_custom_domain
Mutation/readOnly:false, script-tier/no-model-token action. Connect the owner's own domain to the storefront website (for example example-marine.com). Both the bare domain and the www version are set up, with one redirecting to the other. The result has dnsRecords: the records the owner must add at their DNS provider. Relay them exactly as received (type, host, value), one per line, and tell the owner the change can take a while to show up. The domain stays unverified until the DNS records are in place; check with get_custom_domain. The plan must include a custom domain, and the storefront must already be live.
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>",
"proAccessToken": "<proAccessToken>"
},
"name": "set_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain to connect, such as example-marine.com (no https:// and no path). | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |