add_domain
Add a custom domain to your website and get the required DNS records to configure. Simplifies domain setup by returning the exact records needed.
Instructions
Add a custom domain to a website. Returns DNS records you need to configure. Example: 'Add example.com to my website'.
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_id": "<site_id>",
"hostname": "<hostname>"
},
"name": "add_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The website ID (UUID) | |
| hostname | Yes | The custom domain (e.g. www.example.com) |