git-diff
Compare differences between commits, branches, or the working directory by specifying a target reference and optional directory.
Instructions
Shows differences between commits, branches, or working directory
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": "git-diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Target to compare against (commit hash, branch name, etc.) | |
| directory | No | The directory to run the command in (defaults to current working directory) |