diff_commits
Compare two commits and retrieve a full line-by-line diff with detailed file changes and hunks. Ideal for in-depth code review, though output may be large for extensive changes.
Instructions
Get a full line-by-line diff between two commits. Returns detailed file changes with diff hunks. Can produce very large output for commits with many changes. Use get_commit_files for a lightweight summary of changed files instead.
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": {
"owner": "<owner>",
"project": "<project>",
"sourceCommitId": "<sourceCommitId>",
"targetCommitId": "<targetCommitId>"
},
"name": "diff_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Project owner alias | |
| project | Yes | Project alias | |
| sourceCommitId | Yes | Source commit hash | |
| targetCommitId | Yes | Target commit hash |