GitHub commits
github_commitsList repository commits filtered by ref, path, author, or date range, returning short SHA, message, author, and date.
Instructions
List commits on a ref, optionally filtered by path, author, or date range. Returns short sha, message, author, and date.
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_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit; defaults to the repository default branch | |
| page | No | Page number, starting at 1 | |
| path | No | Only commits touching this path | |
| repo | Yes | Repository in owner/name form | |
| fresh | No | Bypass the local cache | |
| since | No | ISO 8601 lower bound | |
| until | No | ISO 8601 upper bound | |
| author | No | GitHub login or email to filter by | |
| per_page | No | Items per page, default 20 |