Add custom domain
add_custom_domainAttach a domain the user owns (e.g. app.example.com) to a spawnpoint project; this needs a paid plan. Returns the DNS records to create: an ownership TXT record and a routing CNAME (or an A record for a root domain). Relay them to the user verbatim, then call verify_custom_domain once the records exist; only a verified domain serves the project, with HTTPS handled automatically on the first visit. The spawnpoint share URL keeps working alongside.
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": {
"project_id": "<project_id>",
"domain": "<domain>"
},
"name": "add_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | the hostname to attach, e.g. app.example.com; lowercase, no scheme or path | |
| project_id | Yes | the id of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | ||
| url | No | ||
| note | No | ||
| domain | Yes | ||
| status | Yes | ||
| project_id | Yes |