@@ -69,7 +69,7 @@ func ListDiscussions(getGQLClient GetGQLClientFn, t translations.TranslationHelp
6969 mcp .WithDescription (t ("TOOL_LIST_DISCUSSIONS_DESCRIPTION" , "List discussions for a repository" )),
7070 mcp .WithToolAnnotation (mcp.ToolAnnotation {
7171 Title : t ("TOOL_LIST_DISCUSSIONS_USER_TITLE" , "List discussions" ),
72- ReadOnlyHint : toBoolPtr (true ),
72+ ReadOnlyHint : ToBoolPtr (true ),
7373 }),
7474 mcp .WithString ("owner" ,
7575 mcp .Required (),
@@ -232,7 +232,7 @@ func GetDiscussion(getGQLClient GetGQLClientFn, t translations.TranslationHelper
232232 mcp .WithDescription (t ("TOOL_GET_DISCUSSION_DESCRIPTION" , "Get a specific discussion by ID" )),
233233 mcp .WithToolAnnotation (mcp.ToolAnnotation {
234234 Title : t ("TOOL_GET_DISCUSSION_USER_TITLE" , "Get discussion" ),
235- ReadOnlyHint : toBoolPtr (true ),
235+ ReadOnlyHint : ToBoolPtr (true ),
236236 }),
237237 mcp .WithString ("owner" ,
238238 mcp .Required (),
@@ -303,7 +303,7 @@ func GetDiscussionComments(getGQLClient GetGQLClientFn, t translations.Translati
303303 mcp .WithDescription (t ("TOOL_GET_DISCUSSION_COMMENTS_DESCRIPTION" , "Get comments from a discussion" )),
304304 mcp .WithToolAnnotation (mcp.ToolAnnotation {
305305 Title : t ("TOOL_GET_DISCUSSION_COMMENTS_USER_TITLE" , "Get discussion comments" ),
306- ReadOnlyHint : toBoolPtr (true ),
306+ ReadOnlyHint : ToBoolPtr (true ),
307307 }),
308308 mcp .WithString ("owner" , mcp .Required (), mcp .Description ("Repository owner" )),
309309 mcp .WithString ("repo" , mcp .Required (), mcp .Description ("Repository name" )),
@@ -363,7 +363,7 @@ func ListDiscussionCategories(getGQLClient GetGQLClientFn, t translations.Transl
363363 mcp .WithDescription (t ("TOOL_LIST_DISCUSSION_CATEGORIES_DESCRIPTION" , "List discussion categories with their id and name, for a repository" )),
364364 mcp .WithToolAnnotation (mcp.ToolAnnotation {
365365 Title : t ("TOOL_LIST_DISCUSSION_CATEGORIES_USER_TITLE" , "List discussion categories" ),
366- ReadOnlyHint : toBoolPtr (true ),
366+ ReadOnlyHint : ToBoolPtr (true ),
367367 }),
368368 mcp .WithString ("owner" ,
369369 mcp .Required (),
0 commit comments