From 2965d79255276cc80a139a48db777c2f8d37052d Mon Sep 17 00:00:00 2001 From: JoannaaKL Date: Mon, 27 Oct 2025 15:19:12 +0000 Subject: [PATCH] Update description --- README.md | 2 +- pkg/github/__toolsnaps__/issue_write.snap | 2 +- pkg/github/issues.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e37bc0e1..1e6bb4b1a 100644 --- a/README.md +++ b/README.md @@ -676,7 +676,7 @@ Options are: - `state`: New state (string, optional) - `state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional) - `title`: Issue title (string, optional) - - `type`: Type of this issue (string, optional) + - `type`: Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter. (string, optional) - **list_issue_types** - List available issue types - `owner`: The organization owner of the repository (string, required) diff --git a/pkg/github/__toolsnaps__/issue_write.snap b/pkg/github/__toolsnaps__/issue_write.snap index 12d665a25..3f2a37084 100644 --- a/pkg/github/__toolsnaps__/issue_write.snap +++ b/pkg/github/__toolsnaps__/issue_write.snap @@ -74,7 +74,7 @@ "type": "string" }, "type": { - "description": "Type of this issue", + "description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter.", "type": "string" } }, diff --git a/pkg/github/issues.go b/pkg/github/issues.go index 2589308e4..a43979bad 100644 --- a/pkg/github/issues.go +++ b/pkg/github/issues.go @@ -881,7 +881,7 @@ Options are: mcp.Description("Milestone number"), ), mcp.WithString("type", - mcp.Description("Type of this issue"), + mcp.Description("Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter."), ), mcp.WithString("state", mcp.Description("New state"),