git_diff
Inspect local changes by showing the diff for a GitHub repository, choosing unstaged or staged changes.
Instructions
Show the local diff. Use staged=false for unstaged changes and staged=true for staged changes.
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 |
|---|---|---|---|
| staged | No |