Create a sandbox
sandbox_createCreate a sandbox. Creates a sandbox: a throwaway VM with no project, on the plain base image or on one of your projects' images. It answers at once while the sandbox starts; a command sent to it waits until it is up. It never sleeps and is deleted when ttlMinutes runs out (default 60, at most 1440).
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": "sandbox_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Env vars every command run through this API gets. Stored encrypted. | |
| size | No | ||
| orgId | No | The team it belongs to. Defaults to your first team (an API key's own team). | |
| region | No | ||
| projectId | No | Start from this project's current image instead of the plain base image. | |
| ttlMinutes | No | Minutes until the sandbox is deleted. Default 60, at most 1440. |