run_command
Run shell commands in a sandbox to safely execute AI-generated code and retrieve stdout, stderr, and exit code.
Instructions
Execute a shell command inside a sandbox. Returns stdout, stderr, and exit code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to execute | |
| timeout | No | Command timeout in seconds (default: 30) | |
| sandbox_id | Yes | Sandbox ID returned by create_sandbox |