Get Git diff
git_diffReview unstaged or staged code changes in your project. Optionally filter the diff to a specific file or directory for targeted inspection.
Instructions
Reviews current unstaged or staged code changes. Optionally limit the diff to one project-relative path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| staged | No | ||
| project | Yes | Project key from list_projects. |