GitHub commit
github_commitRead a single GitHub commit's message, author, date, line changes, and changed files with bounded patches to inspect one commit in full.
Instructions
Read one commit: message, author, additions/deletions, and the changed files with bounded patches. github_commits lists commits; this reads one in full. Costs 1 core call. Returns {repo, sha, author, date, message, additions, deletions, files, files_truncated, meta}.
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>"
},
"name": "github_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Commit sha, branch, or tag; defaults to the pinned ref when one exists, otherwise the repository default branch | |
| repo | Yes | Repository in owner/name form | |
| fresh | No | Bypass the local cache |