git.diff
Inspect staged or unstaged changes in your repository. Filter by specific file paths to view only relevant diffs.
Instructions
Get diff output for staged or unstaged changes with optional path filtering
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Filter to specific file paths (sandbox validated) | |
| staged | No | Show staged (cached) changes (default false) | |
| max_bytes | No | Max output bytes (default 500KB, cap 2MB) |