Diff two commits
devops_repository_diffs_commitsCompare a repository's base and target commit SHAs to retrieve their differences for code review or change analysis.
Instructions
Get the difference between the base and target commits.
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_id": "<repository_id>",
"base_commit": "<base_commit>",
"target_commit": "<target_commit>"
},
"name": "devops_repository_diffs_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_commit | Yes | Base commit SHA — full 40-character hex (e.g. lastMergeTargetCommit). | |
| repository_id | Yes | Repository name or ID. | |
| target_commit | Yes | Target commit SHA — full 40-character hex (e.g. lastMergeSourceCommit). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |