solari_sandbox_create
Create a headless sandbox (microVM). Returns its sessionId.
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": "solari_sandbox_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | No | ||
| memMb | No | ||
| volumes | No | Persistent volumes to attach at start-up, by id and mount path. Contents survive this session being destroyed; attach the same volume to a new session afterward to pick up where you left off. | |
| metadata | No | Free-form string key/values stored on the session and returned by solari_list / the REST list (filterable there). For tagging and cleanup. | |
| template | No | ||
| isolation | No | VM isolation tier. "shared" runs inside a VM shared with your other shared sandboxes (smaller footprint, faster start). "dedicated" (default) is your own VM. "hardened" is your own VM with outbound network blocked; refused if the assigned host doesn't support it. | |
| parkMaxMs | No | Wake a parked session unconditionally after this many ms, even if idle. | |
| ttlSeconds | No | Legacy idle-window fallback in seconds, only used when the gateway's default timeout is not already set by another field. Usually unnecessary. | |
| parkAfterMs | No | Auto-park (freeze, keep the slot) after this many ms of no activity. | |
| fromSnapshot | No | Boot from this snapshot id (snap_…, from solari_snapshot) instead of the template. | |
| checkpointEveryMs | No | Take a durable checkpoint at most this often while the session runs. | |
| hibernateAfterParkedMs | No | Escalate a parked session to a full hibernate after this many ms parked. |