Add custom domain
add_custom_domainAdds a domain the owner controls, such as www.example.com, to a site, and returns the DNS records to add at their DNS provider. The site is served there once the records are in place; HTTPS is set up automatically. Custom domains come with the Personal and Pro plans.
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": {
"site": "<site>",
"domain": "<domain>"
},
"name": "add_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site name. | |
| domain | Yes | The domain, e.g. "www.example.com" or "example.com". |