pangea_domain_add
Registers a custom domain for an HTTP project and returns the TXT ownership record and CNAME target needed to verify domain ownership.
Instructions
Register a custom domain (up to 5 per HTTP project) and generate the _pangea-challenge. TXT ownership record and CNAME target.
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": "pangea_domain_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Optional project ID (prj_...) or project name (omit when directory has pangea.yaml) | |
| hostname | Yes | Lowercase domain name (e.g. 'app.yourdomain.com', not *.pangea.host) | |
| directory | No | Optional local directory containing pangea.yaml |