dev_diff_stats
Diff / PR stats and review risk — Parse a unified diff (git diff, diff -u, or a GitHub commit/PR/compare URL - .diff is added automatically) into per-file stats: status (added/deleted/renamed/modified/binary), additions, deletions, hunks and category (source/test/docs/config/lockfile/migration/ci/asset). Adds totals, PR size label XS-XXL, by-extension breakdown, largest files, possible secrets added, debug statements and TODOs added, tests-touched check, and a LOW/MEDIUM/HIGH review-risk verdict with reasons. Pass url= or diff= (raw diff text, up to 1,000,000 chars). Offline parsing. Price: $0.002 USDC (Base, via x402).
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": {
"url": "<url>"
},
"name": "dev_diff_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | e.g. https://github.com/olivierlacan/keep-a-changelog/compare/v1.0.0...v1.1.0 |