Get Git History
git_get_historyRetrieves a structured list of recent commits from HEAD, including hash, author, date, and message. Use to inspect commit history without a log viewer.
Instructions
Returns a structured list of recent commits (hash, author, date, message) from HEAD.
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_get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of recent commits to return. Defaults to 10. |