{ "name": "get_commit", "description": "Get details for a commit from a GitHub repository", "inputSchema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Level of detail to include for changed files. \"none\" omits stats and files entirely. \"stats\" (default) includes per-file metadata: filename, status, and lines-of-code counts (additions, deletions, changes), with no patch content. \"full_patch\" additionally includes the unified diff content for each file and can be very large.", "default": "stats", "enum": [ "none", "stats", "full_patch" ] }, "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" } }, "required": [ "owner", "repo", "sha" ] } }