60aef5d2e3
Move from `mark3labs/mcp-go` to `modelcontextprotocol/go-sdk`. This is mostly focused on updating tool schema and tool handler signatures, along with any associated internal changes related to those changes. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com> Co-authored-by: LuluBeatson <lulubeatson@github.com> Co-authored-by: Lulu <59149422+LuluBeatson@users.noreply.github.com> Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com> Co-authored-by: Sam Morrow <info@sam-morrow.com>
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
{
|
|
"annotations": {
|
|
"readOnlyHint": true,
|
|
"title": "Get commit details"
|
|
},
|
|
"description": "Get details for a commit from a GitHub repository",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"sha"
|
|
],
|
|
"properties": {
|
|
"include_diff": {
|
|
"type": "boolean",
|
|
"description": "Whether to include file diffs and stats in the response. Default is true.",
|
|
"default": true
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"name": "get_commit"
|
|
} |