git_show_tool
Display commit metadata and diff for any revision in a Git repository. Provide repo path and revision to inspect changes.
Instructions
Shows the metadata and diff of a specific commit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>",
"revision": "<revision>"
},
"name": "git_show_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the Git repository | |
| revision | Yes | Commit hash, tag, or branch name to inspect |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |