Connect domain
domainConnectStart connecting a hostname the human owns and registered to this project. Tofu writes no DNS unless it runs a bought domain’s DNS for this app or the human approves domainAuthorize at their provider: otherwise it returns the exact records to create, whose publication requires the owner’s separate DNS authority. Off shared static hosting, a root or its www brings the other as a redirect once proven, not a second connection: the app’s own proven connection of it serves the app there instead; a never-proven claim of it adds nothing. Unless message says it already sends visitors here, or Tofu runs that DNS, the human sets its listed record in place of any parking or forwarding record; domainAuthorize never writes it. Requires a published app; without room in the account’s plan it refuses and connects nothing; a repeat returns the same connection. next.waitingOn: "tofu": nothing to create or change; oneClick: false: domainAuthorize cannot write this connection’s records.
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": {
"projectId": "<projectId>",
"hostname": "<hostname>"
},
"name": "domainConnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| next | No | ||
| status | Yes | ||
| message | Yes | ||
| hostname | Yes | ||
| createdAt | Yes | ||
| ownership | Yes | ||
| dnsRecords | Yes | ||
| lastCheckedAt | Yes | ||
| providerVerification | Yes | ||
| connectedDeploymentId | Yes |