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/__toolsnaps__/add_issue_comment.snap
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
{
2
2
"annotations": {
3
3
"title": "Add comment to issue",
4
-
"readOnlyHint": false
4
+
"readOnlyHint": false,
5
+
"openWorldHint": true
5
6
},
6
7
"description": "Add a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/list_issues.snap
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
{
2
2
"annotations": {
3
3
"title": "List issues",
4
-
"readOnlyHint": true
4
+
"readOnlyHint": true,
5
+
"openWorldHint": true
5
6
},
6
7
"description": "List issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.",
@@ -466,8 +467,9 @@ func ListIssueTypes(getClient GetClientFn, t translations.TranslationHelperFunc)
466
467
returnmcp.NewTool("list_issue_types",
467
468
mcp.WithDescription(t("TOOL_LIST_ISSUE_TYPES_FOR_ORG", "List supported issue types for repository owner (organization).")),
468
469
mcp.WithToolAnnotation(mcp.ToolAnnotation{
469
-
Title: t("TOOL_LIST_ISSUE_TYPES_USER_TITLE", "List available issue types"),
470
-
ReadOnlyHint: ToBoolPtr(true),
470
+
Title: t("TOOL_LIST_ISSUE_TYPES_USER_TITLE", "List available issue types"),
471
+
ReadOnlyHint: ToBoolPtr(true),
472
+
OpenWorldHint: ToBoolPtr(true),
471
473
}),
472
474
mcp.WithString("owner",
473
475
mcp.Required(),
@@ -512,8 +514,9 @@ func AddIssueComment(getClient GetClientFn, t translations.TranslationHelperFunc
512
514
returnmcp.NewTool("add_issue_comment",
513
515
mcp.WithDescription(t("TOOL_ADD_ISSUE_COMMENT_DESCRIPTION", "Add a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.")),
514
516
mcp.WithToolAnnotation(mcp.ToolAnnotation{
515
-
Title: t("TOOL_ADD_ISSUE_COMMENT_USER_TITLE", "Add comment to issue"),
516
-
ReadOnlyHint: ToBoolPtr(false),
517
+
Title: t("TOOL_ADD_ISSUE_COMMENT_USER_TITLE", "Add comment to issue"),
518
+
ReadOnlyHint: ToBoolPtr(false),
519
+
OpenWorldHint: ToBoolPtr(true),
517
520
}),
518
521
mcp.WithString("owner",
519
522
mcp.Required(),
@@ -586,8 +589,9 @@ func SubIssueWrite(getClient GetClientFn, t translations.TranslationHelperFunc)
586
589
returnmcp.NewTool("sub_issue_write",
587
590
mcp.WithDescription(t("TOOL_SUB_ISSUE_WRITE_DESCRIPTION", "Add a sub-issue to a parent issue in a GitHub repository.")),
@@ -798,8 +802,9 @@ func SearchIssues(getClient GetClientFn, t translations.TranslationHelperFunc) (
798
802
returnmcp.NewTool("search_issues",
799
803
mcp.WithDescription(t("TOOL_SEARCH_ISSUES_DESCRIPTION", "Search for issues in GitHub repositories using issues search syntax already scoped to is:issue")),
mcp.WithDescription(t("TOOL_ISSUE_WRITE_DESCRIPTION", "Create a new or update an existing issue in a GitHub repository.")),
845
850
mcp.WithToolAnnotation(mcp.ToolAnnotation{
846
-
Title: t("TOOL_ISSUE_WRITE_USER_TITLE", "Create or update issue."),
847
-
ReadOnlyHint: ToBoolPtr(false),
851
+
Title: t("TOOL_ISSUE_WRITE_USER_TITLE", "Create or update issue."),
852
+
ReadOnlyHint: ToBoolPtr(false),
853
+
OpenWorldHint: ToBoolPtr(true),
848
854
}),
849
855
mcp.WithString("method",
850
856
mcp.Required(),
@@ -1183,8 +1189,9 @@ func ListIssues(getGQLClient GetGQLClientFn, t translations.TranslationHelperFun
1183
1189
returnmcp.NewTool("list_issues",
1184
1190
mcp.WithDescription(t("TOOL_LIST_ISSUES_DESCRIPTION", "List issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.")),
0 commit comments