get_commit
Retrieve detailed information about a specific GitHub commit, including statistics and changed files, to analyze code changes and track repository history.
Instructions
Get details of a specific commit including stats and 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>",
"ref": "<ref>"
},
"name": "get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| ref | Yes | Commit SHA, branch name, or tag |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |