-
Notifications
You must be signed in to change notification settings - Fork 4k
Expand file tree
/
Copy pathget_commit.snap
More file actions
52 lines (52 loc) · 1.17 KB
/
get_commit.snap
File metadata and controls
52 lines (52 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"_meta": {
"requiredOAuthScopes": [
"repo"
],
"toolset": "repos"
},
"annotations": {
"readOnlyHint": true,
"title": "Get commit details"
},
"description": "Get details for a commit from a GitHub repository",
"inputSchema": {
"type": "object",
"required": [
"owner",
"repo",
"sha"
],
"properties": {
"include_diff": {
"type": "boolean",
"description": "Whether to include file diffs and stats in the response. Default is true.",
"default": true
},
"owner": {
"type": "string",
"description": "Repository owner"
},
"page": {
"type": "number",
"description": "Page number for pagination (min 1)",
"minimum": 1
},
"perPage": {
"type": "number",
"description": "Results per page for pagination (min 1, max 100)",
"minimum": 1,
"maximum": 100
},
"repo": {
"type": "string",
"description": "Repository name"
},
"sha": {
"type": "string",
"description": "Commit SHA, branch name, or tag name"
}
}
},
"name": "get_commit"
}