Connect custom domain
set_domainConnect a custom domain the user owns to an HTML page of format html or a site, without a password. Needs a profile token, or an owner token added to a free BrewPage profile (up to 5 domains). Returns the DNS records for the user to create exactly as returned.
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": {
"type": "<type>",
"namespace": "<namespace>",
"id": "<id>",
"hostname": "<hostname>"
},
"name": "set_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| hostname | Yes | Bare hostname: www.example.com | |
| namespace | Yes | ||
| ownerToken | No |