create_sandbox
Spawn an isolated Docker container sandbox with a dedicated /workspace, CPU and memory limits, and a bash/sh environment for safe command and file operations.
Instructions
Spawns a new isolated Docker container sandbox with a dedicated /workspace directory, resource quotas, and bash/sh environment.
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": "create_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Optional environment variables | |
| image | No | Docker image to use for the sandbox (e.g. node:20-alpine, python:3.11-slim) | node:20-alpine |
| cpuLimit | No | CPU cores limit (default 1.0) | |
| memoryLimitMb | No | RAM limit in MB (default 512) |