Recent commits
github_list_commitsRetrieve recent commits from a GitHub branch, optionally filtered to a specific file or path, to inspect repository changes.
Instructions
List recent commits of a branch, optionally only those touching a path.
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_list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| repo | Yes | Repository as 'owner/name', e.g. 'octocat/my-site'. | |
| limit | No | ||
| branch | No |