Add domain
domains_createBind a custom domain. It starts unverified and returns the DNS TXT record that proves ownership; verification succeeds once that record is published.
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": {
"host": "<host>",
"role": "<role>"
},
"name": "domains_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | RFC 1035 hostname, lowercase. Trailing dots are stripped. | |
| role | Yes | `portal` = login + admin UI. `redirect` = short-link host. `landing` = public landing pages. | |
| companyId | No | Pin to a company (white-label). Omit for tenant-wide hosts. |