Git diff
git_diffRetrieve a unified diff of workspace changes, showing staged or unstaged modifications for specified paths with configurable context lines.
Instructions
Return unified git diff for workspace changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| paths | No | ||
| staged | No | ||
| unstaged | No | ||
| max_bytes | No | ||
| context_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No |