forge_diff
Compare quality changes between git branches or commits. Identify new findings and resolved issues to review pull request impact on code quality.
Instructions
Analyze quality delta between two git refs. Shows score change, new findings introduced, and resolved findings. Useful for PR quality checks.
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": {
"directory": "<directory>"
},
"name": "forge_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Absolute path to the git repository | |
| base | No | Base branch or commit to compare against (default: main) | |
| head | No | Head branch or commit (default: HEAD) | |
| staged | No | Analyze staged changes only |