Set a site's own domain
set_custom_domainServe one of your sites on your own domain, such as www.myapp.com (Pro). Returns the DNS record to add; the domain works once the record is in place and the certificate is issued. Call it again with the same domain to check progress.
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": "set_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Your site: its address ("habitly" for habitly.apppage.net) or id, as list_my_sites returns. | |
| domain | Yes | The domain, e.g. www.myapp.com. |