repository_diff
Return working-tree, staged, or revision-to-revision diffs to inspect local repository changes.
Instructions
Return working-tree, staged, or revision-to-revision local Git diff.
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": {
"repository_path": "<repository_path>"
},
"name": "repository_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | ||
| base_revision | No | ||
| repository_path | Yes | ||
| target_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||