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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "summarize_diff"
}
}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. |