git_show
Inspect a commit's author, date, message and changed-file summary, or read a file's full content at that commit. Use it to review an old version before restoring it.
Instructions
Show one commit's author, date, message and changed-file summary, or, with path, the full content of one file as it was in that commit. Read-only. Use it to inspect an old version before restoring it with git_restore. For line-by-line changes use git_diff.
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": {
"ref": "<ref>"
},
"name": "git_show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Commit to show: a hash, "HEAD", "HEAD~2", a tag or a branch name. | |
| path | No | Show this file's content at ref instead of the commit summary. File path relative to the mirror folder, as git_status or git_log prints it, e.g. "ServerScriptService/Main.server.luau". | |
| place | No | Target place (PlaceId or project name) whose mirror repo to use. Defaults to the bound/sole connected place. |