review_pr_diff
Analyze a pull request diff with ruff linting and legacy regex rules to identify code issues. Provides structured findings for quick review.
Instructions
Review a PR diff using ruff + legacy regex rules. Returns structured findings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"pr_number": "<pr_number>"
},
"name": "review_pr_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| pr_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |