list_commits
Retrieve recent commits from a repository, filtering by path or author to inspect code changes.
Instructions
List recent commits for a repository, optionally filtered by path or author.
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 |
|---|---|---|---|
| sha | No | ||
| path | No | ||
| repo | Yes | ||
| owner | Yes | ||
| author | No | ||
| per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |