Подключить свой домен
connect_domainConnect a custom domain to a site.
IMPORTANT: between this call and a working domain stands A PERSON. You
get DNS records — show them to the user and explain they go in at their
domain registrar. Do not wait for readiness: DNS propagates in minutes
to an hour, the platform re-checks on its own, and you check later via
`check_domain`. Spinning here burns time and context for nothing.
The address can be passed as-is: the platform reduces
`https://shop.example.com/page` to `shop.example.com` itself.
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": "<project>",
"domain": "<domain>"
},
"name": "connect_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain without scheme or slash: `example.ru` or `www.example.ru`. | |
| project | Yes | The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| state | Yes | ||
| checks | No | ||
| domain | Yes | ||
| records | Yes | ||
| working | Yes | ||
| next_action | Yes | ||
| next_check_hint | No |