github_list_commits
Lists a GitHub repository's commit history read-only, with filters for SHA, file path, author, and date range to pinpoint changes.
Instructions
列出提交历史(只读,支持 sha/path/author/since/until 过滤)。
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": "github_list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | 分支/标签/SHA,默认分支 | |
| page | No | ||
| path | No | 只看改动了这个文件的提交 | |
| repo | Yes | 仓库名 | |
| owner | Yes | 仓库所有者(用户或组织) | |
| since | No | ISO 时间 | |
| until | No | ||
| author | No | ||
| per_page | No |