shell_interpreter
Overviewâ
shell_interpreter executes shell / bash commands in a sandboxed environment.
It is intended for command-line workflows rather than data analysis logic.
Parametersâ
{
"code": "shell command(s)"
}
What it doesâ
- runs bash / shell commands
- enforces sandbox isolation
- applies security checks for dangerous patterns
- limits memory and execution time
Runtime characteristicsâ
- memory limit: 256MB
- timeout: 30s
- no persistent shell state between calls
When to use itâ
- inspect files and directories
- run CLI utilities such as
ls,grep,curl,git,pip - perform shell-level environment tasks
Exampleâ
{
"code": "ls -la"
}
Notesâ
- use
code_interpreterfor Python analysis instead - use
html_interpreterfor final rendered output - if a skill explicitly requires another execution path, follow the skill instructions