commit_search
Search Git commit history by message, author, path, date range, or changed content; combine filters to pinpoint specific commits.
Instructions
Find commits. All filters are case-insensitive literals and combine with AND: query (in the message), author (name or email substring), path (file or directory), since/until (git dates), content (text added or removed by the commit, git's pickaxe -S). At least one filter is required. limit is capped at 200.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "commit_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | HEAD | |
| path | No | ||
| repo | No | ||
| limit | No | ||
| query | No | ||
| since | No | ||
| until | No | ||
| author | No | ||
| content | No | ||
| include_merges | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |