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

Commit12e506d

Browse files
committed
add annotations
1 parentf674068 commit12e506d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎pkg/github/issues.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ func AddIssueComment(getClient GetClientFn, t translations.TranslationHelperFunc
154154
funcUpdateIssueComment(getClientGetClientFn,t translations.TranslationHelperFunc) (tool mcp.Tool,handler server.ToolHandlerFunc) {
155155
returnmcp.NewTool("update_issue_comment",
156156
mcp.WithDescription(t("TOOL_UPDATE_ISSUE_COMMENT_DESCRIPTION","Update a comment on an issue")),
157+
mcp.WithToolAnnotation(mcp.ToolAnnotation{
158+
Title:t("TOOL_UPDATE_ISSUE_COMMENT_USER_TITLE","Update issue comment"),
159+
ReadOnlyHint:false,
160+
}),
157161
mcp.WithString("owner",
158162
mcp.Required(),
159163
mcp.Description("Repository owner"),

‎pkg/github/pullrequests.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,10 @@ func CreatePullRequestReview(getClient GetClientFn, t translations.TranslationHe
11361136
funcUpdatePullRequestComment(getClientGetClientFn,t translations.TranslationHelperFunc) (tool mcp.Tool,handler server.ToolHandlerFunc) {
11371137
returnmcp.NewTool("update_pull_request_comment",
11381138
mcp.WithDescription(t("TOOL_UPDATE_PULL_REQUEST_COMMENT_DESCRIPTION","Update a review comment on a pull request")),
1139+
mcp.WithToolAnnotation(mcp.ToolAnnotation{
1140+
Title:t("TOOL_UPDATE_PULL_REQUEST_COMMENT_USER_TITLE","Update pull request comment"),
1141+
ReadOnlyHint:false,
1142+
}),
11391143
mcp.WithString("owner",
11401144
mcp.Required(),
11411145
mcp.Description("Repository owner"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp