Attach a custom domain
add_app_domainAttach a domain the customer owns to an app. THIS DOES NOT MAKE IT LIVE: it returns the DNS records they must create at their registrar, and the domain stays pending until those records resolve and a certificate is issued. Tell them the records, then use list_app_domains to check whether it has gone live. For a free address on our own domain, use add_roar_domain instead.
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": {
"appId": "<appId>",
"domain": "<domain>"
},
"name": "add_app_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The app id returned by deploy_app or list_apps | |
| domain | Yes | The domain the customer owns, e.g. app.theircompany.com |