git_show
Show a Git commit's message, author, date, and diff, with optional file stats, to inspect changes and history.
Instructions
Show details of a git commit: message, author, date, and diff.
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 |
|---|---|---|---|
| ref | No | Commit hash or ref (default: HEAD) | |
| stat | No | Show file stats only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| action | Yes | ||
| entries | No |