git_diff
Show changes between commits, a commit and the working tree, or staged changes inside a Docker sandbox, with optional filtering by file path.
Instructions
Shows changes between commits, commit and working tree, etc.
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": {
"sandboxId": "<sandboxId>"
},
"name": "git_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Specific file path | |
| cached | No | View staged changes | |
| sandboxId | Yes | Target sandbox identifier |