add_domain
Configure a service to serve on a domain with automatic HTTPS, including wildcard hosts and path-prefix routing so multiple services can share one host.
Instructions
Serve a service on a domain with automatic HTTPS. The host may be a wildcard (*.example.com); several services, even in other projects, can share a host on different path prefixes, and the longest prefix wins.
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>",
"host": "<host>",
"port": "<port>"
},
"name": "add_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | example.com or *.example.com | |
| path | No | Path prefix, default / | |
| port | Yes | Container port | |
| https | No | ||
| service | Yes | Service id or `project.service`, e.g. `shop.api` | |
| via_tunnel | No |