Attach domain
domain_attachAttach a custom hostname to a deployed service, or generate a default Lizard subdomain when no domain is assigned yet.
Instructions
Every app already gets a *.onlizard.com domain automatically on its first deploy (check service_show's domain field before calling this — do not invent or guess a hostname). Only call this tool when the user explicitly wants to attach their own custom domain (pass hostname), or when service_show shows no domain yet (e.g. the service was created with skipInitialDeploy and never deployed) and they want one generated. Calling this again without hostname generates another subdomain rather than returning the existing one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| force | No | Move the domain here if it's attached to another of your services | |
| project | Yes | ||
| service | Yes | ||
| hostname | No | Custom hostname to attach; omit to generate a default subdomain |