Attach domain
attach_domainPoints a domain the owner already has at their site, e.g. www.oaklinegoods.com (AiWebInfra sells none). Pro plan only. Returns two DNS records to add, record (CNAME/ALIAS: routes) and ownership (TXT: proves it is theirs), checked for a week (domain_status (area domains) follows them); the site changes only once the domain is live. The answer carries steps for the owner’s situation, instructionsUrl (a 7-day page with them), warning when something must happen first, and beforeGoLive (the go-live checklist). AiWebInfra never takes DNS credentials. A bare domain (example.com): check_domain (area domains) first — at a DNS host with no ALIAS-style record (GoDaddy and the like) the site goes on www instead, and the answer then carries wwwInstead and says not to add the records. Full reference: get_reference {topic:"domains"}.
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": {
"siteId": "<siteId>",
"domain": "<domain>"
},
"name": "attach_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The hostname to attach, e.g. "www.oaklinegoods.com" — not a URL | |
| siteId | Yes | Site id (from list_sites) |