Files
Sam Morrow 776ddaefcc Update toolsnaps for cursor-based pagination
Update all tool snapshots to reflect the new cursor parameter
replacing page/perPage parameters.
2025-11-05 11:51:02 +01:00

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"
}