git_diff
Review staged and unstaged changes to tracked files before committing; read-only, reports clean when none exist, and excludes untracked files.
Instructions
Return git diff HEAD: all uncommitted changes (staged and unstaged) to tracked files, or '(clean)'. Read-only. Use after repo_write and before commit_push to review edits; brand-new untracked files are not shown.
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": "git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||