Review Auto
review_autoAutomatically selects the appropriate code review method—reviewing a provided diff or analyzing git workspace changes—based on available input.
Instructions
Smart wrapper that chooses review_diff when a diff is provided; otherwise chooses review_git_diff for the current git workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base ref for git comparisons (review_git_diff only) | |
| diff | No | Unified diff content (selects review_diff in auto mode) | |
| task | No | Return a task ID and track review progress without blocking (default: false) | |
| tool | No | Force tool selection. One of: 'auto', 'review_diff', 'review_git_diff'. Default: auto. | auto |
| target | No | Git target to review (review_git_diff only). Default: 'staged'. | |
| background | No | Run review without blocking the tool call (default: false) | |
| changed_files | No | Optional list of changed files (review_diff only) | |
| include_patterns | No | File globs to include (review_git_diff only) | |
| response_version | No | Response shape version. Default is v1. | v1 |
| review_diff_options | No | Options passed through to review_diff (advanced/CI-oriented) | |
| review_git_diff_options | No | Options passed through to review_git_diff (same as review_changes options) |