codex_start_review_workflow
Starts a durable code review workflow and returns an ID for progress polling. Automates code review for changes, commits, or branches.
Instructions
Start a durable Codex review workflow and return workflowId immediately. Use this for code review tasks. Next poll codex_get_workflow_status for progress and final report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | No | ||
| project_id | No | ||
| cwd | No | ||
| target_type | Yes | ||
| base_branch | No | ||
| commit_sha | No | ||
| commit_title | No | ||
| instructions | No | ||
| delivery | No | ||
| client_request_id | No | ||
| model | No | ||
| sandbox | No | read-only | |
| approval_policy | No | on-request | |
| timeout_seconds | No | ||
| first_message_max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |