git_diff
Get diff of changes in a Git repository, with option to compare against a specific reference (default HEAD).
Instructions
Get diff of changes. Defaults to diff against HEAD.
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 | Git ref to diff against (default: HEAD) |