Set domain
set_domainAn app's custom domain (Pro, one per app): a hostname string adds it and returns the CNAME/TXT records to create at your DNS; null removes it and purges its cached pages. A string while a different domain is set is refused: set null first, then add the new one. The domain serves the app once its status turns active.
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": {
"app": "<app>",
"hostname": "<hostname>"
},
"name": "set_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app slug. | |
| hostname | Yes | The full domain name, e.g. `groceries.silva.family`. Required: pass a string to add, null to remove. A string while a different domain is set is refused: set null first, then add the new one. |