Commit log
git_logLists commits filtered by path, author, date range, ref or message text; set follow=true on a single file to track renames across history.
Instructions
List commits, optionally filtered by path, author, date range or message text. Use follow=true with a single file to track renames.
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": "git_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or revision range (default HEAD), e.g. main, v1.0..v2.0. | |
| grep | No | Fixed string to find in commit messages. | |
| path | No | ||
| repo | No | Path to the repository (or a folder inside it). Defaults to the first allowed root. | |
| limit | No | ||
| since | No | e.g. "2 weeks ago" or "2026-01-01". | |
| until | No | ||
| author | No | ||
| follow | No |