magento_analyze_diff
Analyze git diffs for risk scoring and change classification. Get per-file impact analysis on commits or staged changes.
Instructions
Analyze git diffs for risk scoring, change classification, and per-file impact analysis. Works on specific commits or staged changes. Useful for code review.
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": "magento_analyze_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | Set true to analyze staged changes, false to require commitHash. Default: true. | |
| commitHash | No | Git commit hash to analyze. If omitted, analyzes currently staged (git add) changes instead. |