git_show
Read a Git commit and its first-parent patch, including root commits, to inspect revision changes and history.
Instructions
Read a commit and its first-parent patch, including root commits.
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 |
|---|---|---|---|
| revision | No | HEAD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | ||
| commit | Yes |