Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
326 changes: 323 additions & 3 deletions pkg/github/__toolsnaps__/get_commit.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@
"title": "Get commit details"
},
"description": "Get details for a commit from a GitHub repository",
"icons": [
{
"mimeType": "image/png",
"src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABTklEQVRIie2UPUvDUBSGn5PW2qnYwUXExWhNpY2CUKT+BB10E3R0dnbrppuKLgouHbr5X5qlKRIFB+cuguBHj4O05KYfNsVJ+m7n3Hue54ZcrhDKQqGQTX1YVwg7QIbx0gh8b7VTJMMrqS+5RtgD7oDX2GhhC6UcbhkCVLZVuX1sesex4YCdX6uAGgIrsicjlrTGgQ9KVPDnmQgmgongPwgkXNiOq8ADMAtkx4UGvtflJvus20ANeIlN/vW5/kkt8L3D2HD6P9dRgSI8dQcc9w1IR3acBE3vbFSp8ZMVnoFSqJ/unZDe3pAYXyDIJarn9opbDZrewaAh2y7Oy5S1r6h5QG2Xxbw3piDw6xe244oKyxFmC5ihc+tS1qaqngKJyAEBGmZvSGzHVYT790T7aPozsaFoFZGboFGvDJsbOYuOuxuuc7n1uaV8sRSH8Q1DUVLnYLty3gAAAABJRU5ErkJggg==",
"theme": "light"
},
{
"mimeType": "image/png",
"src": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAA+ElEQVRIie2WLU5DQRRGzwUEirQCQ9BsoSGtZQHgSFgIsg4JXQCGP8V2QCBIEATZkJDgOJi+MJnMo30TFHmfmzvzfeeKyZ2BROpQvVHfrddDmhkZ4BY4Ai6BD7prAowjIoq7i85nFcGNf6qa1tayM1vAvBZQUg74c/WAHtAD/gMgn6YCT8A2MKwOTaZpCfAF3AGvFdlLx7XqdUVw4186rgWeE8Nn4cU67QLNAS/ASG3qmwVPqdaqjWw9A86BK+CkzaTuAseFBse/AiLiQg1gLzs3Bwb8XIp94AxYL/Af2xordap6v/htHKhv6nTlgBUAh9l6Rx11yfgG8ne/zwh2OysAAAAASUVORK5CYII=",
"theme": "dark"
}
],
"inputSchema": {
"properties": {
"detail": {
Expand All @@ -19,7 +31,8 @@
},
"owner": {
"description": "Repository owner",
"type": "string"
"type": "string",
"x-mcp-header": "owner"
},
"page": {
"description": "Page number for pagination (min 1)",
Expand All @@ -34,7 +47,8 @@
},
"repo": {
"description": "Repository name",
"type": "string"
"type": "string",
"x-mcp-header": "repo"
},
"sha": {
"description": "Commit SHA, branch name, or tag name",
Expand All @@ -48,5 +62,311 @@
],
"type": "object"
},
"name": "get_commit"
"name": "get_commit",
"outputSchema": {
"additionalProperties": false,
"properties": {
"author": {
"additionalProperties": false,
"properties": {
"avatar_url": {
"type": "string"
},
"details": {
"additionalProperties": false,
"properties": {
"bio": {
"type": "string"
},
"blog": {
"type": "string"
},
"company": {
"type": "string"
},
"created_at": {
"description": "Account creation time in RFC3339 format.",
"type": "string"
},
"email": {
"type": "string"
},
"followers": {
"type": "integer"
},
"following": {
"type": "integer"
},
"hireable": {
"type": "boolean"
},
"location": {
"type": "string"
},
"name": {
"type": "string"
},
"owned_private_repos": {
"type": "integer"
},
"private_gists": {
"type": "integer"
},
"public_gists": {
"type": "integer"
},
"public_repos": {
"type": "integer"
},
"total_private_repos": {
"type": "integer"
},
"twitter_username": {
"type": "string"
},
"updated_at": {
"description": "Last profile update time in RFC3339 format.",
"type": "string"
}
},
"required": [
"public_repos",
"public_gists",
"followers",
"following",
"created_at",
"updated_at"
],
"type": [
"null",
"object"
]
},
"id": {
"type": "integer"
},
"login": {
"type": "string"
},
"profile_url": {
"type": "string"
}
},
"required": [
"login"
],
"type": [
"null",
"object"
]
},
"commit": {
"additionalProperties": false,
"properties": {
"author": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": [
"null",
"object"
]
},
"committer": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"email": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": [
"null",
"object"
]
},
"message": {
"type": "string"
}
},
"required": [
"message"
],
"type": [
"null",
"object"
]
},
"committer": {
"additionalProperties": false,
"properties": {
"avatar_url": {
"type": "string"
},
"details": {
"additionalProperties": false,
"properties": {
"bio": {
"type": "string"
},
"blog": {
"type": "string"
},
"company": {
"type": "string"
},
"created_at": {
"description": "Account creation time in RFC3339 format.",
"type": "string"
},
"email": {
"type": "string"
},
"followers": {
"type": "integer"
},
"following": {
"type": "integer"
},
"hireable": {
"type": "boolean"
},
"location": {
"type": "string"
},
"name": {
"type": "string"
},
"owned_private_repos": {
"type": "integer"
},
"private_gists": {
"type": "integer"
},
"public_gists": {
"type": "integer"
},
"public_repos": {
"type": "integer"
},
"total_private_repos": {
"type": "integer"
},
"twitter_username": {
"type": "string"
},
"updated_at": {
"description": "Last profile update time in RFC3339 format.",
"type": "string"
}
},
"required": [
"public_repos",
"public_gists",
"followers",
"following",
"created_at",
"updated_at"
],
"type": [
"null",
"object"
]
},
"id": {
"type": "integer"
},
"login": {
"type": "string"
},
"profile_url": {
"type": "string"
}
},
"required": [
"login"
],
"type": [
"null",
"object"
]
},
"files": {
"items": {
"additionalProperties": false,
"properties": {
"additions": {
"type": "integer"
},
"changes": {
"type": "integer"
},
"deletions": {
"type": "integer"
},
"filename": {
"type": "string"
},
"patch": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"filename"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"html_url": {
"type": "string"
},
"sha": {
"type": "string"
},
"stats": {
"additionalProperties": false,
"properties": {
"additions": {
"type": "integer"
},
"deletions": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"type": [
"null",
"object"
]
}
},
"required": [
"sha",
"html_url"
],
"type": "object"
}
}
Loading
Loading