git_diff
Show current Git changes in a workspace repository, including staged or working-tree diffs, and limit results to a single file when needed.
Instructions
Get the current diff for a repository inside the workspace.
Args: path: Path to the git repository, relative to the workspace root. staged: If True, show staged (index) changes instead of the working-tree diff. file_path: Optional single file to limit the diff to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| staged | No | ||
| file_path | No |