@@ -720,7 +720,7 @@ func GetIssueTimeline(getClient GetClientFn, t translations.TranslationHelperFun
720720 mcp .WithDescription (t ("TOOL_GET_ISSUE_TIMELINE_DESCRIPTION" , "Get timeline of a specific issue in a GitHub repository." )),
721721 mcp .WithToolAnnotation (mcp.ToolAnnotation {
722722 Title : t ("TOOL_GET_ISSUE_TIMELINE_USER_TITLE" , "Get issue timeline" ),
723- ReadOnlyHint : toBoolPtr (true ),
723+ ReadOnlyHint : ToBoolPtr (true ),
724724 }),
725725 mcp .WithString ("owner" ,
726726 mcp .Required (),
@@ -737,11 +737,11 @@ func GetIssueTimeline(getClient GetClientFn, t translations.TranslationHelperFun
737737 WithPagination (),
738738 ),
739739 func (ctx context.Context , request mcp.CallToolRequest ) (* mcp.CallToolResult , error ) {
740- owner , err := requiredParam [string ](request , "owner" )
740+ owner , err := RequiredParam [string ](request , "owner" )
741741 if err != nil {
742742 return mcp .NewToolResultError (err .Error ()), nil
743743 }
744- repo , err := requiredParam [string ](request , "repo" )
744+ repo , err := RequiredParam [string ](request , "repo" )
745745 if err != nil {
746746 return mcp .NewToolResultError (err .Error ()), nil
747747 }
@@ -793,7 +793,7 @@ func GetIssueEvents(getClient GetClientFn, t translations.TranslationHelperFunc)
793793 mcp .WithDescription (t ("TOOL_GET_ISSUE_EVENTS_DESCRIPTION" , "Get a list of events for a specific issue in a GitHub repository." )),
794794 mcp .WithToolAnnotation (mcp.ToolAnnotation {
795795 Title : t ("TOOL_GET_ISSUE_EVENTS_USER_TITLE" , "Get issue events" ),
796- ReadOnlyHint : toBoolPtr (true ),
796+ ReadOnlyHint : ToBoolPtr (true ),
797797 }),
798798 mcp .WithString ("owner" ,
799799 mcp .Required (),
@@ -810,11 +810,11 @@ func GetIssueEvents(getClient GetClientFn, t translations.TranslationHelperFunc)
810810 WithPagination (),
811811 ),
812812 func (ctx context.Context , request mcp.CallToolRequest ) (* mcp.CallToolResult , error ) {
813- owner , err := requiredParam [string ](request , "owner" )
813+ owner , err := RequiredParam [string ](request , "owner" )
814814 if err != nil {
815815 return mcp .NewToolResultError (err .Error ()), nil
816816 }
817- repo , err := requiredParam [string ](request , "repo" )
817+ repo , err := RequiredParam [string ](request , "repo" )
818818 if err != nil {
819819 return mcp .NewToolResultError (err .Error ()), nil
820820 }
@@ -866,7 +866,7 @@ func GetIssueEvent(getClient GetClientFn, t translations.TranslationHelperFunc)
866866 mcp .WithDescription (t ("TOOL_GET_ISSUE_EVENT_DESCRIPTION" , "Get a single event for an issue in a GitHub repository." )),
867867 mcp .WithToolAnnotation (mcp.ToolAnnotation {
868868 Title : t ("TOOL_GET_ISSUE_EVENT_USER_TITLE" , "Get an issue event" ),
869- ReadOnlyHint : toBoolPtr (true ),
869+ ReadOnlyHint : ToBoolPtr (true ),
870870 }),
871871 mcp .WithString ("owner" ,
872872 mcp .Required (),
@@ -882,11 +882,11 @@ func GetIssueEvent(getClient GetClientFn, t translations.TranslationHelperFunc)
882882 ),
883883 ),
884884 func (ctx context.Context , request mcp.CallToolRequest ) (* mcp.CallToolResult , error ) {
885- owner , err := requiredParam [string ](request , "owner" )
885+ owner , err := RequiredParam [string ](request , "owner" )
886886 if err != nil {
887887 return mcp .NewToolResultError (err .Error ()), nil
888888 }
889- repo , err := requiredParam [string ](request , "repo" )
889+ repo , err := RequiredParam [string ](request , "repo" )
890890 if err != nil {
891891 return mcp .NewToolResultError (err .Error ()), nil
892892 }
0 commit comments