codex_review
Runs Codex code review on a Git repository to inspect branch, commit, or uncommitted changes with optional custom review instructions.
Instructions
Run Codex's built-in non-interactive code review (codex exec review) on a Git repository.
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 to review. | |
| base | No | Review changes against this base branch (e.g. 'main'). | |
| model | No | Optional model override for Codex. Omit to use the model selected in the Codex Bridge UI panel or ~/.codex/config.toml. | |
| title | No | Optional title to display in the review summary. | |
| commit | No | Review changes introduced by a specific commit SHA. | |
| config | No | Optional Codex config overrides in 'key=value' TOML format (passed as -c). | |
| prompt | No | Optional custom review instructions. | |
| uncommitted | No | Review staged, unstaged, and untracked changes in the working tree. | |
| timeout_seconds | No | Maximum seconds to wait before aborting (default 600). | |
| reasoning_effort | No | Optional reasoning effort override for Codex. Omit to use the level selected in the Codex Bridge UI panel or Codex default. |