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

Commite45da8d

Browse files
committed
fixing ci
1 parentc4af331 commite45da8d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ The following sets of tools are available (all are on by default):
668668
-`title`: New title (string, optional)
669669
-`type`: New issue type (string, optional)
670670

671-
-**write_label** - Write operations on labels
671+
-**write_label** - Write operations onrepositorylabels.
672672
-`color`: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'. (string, optional)
673673
-`description`: Label description text. Optional for 'create' and 'update'. (string, optional)
674674
-`method`: Operation to perform: 'create', 'update', or 'delete' (string, required)
@@ -693,7 +693,7 @@ The following sets of tools are available (all are on by default):
693693
-`owner`: Repository owner (username or organization name) - required for all operations (string, required)
694694
-`repo`: Repository name - required for all operations (string, required)
695695

696-
-**write_label** - Write operations on labels
696+
-**write_label** - Write operations onrepositorylabels.
697697
-`color`: Label color as 6-character hex code without '#' prefix (e.g., 'f29513'). Required for 'create', optional for 'update'. (string, optional)
698698
-`description`: Label description text. Optional for 'create' and 'update'. (string, optional)
699699
-`method`: Operation to perform: 'create', 'update', or 'delete' (string, required)

‎pkg/github/__toolsnaps__/write_label.snap‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"annotations": {
3-
"title":"Write operations onlabels - create, update, delete",
3+
"title":"Write operations onrepository labels.",
44
"readOnlyHint":false
55
},
6-
"description":"Create, update, or delete repository labels in GitHub.",
6+
"description":"Perform write operations on repository labels.",
77
"inputSchema": {
88
"properties": {
99
"color": {

‎pkg/github/labels.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ func ListLabels(getGQLClient GetGQLClientFn, t translations.TranslationHelperFun
243243
funcWriteLabel(getGQLClientGetGQLClientFn,t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
244244
returnmcp.NewTool(
245245
"write_label",
246-
mcp.WithDescription(t("TOOL_WRITE_LABEL_DESCRIPTION","Perform write operations on repository labels.")),
246+
mcp.WithDescription(t("TOOL_WRITE_LABEL_DESCRIPTION","Perform write operations on repository labels. To set labels on issues, use the 'update_issue' tool.")),
247247
mcp.WithToolAnnotation(mcp.ToolAnnotation{
248-
Title:t("TOOL_WRITE_LABEL_TITLE","Write operations on labels"),
248+
Title:t("TOOL_WRITE_LABEL_TITLE","Write operations onrepositorylabels."),
249249
ReadOnlyHint:ToBoolPtr(false),
250250
}),
251251
mcp.WithString("method",

‎pkg/github/tools.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var (
9696
Description:"Discover GitHub MCP tools that can help achieve tasks by enabling additional sets of tools, you can control the enablement of any toolset to access its tools when this toolset is enabled.",
9797
}
9898
ToolsetLabels=ToolsetMetadata{
99-
ID:"labels",
99+
ID:"labels",
100100
Description:"GitHub Labels related tools",
101101
}
102102
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp