You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/github/labels.go
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -239,13 +239,13 @@ func ListLabels(getGQLClient GetGQLClientFn, t translations.TranslationHelperFun
239
239
}
240
240
}
241
241
242
-
// WriteLabel handles create, update, and delete operations for GitHub labels
243
-
funcWriteLabel(getGQLClientGetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
242
+
// LabelWrite handles create, update, and delete operations for GitHub labels
243
+
funcLabelWrite(getGQLClientGetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
244
244
returnmcp.NewTool(
245
-
"write_label",
246
-
mcp.WithDescription(t("TOOL_WRITE_LABEL_DESCRIPTION", "Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.")),
245
+
"label_write",
246
+
mcp.WithDescription(t("TOOL_LABEL_WRITE_DESCRIPTION", "Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.")),
247
247
mcp.WithToolAnnotation(mcp.ToolAnnotation{
248
-
Title: t("TOOL_WRITE_LABEL_TITLE", "Write operations on repository labels."),
248
+
Title: t("TOOL_LABEL_WRITE_TITLE", "Write operations on repository labels."),
0 commit comments