List custom domains
list_domainsRetrieve custom domains and their status, problem details, DNS records, and publication without a DNS check, either as a full profile list with limits or one domain by hostname or publication.
Instructions
Read custom domains without running a DNS check: status, problem, DNS records and the publication shown. No address: every custom domain of the profile plus how many it holds and may hold. With type, namespace and id, or with hostname: that one custom domain.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Publication ID | |
| type | No | Publication type; with namespace and id, instead of hostname | |
| hostname | No | Custom domain as a bare hostname, e.g. www.example.com; instead of type, namespace and id | |
| namespace | No | Publication namespace | |
| ownerToken | No | Whole list or by hostname: an admin profile token. By publication: a profile token or an owner token added to the profile. Default: env BREWPAGE_OWNER_TOKEN (local server only). |