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>
56 lines
1.9 KiB
Plaintext
56 lines
1.9 KiB
Plaintext
{
|
|
"annotations": {
|
|
"title": "Write operations (create, submit, delete) on pull request reviews."
|
|
},
|
|
"description": "Create and/or submit, delete review of a pull request.\n\nAvailable methods:\n- create: Create a new review of a pull request. If \"event\" parameter is provided, the review is submitted. If \"event\" is omitted, a pending review is created.\n- submit_pending: Submit an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request. The \"body\" and \"event\" parameters are used when submitting the review.\n- delete_pending: Delete an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request.\n",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"required": [
|
|
"method",
|
|
"owner",
|
|
"repo",
|
|
"pullNumber"
|
|
],
|
|
"properties": {
|
|
"body": {
|
|
"type": "string",
|
|
"description": "Review comment text"
|
|
},
|
|
"commitID": {
|
|
"type": "string",
|
|
"description": "SHA of commit to review"
|
|
},
|
|
"event": {
|
|
"type": "string",
|
|
"description": "Review action to perform.",
|
|
"enum": [
|
|
"APPROVE",
|
|
"REQUEST_CHANGES",
|
|
"COMMENT"
|
|
]
|
|
},
|
|
"method": {
|
|
"type": "string",
|
|
"description": "The write operation to perform on pull request review.",
|
|
"enum": [
|
|
"create",
|
|
"submit_pending",
|
|
"delete_pending"
|
|
]
|
|
},
|
|
"owner": {
|
|
"type": "string",
|
|
"description": "Repository owner"
|
|
},
|
|
"pullNumber": {
|
|
"type": "number",
|
|
"description": "Pull request number"
|
|
},
|
|
"repo": {
|
|
"type": "string",
|
|
"description": "Repository name"
|
|
}
|
|
}
|
|
},
|
|
"name": "pull_request_review_write"
|
|
} |