Choose what a domain shows
set_domain_frontDecide which work (website, form, shop) is shown at the root of a domain. where=managed: a managed domain, root and www together (domain_id). where=custom: one connected hostname (custom_id). This changes what visitors of the domain see: ask the user before calling this. Pass replace=true only if the user said to replace foreign DNS 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": {
"where": "<where>",
"domain_id": "<domain_id>",
"target_kind": "<target_kind>",
"target_id": "<target_id>"
},
"name": "set_domain_front"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | Yes | What the domain shows: the account's managed start page, or a custom target you set yourself. | |
| replace | No | Only for managed: replace foreign DNS records at root and www. | |
| domain_id | Yes | domain_id (managed) or custom_id (custom) from get_address_plan. | |
| target_id | Yes | The work's id from get_address_plan. | |
| target_kind | Yes | What should be shown: site, form or shop. |