Add a custom domain to a site
add_site_domainAdd a custom domain to a hosted site. It starts as pending, and the answer gives two DNS records: a TXT record that proves control of the domain, and a CNAME record that sends its traffic to SHIP. The domain goes live after SHIP finds the TXT record and the certificate is active. Needs a paid plan. This tool calls the SHIP API, documented at https://letsship.ai/docs/api. Requires the config:write capability.
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": {
"siteId": "<siteId>",
"hostname": "<hostname>"
},
"name": "add_site_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id from list_sites | |
| hostname | Yes | The custom domain, e.g. 'blog.example.com' |