Point a subdomain at a site
add_subdomainServe an owned site at . (use subdomain "@" or "" for the apex — apex needs a provider with CNAME flattening/ALIAS, e.g. Cloudflare). Auto-registers the parent domain. Returns the CNAME record to add (host -> cname.shiply.now); the certificate issues automatically once DNS resolves. Poll with check_domain.
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": "<domain>",
"subdomain": "<subdomain>",
"slug": "<slug>"
},
"name": "add_subdomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | owned site slug to serve there | |
| domain | Yes | registrable parent domain, e.g. example.com | |
| subdomain | Yes | subdomain label, or "@"/"" for the apex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |