github_search_commits
Search GitHub commits by message, author, repo, or date to trace where a change was introduced. Rate limited to 30 requests per minute.
Instructions
Search commits by message, author or date across GitHub — 'repo:owner/name fix flaky test'. The way to find where a change was introduced. Rate limited to 30 requests per minute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The search query, with commit qualifiers: `repo:owner/name`, `author:LOGIN`, `committer-date:>2026-01-01`, `merge:false`. A bare term searches commit messages. | |
| page | No | The page number of the results to fetch. Defaults to 1. | |
| sort | No | Sorts the results by author or committer date. Absent, results come back by best match. | |
| order | No | Determines whether the first search result returned is the highest number of matches (`desc`) or lowest (`asc`). Ignored unless `sort` is provided. GitHub uses `desc` when this is absent. | |
| perPage | No | The number of results per page (max 100). Defaults to 30. |