Create machine
create_machineCreates a new Hadronbox sandbox Linux VM with a /workspace directory, waits until running, and returns its machine ID for subsequent commands.
Instructions
Create a new hadronbox sandbox machine (a Linux VM with a /workspace directory) and wait until it is running. Returns its machine_id. Machines cost credits while running; reuse an existing one (list_machines) when you can.
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": "create_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique machine name: 2-40 lowercase letters, digits and dashes, starting with a letter or digit, e.g. "agent-task-1". | |
| size | No | small (2 vCPU / 2 GiB, default), medium (2 vCPU / 4 GiB) or large (4 vCPU / 8 GiB). | |
| tools | No | Tools installed in the background after boot, e.g. ["node", "python"]. | |
| template | No | Template code; omit for the default image. | |
| wait_until_running | No | Wait up to 3 minutes for the machine to start (default true). |