Search commit messages
search_commitsSearch commit messages case-insensitively, optionally filtered by author and date, returning matches newest first with hash, date, author, and subject.
Instructions
Search commit messages case-insensitively, optionally filtered by author and date. Returns matches newest first (hash, date, author, subject).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of commits to return. | |
| query | Yes | Text to find in commit messages (subject or body). Literal by default: brackets, dots and stars need no escaping. | |
| regex | No | Treat query as a POSIX extended regular expression instead of literal text. | |
| since | No | Optional date filter, e.g. '2 weeks ago', '2025-06-01'. | |
| author | No | Optional case-insensitive substring of the author's name or e-mail, e.g. 'alice'. | |
| repo_path | Yes | Absolute path to a local git repository, or to any folder inside one (a sub-folder scopes the analysis to it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||