Skip to content

Commit 01122f8

Browse files
committed
add crud tools for labels
1 parent 80a3237 commit 01122f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/github/issues.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,10 +1770,10 @@ func AssignCodingAgentPrompt(t translations.TranslationHelperFunc) (tool mcp.Pro
17701770

17711771
// Label Management
17721772

1773-
// Create label
1773+
// CreateLabel creates a new MCP tool for creating labels in GitHub repositories.
17741774
func CreateLabel(getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
17751775
return mcp.NewTool("create_label",
1776-
mcp.WithDescription(t("TOOL_CREATE_LABEL_DESCRIPTION", "Create a new label in a GitHub repository.")),
1776+
mcp.WithDescription(t("TOOL_CREATE_LABEL_DESCRIPTION", "Create a new label in a GitHub repository. Used in the context of labels in relation to github resources, they are organizational tags used to categorize and filter issues and pull requests.")),
17771777
mcp.WithToolAnnotation(mcp.ToolAnnotation{
17781778
Title: t("TOOL_CREATE_LABEL_TITLE", "Create label"),
17791779
ReadOnlyHint: ToBoolPtr(false),

0 commit comments

Comments
 (0)