list_commits
List commit history in a repository, filtering by branch, path, author, or time. Read-only access allows safe inspection without modification.
Instructions
List commits in a repository, optionally filtered by branch, path, author, or time. Read-only.
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 |
|---|---|---|---|
| path | No | ||
| repo | Yes | ||
| owner | Yes | ||
| since | No | ||
| until | No | ||
| author | No | ||
| max_results | No | ||
| branch_or_sha | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||