get_diff_stats
Analyze code changes by calculating file modifications and line additions/removals between commits, specific files, or staged content.
Instructions
Get diff statistics (files changed, lines added/removed)
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": "get_diff_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | Show stats for staged changes | |
| file | No | Specific file stats | |
| commit1 | No | First commit for comparison | |
| commit2 | No | Second commit for comparison | |
| cwd | No | Working directory |