Add a Custom Domain
varity_domain_addPoint your own domain or subdomain at a deployed app and receive the exact DNS record to add at your registrar, then verify domain ownership.
Instructions
Point the user's own domain (e.g. app.example.com or example.com) at a deployed app. Returns the exact DNS record to add at their domain registrar, in plain words. Then call varity_domain_verify.
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": {
"deployment": "<deployment>",
"hostname": "<hostname>"
},
"name": "varity_domain_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | The domain or subdomain, e.g. app.example.com. | |
| deployment | Yes | The deployment id or app name. |