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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "code_review_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | ||
| think | No | ||
| context | No | ||
| diff_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |