查看 Git 对象
git_showInspect any Git commit or object, optionally filtering by file path, to understand changes and repository history without modifying your workspace.
Instructions
查看指定提交或对象,可限制文件路径。
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 |
|---|---|---|---|
| cwd | No | . | |
| path | No | ||
| revision | No | HEAD |