list_commits
List recent commits from a GitHub repository, with optional branch and limit filters. If no branch is provided, returns commits from the repository's default branch.
Instructions
List recent commits on a branch (default branch if none given).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (without owner) | |
| limit | No | Max commits to return (default 20, max 100) | |
| owner | No | Repo owner; defaults to GITHUB_DEFAULT_OWNER | |
| branch | No | Branch name (default: default branch) |