Add Domain
kinsta_domains_addAdd a custom domain to a Kinsta environment to connect your domain to the site.
Instructions
Add a custom domain to an environment.
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": {
"env_id": "<env_id>",
"domain_name": "<domain_name>"
},
"name": "kinsta_domains_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | The environment ID | |
| setup_type | No | ||
| domain_name | Yes | The domain name to add (e.g. example.com) | |
| custom_ssl_key | No | ||
| custom_ssl_cert | No | ||
| is_wildcardless | No | ||
| add_with_www_subdomain | No |