git_log
Retrieve structured Git commit history from a repository without shell interpolation. Specify branch, path, and commit count to get safe, parseable log data.
Instructions
Read structured Git commit history without shell interpolation.
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 | Optional revision or branch; defaults to HEAD. | |
| path | No | Git repository directory; defaults to the workspace. | |
| max_count | No | Maximum commits; defaults to 20. |