git_diff
Compare working directory with last commit or staging area. View unstaged or staged changes, optionally filtering by specific files.
Instructions
Show changes between working directory and HEAD or staging area.
USAGE: Call this tool to see the differences between your working directory and the last commit, or between staging area and HEAD.
Examples: {} - Show all unstaged changes {"staged": true} - Show staged changes {"files": ["src/main.js"]} - Show changes for specific file(s)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | Show staged changes instead of unstaged, default false | |
| files | No | Specific files to show diff for |