Run Shell Command
run_bashExecute shell commands in a secure containerized workspace. Includes standard tools, pipes, redirects, and Python via uv.
Instructions
Run a shell command in /workspace. Returns [Exit code: N] + merged stdout/stderr, truncated at 50KB.
Tools: curl, git, jq, patch, tree, fd, rg, zip, tar and standard coreutils. Supports pipes, redirects, &&, ||.
Python/packages (uv only — no python/pip): uv run script.py Run scripts (auto-installs deps from imports) uv add/remove Manage project dependencies uv init Scaffold new project with pyproject.toml uvx Run CLI tools without install (e.g. uvx ruff check .)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to execute. | |
| timeout | No | Max seconds before kill. Increase for long builds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |