Get a commit
repo_commit_getRetrieve a specific commit by repository and SHA or ref, including changed files and patch details for code review or auditing.
Instructions
Get one commit with its changed files (patch).
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": {
"repo": "<repo>",
"sha": "<sha>"
},
"name": "repo_commit_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | Commit SHA or ref | |
| repo | Yes | Repository path, e.g. "owner/repo" or "group/subgroup/repo" |