get_commit_diff
Retrieve the diff of a specific file within a commit to view the changes made.
Instructions
Get the diff/changes for a file in a commit
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": "<repository>",
"commitId": "<commitId>",
"path": "<path>"
},
"name": "get_commit_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name | |
| repository | Yes | Repository name or ID | |
| commitId | Yes | Commit SHA | |
| path | Yes | File path to get diff for |