776ddaefcc
Update all tool snapshots to reflect the new cursor parameter replacing page/perPage parameters.
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
{
|
|
"annotations": {
|
|
"title": "Get commit details",
|
|
"readOnlyHint": true
|
|
},
|
|
"description": "Get details for a commit from a GitHub repository",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"cursor": {
|
|
"description": "Cursor for pagination. Use the cursor value from the previous response's pagination metadata to retrieve the next page. Leave blank for the first page.",
|
|
"type": "string"
|
|
},
|
|
"include_diff": {
|
|
"default": true,
|
|
"description": "Whether to include file diffs and stats in the response. Default is true.",
|
|
"type": "boolean"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
},
|
|
"sha": {
|
|
"description": "Commit SHA, branch name, or tag name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"sha"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "get_commit"
|
|
} |