git_file_history
Track file changes in Git by retrieving commit history to understand when and why modifications occurred, with configurable commit limits.
Instructions
Get commit history for a specific file. Track when and why a file was modified (default: 10 commits).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>"
},
"name": "git_file_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path to get history for | |
| limit | No | Number of commits (default: 10) |