Create a subdomain for a work
create_subdomainCreate a new subdomain under a managed domain that shows a work — 'make shop.example.com for my shop'. Only the name before the domain (letters, digits, hyphen). This goes online: ask the user before calling this.
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": {
"domain_id": "<domain_id>",
"name": "<name>",
"target_kind": "<target_kind>",
"target_id": "<target_id>"
},
"name": "create_subdomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name before the domain, e.g. shop. | |
| domain_id | Yes | The managed domain's domain_id 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. |