drive_sandbox_exec
Execute a shell command in a per-workspace Linux sandbox, capturing stdout/stderr, exit code, and execution duration.
Instructions
[EXPERIMENTAL] Run a shell command inside the per-workspace Linux sandbox. Captures stdout/stderr (64 KB cap), exit code, duration. Requires Cloudflare Containers; degrades to 503 otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | Shell command to run inside the per-workspace Linux sandbox | |
| cwd | No | Working directory (default: workspace root) | |
| timeout_ms | No | Max runtime in ms (default 30000, hard cap 60000) | |
| workspace_id | Yes | Workspace whose sandbox to run in |