github_get_commit
Read details of a single GitHub commit by owner, repo, and optional SHA, branch, or tag. Use it to inspect commit metadata without modifying the repository.
Instructions
读取单个提交详情(只读)。
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "github_get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | SHA / 分支 / 标签 | |
| repo | Yes | 仓库名 | |
| owner | Yes | 仓库所有者(用户或组织) |