list_commits
List recent commits from a GitHub repository, optionally filtered by branch.
Instructions
List recent commits, optionally filtered by branch.
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 |
|---|---|---|---|
| repo | Yes | ||
| limit | No | ||
| owner | Yes | ||
| branch | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |