domain_add
Give a Service a public domain: a hostname the member owns, or with Ployz Cloud a generated one under the cluster domain. Staged until the next Deploy. A custom hostname comes back with the DNS records the member must create. This call asks no human.
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": {
"service": "<service>"
},
"name": "domain_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Container port it reaches. Default: the container's PORT. | |
| prefix | No | Prefix for a generated domain, PREFIX.cluster-domain; needs Ployz Cloud. Omit both prefix and hostname for a free one. | |
| project | No | Project name. | |
| service | Yes | ||
| hostname | No | A hostname the member owns, e.g. app.example.com. Not with prefix. | |
| environment | No | Environment name, e.g. staging. | |
| expect_revision | No | Writes only if the place is still at this revision. |