review_auto
Automatically reviews code changes by selecting the appropriate review method based on provided diff or git workspace context.
Instructions
Smart wrapper that chooses review_diff when a diff is provided; otherwise chooses review_git_diff for the current git workspace.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Force tool selection. One of: 'auto', 'review_diff', 'review_git_diff'. Default: auto. | auto |
| diff | No | Unified diff content (selects review_diff in auto mode) | |
| changed_files | No | Optional list of changed files (review_diff only) | |
| target | No | Git target to review (review_git_diff only). Default: 'staged'. | |
| base | No | Base ref for git comparisons (review_git_diff only) | |
| include_patterns | No | File globs to include (review_git_diff only) | |
| 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) |