create_sandbox
Create a secure sandbox environment to run AI-generated code in isolated microVMs. Returns a sandbox ID for managing the sandbox lifecycle.
Instructions
Create a new secure sandbox environment. Returns a sandbox_id to use with other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envs | No | Environment variables to set in the sandbox | |
| timeout | No | Sandbox timeout in seconds (default: 300) | |
| template | No | Sandbox template: base, python, node, code-interpreter, ai-agent, mcp-server, web-dev, devops | base |
| allowed_domains | No | Domain allowlist for outbound network access (e.g. ["pypi.org", "github.com"]). Overrides network deny-all. | |
| security_preset | No | Security preset. "none": no guardrails. "standard": PII scanning + audit logging. "strict": PII + injection defense + audit + network deny-all. | standard |