Create Cube
create_cubeProvision a new Cube in a Krova Cloud Space with specified vCPU, RAM, disk, and SSH key. Starts hourly billing upon creation.
Instructions
Create (provision) a new Cube in a Space. Provisioning is asynchronous — the returned Cube begins in a pending state. Destructive/billable: creating a Cube starts hourly billing.
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>",
"vcpu": "<vcpu>",
"ramGb": "<ramGb>",
"diskGb": "<diskGb>",
"sshPublicKey": "<sshPublicKey>"
},
"name": "create_cube"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable Cube name. | |
| vcpu | Yes | Number of virtual CPUs. Default per-space cap is 16 (can be raised for your space). | |
| image | Yes | OS image slug (see the list_images tool for valid values). | |
| ramGb | Yes | RAM in whole GiB. Default per-space cap is 32 GB (can be raised for your space). | |
| diskGb | Yes | Disk in GiB — minimum 10, in steps of 5. Default per-space cap is 100 GB (can be raised for your space). | |
| region | No | Optional region slug (see the list_regions tool). Omit to let Krova Cloud auto-select a region with capacity. | |
| spaceId | No | Krova Cloud Space id. Optional if KROVA_SPACE_ID is set as the server default. | |
| userData | No | Optional cloud-init script (max 16 KiB). | |
| sshPublicKey | Yes | SSH public key written to the Cube login user's authorized_keys at boot — ~/.ssh/authorized_keys for the ubuntu or debian user, /root/.ssh/authorized_keys on Cubes created before the default-user change. Use get_cube_ssh to learn which user a given Cube logs in as. Must start with ssh-ed25519, ssh-rsa, ecdsa-sha2-*, ssh-dss, or sk-*@openssh.com. | |
| terminationProtection | No | Opt this Cube out of customer-initiated deletion. When true, `delete_cube` is rejected with 409 until you call `unprotect_cube`. Power-off, wake, restart, snapshot, and restore remain allowed regardless. Default false when omitted — agents must opt in deliberately. |