Create service
service_createCreate a new Lizard service, either empty for later configuration or deploying a GitHub repository by passing its URL. A domain is assigned after the build completes.
Instructions
Use this when the user wants to create a new empty Lizard service, or deploy a GitHub repository as a new service. Omit repoUrl for an empty service you configure later; provide repoUrl to deploy that repo immediately. Calling this again creates another service, even with the same name — it does not update an existing one. A *.onlizard.com domain is assigned automatically, but not until the build finishes and the service boots — this response's domain field will be null right after creation, that is expected, not an error. Do not invent, guess, or predict a hostname to fill that gap. Tell the user the deploy is in progress and the domain isn't assigned yet; poll service_show or deploy_events and report the real domain value once it's non-null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Service name | |
| region | Yes | Deployment region code — call region_list first if unsure of valid values, do not guess | |
| envVars | No | ||
| project | Yes | ||
| repoUrl | No | GitHub repo URL — when provided, this becomes a deploy of that repo | |
| containerPort | No | ||
| skipInitialDeploy | No | With repoUrl: attach the repo but skip the initial build |