chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"annotations": {
|
||||
"idempotentHint": false,
|
||||
"readOnlyHint": true,
|
||||
"title": "Get commit details"
|
||||
},
|
||||
"description": "Get details for a commit from a GitHub repository",
|
||||
"inputSchema": {
|
||||
"properties": {
|
||||
"detail": {
|
||||
"default": "stats",
|
||||
"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.",
|
||||
"enum": [
|
||||
"none",
|
||||
"stats",
|
||||
"full_patch"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"description": "Repository owner",
|
||||
"type": "string"
|
||||
},
|
||||
"page": {
|
||||
"description": "Page number for pagination (min 1)",
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"perPage": {
|
||||
"description": "Results per page for pagination (min 1, max 100)",
|
||||
"maximum": 100,
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
Reference in New Issue
Block a user