Bash
bashRuns validation commands like builds, tests, and lint checks, returning durable run IDs for long-running tasks so you can track results without repeating the command.
Instructions
Run one allowlisted verification command. In execution_mode=auto, long build, test, smoke, lint, typecheck, and validation commands return immediately with a durable run id and continue locally. Use run_task_status and read_run_task_result instead of repeating the command after a transport error. Short commands still return synchronously. Do not use bash for git status/diff or file inspection; use show_changes, tree, search, and read instead. Do not chain commands with &&, pipes, redirects, or shell file readers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory relative to workspace root. Default: . | |
| run_id | No | Optional durable run id for an asynchronously dispatched long command. | |
| command | Yes | Command to run. | |
| task_mode | No | Optional Task Router mode override for this command. | |
| session_id | No | Optional bash session id. If configured on the server, a provided value must match it. | |
| timeout_ms | No | Timeout in milliseconds. Default: 30000. | |
| workspace_id | No | Optional workspace id. When omitted, CodexPro binds the authoritative conversation workspace automatically; an explicit unknown or mismatched id is rejected. | |
| execution_mode | No | Default: auto. Long validation commands run durably; sync forces direct waiting; async always returns a run id. | |
| conversation_id | No | Connector conversation id bound to this workspace. Modern MCP injects it automatically; side-effecting tools require it to match the authoritative binding. | |
| task_instruction | No | Optional original user task for Task Router mode control. | |
| workspace_generation | No | Optional authoritative workspace generation. When omitted, CodexPro injects the conversation-bound generation; an explicit stale generation is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_result | Yes |