git_diff
Identify code changes by retrieving the git diff, with an option to include staged changes. Specify a working directory to inspect modifications in your repository.
Instructions
Get git diff (optionally staged)
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 |
|---|---|---|---|
| cwd | No | ||
| staged | No |