Get custom domain
get_custom_domainGet a single custom domain by hostname: its lifecycle status, the DNS records the customer must publish, its routing (slug_prefix + root_endpoint), and any human-facing check/certificate messages. Use this to answer 'is my domain live yet?' and to re-display the DNS records for a pending domain.
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": {
"hostname": "<hostname>"
},
"name": "get_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | the custom domain hostname, e.g. shop.customer.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| hostname | Yes | ||
| dns_records | No | ||
| slug_prefix | No | ||
| verified_at | No | ||
| activated_at | No | ||
| display_name | No | ||
| root_endpoint | No | ||
| last_check_message | No | ||
| cert_status_message | No |