getGitDiff
Retrieve the git diff output for your workspace or a specific file. Optionally show staged changes and control context lines length.
Instructions
Get the git diff output for the workspace or a specific file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Filter diff to a single file (absolute or workspace-relative) | |
| staged | No | Show staged (cached) changes. Default: false | |
| context | No | Number of context lines around changes. Default: 3 |