Create or update a sandbox
save_sandbox_templateCreate a sandbox (omit templateId) or change one. A definition is Dockerfile steps on the platform base (RUN, ENV, ARG, WORKDIR, USER; no FROM). A changed definition or size becomes a new version and is built at once; the response carries that build. Refusals name the line or the size bound.
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": "save_sandbox_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required when creating | |
| size | No | A tier, or { vcpu, memoryMib, diskMb } within 1-4 vCPU, >=3072 MiB per vCPU, <=12288 MiB, 8000-20000 MB | |
| starterId | No | Create from a starter's definition and size | |
| dockerfile | No | The Dockerfile that builds the sandbox image. Give this or starterId to create; it replaces the file on an update | |
| templateId | No | Sandbox id (sbt_...) |