Execute Command in Sandbox
sandbox_execExecute commands in a sandbox and receive stdout, stderr, and exit code. Supports custom working directory, environment variables, and timeout.
Instructions
Execute a command inside a running sandbox and return stdout/stderr/exit code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Sandbox name | |
| command | Yes | Command to execute | |
| args | No | Command arguments | |
| cwd | No | Working directory override | |
| env | No | Additional environment variables | |
| timeout | No | Timeout in seconds |