review_changes
Run OpenAI Codex to review code changes in git repos or directories. Select unstaged, staged, or last-commit changes to receive AI-generated feedback.
Instructions
Review code using OpenAI Codex. Works with git repos (reviews diff) or plain directories (reviews all source files).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Path to the directory or git repository (defaults to server working directory) | |
| type | No | Which changes to review: unstaged working-tree changes, staged (cached) changes, or the last commit. Only used for git repos. | |
| model | No | Override the Codex model (e.g. "o3", "gpt-4.1") | |
| instructions | No | Additional review focus or instructions to append to the review prompt |