Run Validation
run_validationRun project checks and tests with durable background execution for long builds. Short commands run synchronously; long ones return a run id for status and result retrieval.
Instructions
Run project checks with durable handling for long builds and test suites. In execution_mode=auto, long commands return immediately with a run id and continue locally; use run_task_status and read_run_task_result for the final result. Short checks still return synchronously.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| run_id | No | ||
| commands | No | ||
| session_id | No | ||
| tail_lines | No | ||
| timeout_ms | No | ||
| output_mode | No | Response verbosity only; does not imply durable report persistence. | |
| 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 builds/tests use durable background execution; sync forces direct waiting; async always returns a run id. | |
| save_full_logs | No | Legacy compatibility override; prefer persistence_mode. | |
| 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. | |
| persistence_mode | No | Durable report policy independent of response verbosity. | |
| 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 |