Git History Tools
git_historyInspect Git commit history, refs, and contributors with log, show, reflog, blame, lg, and who actions to trace changes, file history, and authorship.
Instructions
History tool. Use action=log|show|reflog|blame|lg|who to inspect commits, refs, and contributors.
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_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| grep | No | ||
| limit | No | ||
| order | No | default | |
| since | No | ||
| until | No | ||
| action | No | log | |
| author | No | ||
| offset | No | ||
| file_path | No | ||
| no_merges | No | ||
| pathspecs | No | ||
| repo_path | No | Absolute path to the local Git repository. If omitted, falls back to the server default set via the GIT_REPO_PATH environment variable or --repo-path CLI argument. | |
| all_branches | No | ||
| first_parent | No | ||
| revision_range | No | ||
| response_format | No | Output format for the response. | markdown |
| simplify_merges | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| output | No | ||
| commits | No | ||
| file_path | No |