Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4035140

Browse files
committed
Prompt tweaks + deleting snap
1 parent3b4eaf2 commit4035140

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎pkg/github/__toolsnaps__/pull_request_review_write.snap‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title":"Write operations (create, submit, delete) on pull request reviews.",
44
"readOnlyHint":false
55
},
6-
"description":"Create and/or submit, delete pull request review.\n\nAvailable methods:\n- create: Create a new pull request review. 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 pull request review. 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 pull request review. This requires that a pending review exists for the current user on the specified pull request.\n",
6+
"description":"Create and/or submit, deletereview of apull request.\n\nAvailable methods:\n- create: Create a newreview of apull 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 pendingreview of apull 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 pendingreview of apull request. This requires that a pending review exists for the current user on the specified pull request.\n",
77
"inputSchema": {
88
"properties": {
99
"body": {

‎pkg/github/pullrequests.go‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,12 +1040,12 @@ type PullRequestReviewWriteParams struct {
10401040

10411041
funcPullRequestReviewWrite(getGQLClientGetGQLClientFn,t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
10421042
returnmcp.NewTool("pull_request_review_write",
1043-
mcp.WithDescription(t("TOOL_PULL_REQUEST_REVIEW_WRITE_DESCRIPTION",`Create and/or submit, delete pull request review.
1043+
mcp.WithDescription(t("TOOL_PULL_REQUEST_REVIEW_WRITE_DESCRIPTION",`Create and/or submit, deletereview of apull request.
10441044
10451045
Available methods:
1046-
- create: Create a new pull request review. If "event" parameter is provided, the review is submitted. If "event" is omitted, a pending review is created.
1047-
- submit_pending: Submit an existing pending pull request review. 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.
1048-
- delete_pending: Delete an existing pending pull request review. This requires that a pending review exists for the current user on the specified pull request.
1046+
- create: Create a newreview of apull request. If "event" parameter is provided, the review is submitted. If "event" is omitted, a pending review is created.
1047+
- submit_pending: Submit an existing pendingreview of apull 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.
1048+
- delete_pending: Delete an existing pendingreview of apull request. This requires that a pending review exists for the current user on the specified pull request.
10491049
`)),
10501050
mcp.WithToolAnnotation(mcp.ToolAnnotation{
10511051
Title:t("TOOL_PULL_REQUEST_REVIEW_WRITE_USER_TITLE","Write operations (create, submit, delete) on pull request reviews."),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp