codex_review
Run non-interactive code reviews on uncommitted changes, branch diffs, or specific commits in a Git repository, with optional custom instructions and base-branch comparison.
Instructions
Run non-interactive Codex code review (codex review) on uncommitted changes, a branch diff, or a specific commit.
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": {
"cwd": "<cwd>"
},
"name": "codex_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path to the Git repository. | |
| base | No | Review changes against this base branch. | |
| group | No | Task group name in the orchestrator ledger. | 代码审查 |
| title | No | Optional commit title to show in the review summary. | |
| commit | No | Review changes introduced by a specific commit SHA. | |
| prompt | No | Optional custom review instructions. | |
| task_name | No | Child task label in the orchestrator ledger. | |
| uncommitted | No | Review staged, unstaged, and untracked changes. | |
| wait_seconds | No | Seconds to wait before returning running status with job_id (0..600). |