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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_type": "<target_type>"
},
"name": "codex_start_review_workflow"
}
}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 |