code_review_diff
Analyze a git diff as a pull request review. Supply diff text or file, and optional context for the review.
Instructions
Review a git diff (e.g. git diff main...HEAD) as if for a pull request.
Provide exactly one of diff (inline diff text) or diff_file (a
server-side path to a saved diff). context can carry the PR
description or any background the model should know.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | ||
| think | No | ||
| context | No | ||
| diff_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |