@@ -159,7 +159,7 @@ func AddSubIssue(getClient GetClientFn, t translations.TranslationHelperFunc) (t
159
159
mcp .WithDescription (t ("TOOL_ADD_SUB_ISSUE_DESCRIPTION" ,"Add a sub-issue to a parent issue in a GitHub repository." )),
160
160
mcp .WithToolAnnotation (mcp.ToolAnnotation {
161
161
Title :t ("TOOL_ADD_SUB_ISSUE_USER_TITLE" ,"Add sub-issue" ),
162
- ReadOnlyHint :toBoolPtr (false ),
162
+ ReadOnlyHint :ToBoolPtr (false ),
163
163
}),
164
164
mcp .WithString ("owner" ,
165
165
mcp .Required (),
@@ -182,11 +182,11 @@ func AddSubIssue(getClient GetClientFn, t translations.TranslationHelperFunc) (t
182
182
),
183
183
),
184
184
func (ctx context.Context ,request mcp.CallToolRequest ) (* mcp.CallToolResult ,error ) {
185
- owner ,err := requiredParam [string ](request ,"owner" )
185
+ owner ,err := RequiredParam [string ](request ,"owner" )
186
186
if err != nil {
187
187
return mcp .NewToolResultError (err .Error ()),nil
188
188
}
189
- repo ,err := requiredParam [string ](request ,"repo" )
189
+ repo ,err := RequiredParam [string ](request ,"repo" )
190
190
if err != nil {
191
191
return mcp .NewToolResultError (err .Error ()),nil
192
192
}
@@ -272,7 +272,7 @@ func ListSubIssues(getClient GetClientFn, t translations.TranslationHelperFunc)
272
272
mcp .WithDescription (t ("TOOL_LIST_SUB_ISSUES_DESCRIPTION" ,"List sub-issues for a specific issue in a GitHub repository." )),
273
273
mcp .WithToolAnnotation (mcp.ToolAnnotation {
274
274
Title :t ("TOOL_LIST_SUB_ISSUES_USER_TITLE" ,"List sub-issues" ),
275
- ReadOnlyHint :toBoolPtr (true ),
275
+ ReadOnlyHint :ToBoolPtr (true ),
276
276
}),
277
277
mcp .WithString ("owner" ,
278
278
mcp .Required (),
@@ -294,11 +294,11 @@ func ListSubIssues(getClient GetClientFn, t translations.TranslationHelperFunc)
294
294
),
295
295
),
296
296
func (ctx context.Context ,request mcp.CallToolRequest ) (* mcp.CallToolResult ,error ) {
297
- owner ,err := requiredParam [string ](request ,"owner" )
297
+ owner ,err := RequiredParam [string ](request ,"owner" )
298
298
if err != nil {
299
299
return mcp .NewToolResultError (err .Error ()),nil
300
300
}
301
- repo ,err := requiredParam [string ](request ,"repo" )
301
+ repo ,err := RequiredParam [string ](request ,"repo" )
302
302
if err != nil {
303
303
return mcp .NewToolResultError (err .Error ()),nil
304
304
}
@@ -370,7 +370,7 @@ func RemoveSubIssue(getClient GetClientFn, t translations.TranslationHelperFunc)
370
370
mcp .WithDescription (t ("TOOL_REMOVE_SUB_ISSUE_DESCRIPTION" ,"Remove a sub-issue from a parent issue in a GitHub repository." )),
371
371
mcp .WithToolAnnotation (mcp.ToolAnnotation {
372
372
Title :t ("TOOL_REMOVE_SUB_ISSUE_USER_TITLE" ,"Remove sub-issue" ),
373
- ReadOnlyHint :toBoolPtr (false ),
373
+ ReadOnlyHint :ToBoolPtr (false ),
374
374
}),
375
375
mcp .WithString ("owner" ,
376
376
mcp .Required (),
@@ -390,11 +390,11 @@ func RemoveSubIssue(getClient GetClientFn, t translations.TranslationHelperFunc)
390
390
),
391
391
),
392
392
func (ctx context.Context ,request mcp.CallToolRequest ) (* mcp.CallToolResult ,error ) {
393
- owner ,err := requiredParam [string ](request ,"owner" )
393
+ owner ,err := RequiredParam [string ](request ,"owner" )
394
394
if err != nil {
395
395
return mcp .NewToolResultError (err .Error ()),nil
396
396
}
397
- repo ,err := requiredParam [string ](request ,"repo" )
397
+ repo ,err := RequiredParam [string ](request ,"repo" )
398
398
if err != nil {
399
399
return mcp .NewToolResultError (err .Error ()),nil
400
400
}
@@ -473,7 +473,7 @@ func ReprioritizeSubIssue(getClient GetClientFn, t translations.TranslationHelpe
473
473
mcp .WithDescription (t ("TOOL_REPRIORITIZE_SUB_ISSUE_DESCRIPTION" ,"Reprioritize a sub-issue to a different position in the parent issue's sub-issue list." )),
474
474
mcp .WithToolAnnotation (mcp.ToolAnnotation {
475
475
Title :t ("TOOL_REPRIORITIZE_SUB_ISSUE_USER_TITLE" ,"Reprioritize sub-issue" ),
476
- ReadOnlyHint :toBoolPtr (false ),
476
+ ReadOnlyHint :ToBoolPtr (false ),
477
477
}),
478
478
mcp .WithString ("owner" ,
479
479
mcp .Required (),
@@ -499,11 +499,11 @@ func ReprioritizeSubIssue(getClient GetClientFn, t translations.TranslationHelpe
499
499
),
500
500
),
501
501
func (ctx context.Context ,request mcp.CallToolRequest ) (* mcp.CallToolResult ,error ) {
502
- owner ,err := requiredParam [string ](request ,"owner" )
502
+ owner ,err := RequiredParam [string ](request ,"owner" )
503
503
if err != nil {
504
504
return mcp .NewToolResultError (err .Error ()),nil
505
505
}
506
- repo ,err := requiredParam [string ](request ,"repo" )
506
+ repo ,err := RequiredParam [string ](request ,"repo" )
507
507
if err != nil {
508
508
return mcp .NewToolResultError (err .Error ()),nil
509
509
}