list_repo_commits
Fetch paginated commits from a repository, with optional filtering by branch or SHA.
Instructions
List commits in a repository
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>"
},
"name": "list_repo_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Owner/username | |
| repo | Yes | Repository name | |
| sha | No | SHA or branch name to list commits from | |
| page | No | Page number (starts at 1) | |
| limit | No | Number of results per page (max 50) |