Attach a domain
attach_domainPoint a domain bought here at a running, deployed service: the DNS zone is created or moved to the service address, the platform attaches the name and issues the certificate within about half an hour. Runs on the call, no approval: it costs nothing, and the same call moves the name to another service (the old one stops serving it). A name still registering is not-ready; a service with no deploy yet is not-deployed; a connected domain (one owned at another registrar) moves from the dashboard instead. The names are the account's heldDomains (unattached) and the domains of its services.
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": {
"name": "<name>",
"serviceId": "<serviceId>"
},
"name": "attach_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the full name, for example shop.com: a held name or one attached to another service | |
| wpSwitch | No | WordPress sites: the site moves to this name once it answers; default true, false keeps the platform address | |
| serviceId | Yes | the id of a service on this account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |