scalix_run_deploy
Deploy a long-running container service on Scalix Run from a container image. Creates a new service, or a new revision of an existing service with the same name, with health checks, a public HTTPS URL, and autoscaling between min_instances and max_instances (min 0 = scale-to-zero when idle). Billed per vCPU-hour while instances run. Roll back a bad revision with scalix_run_rollback.
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": {
"name": "<name>",
"image": "<image>"
},
"name": "scalix_run_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment variables as key-value pairs | |
| name | Yes | Service name | |
| port | No | Port the container listens on | |
| image | Yes | Container image from the Scalix registry ({registry}/{project_id}/{repo}:{tag}). External registries (Docker Hub, etc.) are NOT supported — build & push first with scalix_build_create. | |
| region | No | Canonical region id to deploy into (from GET /v1/regions). Omit to use the organization's recorded region preference. | |
| max_instances | No | Maximum instances | |
| min_instances | No | Minimum instances (0 = scale to zero) | |
| region_pinned | No | true = hard-pin placement (initial AND scale-out replicas) to `region`: the deploy fails closed when that region has no capacity instead of placing elsewhere. Requires `region`. |