@@ -159,7 +159,7 @@ func AddSubIssue(getClient GetClientFn, t translations.TranslationHelperFunc) (t
159159 mcp .WithDescription (t ("TOOL_ADD_SUB_ISSUE_DESCRIPTION" , "Add a sub-issue to a parent issue in a GitHub repository." )),
160160 mcp .WithToolAnnotation (mcp.ToolAnnotation {
161161 Title : t ("TOOL_ADD_SUB_ISSUE_USER_TITLE" , "Add sub-issue" ),
162- ReadOnlyHint : toBoolPtr (false ),
162+ ReadOnlyHint : ToBoolPtr (false ),
163163 }),
164164 mcp .WithString ("owner" ,
165165 mcp .Required (),
@@ -182,11 +182,11 @@ func AddSubIssue(getClient GetClientFn, t translations.TranslationHelperFunc) (t
182182 ),
183183 ),
184184 func (ctx context.Context , request mcp.CallToolRequest ) (* mcp.CallToolResult , error ) {
185- owner , err := requiredParam [string ](request , "owner" )
185+ owner , err := RequiredParam [string ](request , "owner" )
186186 if err != nil {
187187 return mcp .NewToolResultError (err .Error ()), nil
188188 }
189- repo , err := requiredParam [string ](request , "repo" )
189+ repo , err := RequiredParam [string ](request , "repo" )
190190 if err != nil {
191191 return mcp .NewToolResultError (err .Error ()), nil
192192 }
@@ -272,7 +272,7 @@ func ListSubIssues(getClient GetClientFn, t translations.TranslationHelperFunc)
272272 mcp .WithDescription (t ("TOOL_LIST_SUB_ISSUES_DESCRIPTION" , "List sub-issues for a specific issue in a GitHub repository." )),
273273 mcp .WithToolAnnotation (mcp.ToolAnnotation {
274274 Title : t ("TOOL_LIST_SUB_ISSUES_USER_TITLE" , "List sub-issues" ),
275- ReadOnlyHint : toBoolPtr (true ),
275+ ReadOnlyHint : ToBoolPtr (true ),
276276 }),
277277 mcp .WithString ("owner" ,
278278 mcp .Required (),
@@ -294,11 +294,11 @@ func ListSubIssues(getClient GetClientFn, t translations.TranslationHelperFunc)
294294 ),
295295 ),
296296 func (ctx context.Context , request mcp.CallToolRequest ) (* mcp.CallToolResult , error ) {
297- owner , err := requiredParam [string ](request , "owner" )
297+ owner , err := RequiredParam [string ](request , "owner" )
298298 if err != nil {
299299 return mcp .NewToolResultError (err .Error ()), nil
300300 }
301- repo , err := requiredParam [string ](request , "repo" )
301+ repo , err := RequiredParam [string ](request , "repo" )
302302 if err != nil {
303303 return mcp .NewToolResultError (err .Error ()), nil
304304 }
@@ -370,7 +370,7 @@ func RemoveSubIssue(getClient GetClientFn, t translations.TranslationHelperFunc)
370370 mcp .WithDescription (t ("TOOL_REMOVE_SUB_ISSUE_DESCRIPTION" , "Remove a sub-issue from a parent issue in a GitHub repository." )),
371371 mcp .WithToolAnnotation (mcp.ToolAnnotation {
372372 Title : t ("TOOL_REMOVE_SUB_ISSUE_USER_TITLE" , "Remove sub-issue" ),
373- ReadOnlyHint : toBoolPtr (false ),
373+ ReadOnlyHint : ToBoolPtr (false ),
374374 }),
375375 mcp .WithString ("owner" ,
376376 mcp .Required (),
@@ -390,11 +390,11 @@ func RemoveSubIssue(getClient GetClientFn, t translations.TranslationHelperFunc)
390390 ),
391391 ),
392392 func (ctx context.Context , request mcp.CallToolRequest ) (* mcp.CallToolResult , error ) {
393- owner , err := requiredParam [string ](request , "owner" )
393+ owner , err := RequiredParam [string ](request , "owner" )
394394 if err != nil {
395395 return mcp .NewToolResultError (err .Error ()), nil
396396 }
397- repo , err := requiredParam [string ](request , "repo" )
397+ repo , err := RequiredParam [string ](request , "repo" )
398398 if err != nil {
399399 return mcp .NewToolResultError (err .Error ()), nil
400400 }
@@ -473,7 +473,7 @@ func ReprioritizeSubIssue(getClient GetClientFn, t translations.TranslationHelpe
473473 mcp .WithDescription (t ("TOOL_REPRIORITIZE_SUB_ISSUE_DESCRIPTION" , "Reprioritize a sub-issue to a different position in the parent issue's sub-issue list." )),
474474 mcp .WithToolAnnotation (mcp.ToolAnnotation {
475475 Title : t ("TOOL_REPRIORITIZE_SUB_ISSUE_USER_TITLE" , "Reprioritize sub-issue" ),
476- ReadOnlyHint : toBoolPtr (false ),
476+ ReadOnlyHint : ToBoolPtr (false ),
477477 }),
478478 mcp .WithString ("owner" ,
479479 mcp .Required (),
@@ -499,11 +499,11 @@ func ReprioritizeSubIssue(getClient GetClientFn, t translations.TranslationHelpe
499499 ),
500500 ),
501501 func (ctx context.Context , request mcp.CallToolRequest ) (* mcp.CallToolResult , error ) {
502- owner , err := requiredParam [string ](request , "owner" )
502+ owner , err := RequiredParam [string ](request , "owner" )
503503 if err != nil {
504504 return mcp .NewToolResultError (err .Error ()), nil
505505 }
506- repo , err := requiredParam [string ](request , "repo" )
506+ repo , err := RequiredParam [string ](request , "repo" )
507507 if err != nil {
508508 return mcp .NewToolResultError (err .Error ()), nil
509509 }
0 commit comments