git_log
View git commit history, filter by file, author, or date range, and inspect commit hashes, dates, authors, messages, and changed files.
Instructions
View git commit history. Filter by file, author, date range. Shows commit hash, date, author, and message.
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 |
|---|---|---|---|
| file | No | File path to show history for | |
| count | No | Number of commits (default: 15) | |
| since | No | Show commits since date, e.g. "2 weeks ago" | |
| author | No | Filter by author name/email | |
| with_files | No | Include changed file names |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| action | Yes | ||
| entries | No |