001e0a1758
* Initial plan * WIP: Migrate repos toolset - 7/18 tools complete Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com> * Complete repositories.go migration - all 18 tools migrated Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com> * WIP: Update repositories_test.go - partial migration Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com> * Complete repos toolset migration to go-sdk Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com> * re-add 18 tools: 15/17 repos, 3/3 stargazers * add toolsnaps for ListReleases, GetLatestRelease --------- Co-authored-by: copilot-swe-agent[bot] <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: Adam Holt <me@adamholt.co.uk>
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"
|
|
} |