scalix_computer_create
Get or create a persistent Linux machine by name. Idempotent — calling it again with the same name returns the existing machine rather than creating another, so it is safe to retry. Unlike a sandbox, the disk survives stop/start and is only erased by scalix_computer_delete.
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>"
},
"name": "scalix_computer_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Machine name: lowercase letters, digits and hyphens, max 63 characters. Unique to you. | |
| vcpus | No | vCPUs, 1-16 (default 1). Ignored if the machine already exists. | |
| region | No | Optional canonical region id (from GET /v1/regions) to place the machine in. Ignored if the machine already exists — a Computer is host-bound for life. Omit to let the platform pick. | |
| disk_gb | No | Root disk in GB, 5-200 (default 10). Fixed at create — disks do not grow. Ignored if the machine already exists. | |
| ssh_keys | No | OpenSSH public keys to authorise for root, max 32, e.g. ["ssh-ed25519 AAAAC3Nz… you@laptop"]. Only needed if a human will ssh in — exec, write_file and read_file all work without one. Send the public half only; a private key is rejected. Ignored if the machine already exists — use scalix_computer_set_ssh_keys to change them. Supplying this needs the sandbox:execute scope on top of sandbox:create, because a key is a root shell; omit it and sandbox:create alone is enough. | |
| memory_mb | No | Memory in MB, 512-32768 (default 1024). Ignored if the machine already exists. |