Run command in sandbox
run_in_sandboxExecute shell commands inside a session's sandbox from the repository root, then return the exit code and combined output for validation or debugging. No network access.
Instructions
Run a shell command from the repository root inside a session's sandbox. Returns the exit code and combined stdout/stderr, truncated in the middle if very long. No network access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command, run with sh -c | |
| timeout_s | No | Kill the command after this many seconds | |
| session_id | Yes |