execute_in_sandbox
Execute untrusted shell commands or code in an isolated, non-root Docker sandbox with CPU/memory limits and timeout enforcement.
Instructions
Executes untrusted shell commands or code payloads inside an isolated, non-root ephemeral Docker container with strict CPU/memory limits and timeout enforcement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code or shell command to execute inside the sandbox | |
| timeoutMs | No | Execution deadline in milliseconds (default: 5000) |