list_commits
Retrieve commit history from GitHub repositories to track changes, filter by author or date, and review development progress.
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_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| sha | No | Branch name or commit SHA to start from | |
| author | No | Filter by author (GitHub username or email) | |
| since | No | ISO 8601 date - only commits after this date | |
| until | No | ISO 8601 date - only commits before this date | |
| per_page | No | Results per page (max 100) | |
| page | No | Page number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |