git_git_diff
Display differences in working tree or staging area of a Git repository. Filter by file path or specify repository directory to narrow the scope of changes shown.
Instructions
[git] Show changes in the working tree or staging area.
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_git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | ||
| path | No | ||
| repo_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |