repository_diff
Read a local Git repository diff without altering files. Specify staged or unstaged changes to review modifications before committing.
Instructions
Read a repository diff without changing files.
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": {
"repositoryPath": "<repositoryPath>"
},
"name": "repository_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | ||
| repositoryPath | Yes |