Create a machine
instabox_create_machineCreate a Linux Firecracker microVM from a template or snapshot, optionally waiting until it is running. Use it to launch isolated Debian machines with Docker and persistent /data storage.
Instructions
Create a Linux machine (Firecracker microVM, Debian, root, Docker, 20 GiB persistent /data; home is /data/home) from a template or one of your snapshots. Starts as an asynchronous operation; by default this waits until the machine is running. Give templateId OR snapshotId (neither: agent-browser). Leave size fields out for the default 4 vCPU / 8 GiB; other sizes must be ones your plan allows (see instabox_whoami allowedSpecs). Counts against your machine limit even when stopped or paused.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "instabox_create_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 1-63 lowercase letters, digits or '-', starting with a letter or digit; unique. Omit for box-<random> | |
| wait | No | Wait for the operation to finish before returning (default true) | |
| vault | No | false disables personal Vault delivery. Use false for machines that run untrusted code | |
| vcpus | No | vCPUs of one of your allowed sizes | |
| memMiB | No | Memory in MiB of one of your allowed sizes | |
| secrets | No | Org proxy Secrets to enrol. SECURITY: code in the machine can send these to their allowed hosts | |
| metadata | No | Up to 32 string labels. Stored in plain text: never put secrets here | |
| guestUser | No | Linux user inside the machine (default 'user'). Fixed at creation | |
| envSecrets | No | Org env Secrets (real values enter the machine and are readable by any process). Use sparingly | |
| snapshotId | No | Create from this snapshot instead of a template | |
| templateId | No | Template ID, e.g. universal or agent-browser | |
| desiredState | No | 'stopped' stops it once set up | |
| deleteAfterSeconds | No | Delete the machine automatically after this long (60-86400). Good for throwaway sandboxes | |
| waitTimeoutSeconds | No | Max seconds to wait (default 300) | |
| autoSuspendAfterSeconds | No | Idle seconds before auto-pause (120-86400, 0 = never). Only honoured on accounts with manual lifecycle; otherwise fixed at 1800 |