vcs_diff
Compare Git repository changes between commits, branches, or files to track modifications and review differences in code versions.
Instructions
Get repository diff
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": "vcs_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | Whether to show staged changes | |
| file | No | Specific file to diff | |
| base | No | Base ref to compare against | |
| head | No | Head ref to compare against |