github_get_commits
Retrieve commit history for a GitHub branch by providing the repository (owner/repo), branch name, and limit to control the number of commits returned.
Instructions
Get commit history for a branch
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_get_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Owner/repo format | |
| limit | No | ||
| branch | No | Branch name | main |