Git Diff
git_diffRetrieves unstaged and staged Git changes for an approved workspace directory, helping you review modifications before committing.
Instructions
Get git diff unstaged and staged changes for an approved workspace directory.
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 |
|---|---|---|---|
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||