Set domain
set_domainAttach a custom domain (apex + www pair, or one subdomain) and return the DNS records the user needs to create; the values are specific to this project. Attaching doesn't publish. clear_domain detaches. 409 = a variant is on another Vercel project; 403 upgrade = plan domain limit. Details: get_style_reference({ topic: "domains" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. Pass it on every call. | |
| domain | Yes | Apex or www form; both variants are registered. Detach with clear_domain. | |
| redirectMode | No | to-apex (default, www → apex 308) | to-www | none. |