git_show
Read a Git revision and display its patch or statistics, with a size limit to handle large changes. Optionally show only stats.
Instructions
Read one Git revision and its patch or statistics with bounded output.
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 | Revision; defaults to HEAD. | |
| path | No | Git repository directory; defaults to the workspace. | |
| max_bytes | No | ||
| stat_only | No |