sandbox_exec
Execute shell commands in a secure Node.js sandbox container to run JavaScript code, install NPM packages, and retrieve execution results safely.
Instructions
Execute one or more shell commands inside a running sandbox container. Requires a sandbox initialized beforehand.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"container_id": "<container_id>",
"commands": "<commands>"
},
"name": "sandbox_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_id | Yes | ||
| commands | Yes |