repo_git_diff
Retrieve the diff of changes in a local Git repository, with options for staged changes and byte limits.
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": "repo_git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staged | No | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | ||
| branch | Yes | ||
| truncated | Yes | ||
| repository | Yes | ||
| hidden_files | Yes |