Show commit
git_showDisplays one commit's message, stats, and optional patch from a repository so you can inspect changes and understand why a revision was made.
Instructions
Show one commit: message, stats and (optionally) the patch.
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_show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | No | HEAD | |
| path | No | ||
| repo | No | Path to the repository (or a folder inside it). Defaults to the first allowed root. | |
| patch | No | ||
| max_chars | No |