shell
Runs bounded worker-side commands in a sandbox and optionally returns compact failure summaries for tests, builds, or lint to reduce output.
Instructions
Run a bounded worker-side command inside SANDBOX_ROOT. Use digest:true for tests/builds/lint so Codex receives a compact failure summary.
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": {
"command": "<command>"
},
"name": "shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| digest | No | ||
| command | Yes | ||
| timeout_ms | No | ||
| allow_destructive | No |