atr_diff
Compare commits, branches, or uncommitted changes with a compact git diff: one line of context, lockfiles/generated/binary files listed but not shown. Use instead of git diff.
Instructions
What changed, compactly: git diff with 1 line of context, lockfiles/generated/binary files listed but not shown. Default: uncommitted changes. Use instead of git diff.
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": "atr_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Compare with this commit/branch, e.g. main or HEAD~1. | |
| file | No | Only this file (path from the repo root). | |
| path | No | Folder inside the repo (default: the project). | |
| budget | No | ||
| staged | No | Only staged changes. |