sandbox_exec
Run shell commands inside a project's sandbox, defaulting to /workspace/repo, to inspect the repository or build manually when automatic installation falls short.
Instructions
Run a shell command (sh -c) inside a project's sandbox, by default in the checkout (/workspace/repo). Use it to inspect the repository, or to build by hand when automatic installation fell short.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"command": "<command>"
},
"name": "sandbox_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory (default /workspace/repo). | |
| stdin | No | Text piped to stdin. | |
| command | Yes | Shell command line. | |
| project | Yes | Installed project: its slug, or its id such as "github:owner/name". | |
| timeout_seconds | No | Time limit (default 120, max 3600). |