git_diff
View Git diffs instantly with git_diff in EngineeringOS MCP: compare commits, branches, or working tree to identify code changes fast.
Instructions
Show the stat-and-patch diff for a single Git commit, as evidence for a specific change.
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": {
"repo_path": "<repo_path>"
},
"name": "git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | HEAD | |
| repo_path | Yes |