Review Diff
review_diffAnalyze code diffs with deterministic preflight checks and structured JSON findings. Supports optional AI review and static analysis.
Instructions
Enterprise-grade diff-first review with deterministic preflight and structured JSON output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Unified diff content | |
| task | No | Return a task ID and track review progress without blocking (default: false) | |
| options | No | ||
| base_sha | No | Optional base commit SHA | |
| head_sha | No | Optional head commit SHA | |
| background | No | Run review without blocking the tool call (default: false) | |
| changed_files | No | Optional list of changed file paths |