summarize_diff
Inspect Git diffs and return a compact structured summary of changed files, additions, deletions, and diff content, enabling clear code-change summarization.
Instructions
Inspect the current Git diff and return a compact structured summary of changed files, additions, deletions, and the actual diff for the assistant to summarize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Optional Git ref such as main, HEAD~1, or origin/main. | |
| path | No | Optional file or directory relative to the workspace. | |
| staged | No | When true, inspect staged changes instead of working-tree changes. | |
| maxDiffChars | No | Maximum number of diff characters returned. |