Get commit
get_commitFetch a single commit by SHA from an owner/repo, including changed files, to inspect code changes.
Instructions
Get a single commit by SHA, including changed files.
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>",
"repo": "<repo>",
"sha": "<sha>"
},
"name": "get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | ||
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organization) |