a26079a4b1
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
Tools that return user generated content should have open world hints, to allow clients to inform users that the content may be untrusted and prompt them to approve the request before executing it.
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
{
|
|
"annotations": {
|
|
"openWorldHint": true,
|
|
"readOnlyHint": true,
|
|
"title": "Get commit details"
|
|
},
|
|
"description": "Get details for a commit from a GitHub repository",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"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"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"sha"
|
|
]
|
|
},
|
|
"name": "get_commit"
|
|
} |