@@ -51,7 +51,7 @@ const (
5151
5252// ListWorkflows creates a tool to list workflows in a repository
5353func ListWorkflows (t translations.TranslationHelperFunc ) inventory.ServerTool {
54- tool := NewToolWithScopes (
54+ tool := NewTool (
5555 ToolsetMetadataActions ,
5656 mcp.Tool {
5757 Name : "list_workflows" ,
@@ -124,7 +124,7 @@ func ListWorkflows(t translations.TranslationHelperFunc) inventory.ServerTool {
124124
125125// ListWorkflowRuns creates a tool to list workflow runs for a specific workflow
126126func ListWorkflowRuns (t translations.TranslationHelperFunc ) inventory.ServerTool {
127- tool := NewToolWithScopes (
127+ tool := NewTool (
128128 ToolsetMetadataActions ,
129129 mcp.Tool {
130130 Name : "list_workflow_runs" ,
@@ -280,7 +280,7 @@ func ListWorkflowRuns(t translations.TranslationHelperFunc) inventory.ServerTool
280280
281281// RunWorkflow creates a tool to run an Actions workflow
282282func RunWorkflow (t translations.TranslationHelperFunc ) inventory.ServerTool {
283- tool := NewToolWithScopes (
283+ tool := NewTool (
284284 ToolsetMetadataActions ,
285285 mcp.Tool {
286286 Name : "run_workflow" ,
@@ -394,7 +394,7 @@ func RunWorkflow(t translations.TranslationHelperFunc) inventory.ServerTool {
394394
395395// GetWorkflowRun creates a tool to get details of a specific workflow run
396396func GetWorkflowRun (t translations.TranslationHelperFunc ) inventory.ServerTool {
397- tool := NewToolWithScopes (
397+ tool := NewTool (
398398 ToolsetMetadataActions ,
399399 mcp.Tool {
400400 Name : "get_workflow_run" ,
@@ -464,7 +464,7 @@ func GetWorkflowRun(t translations.TranslationHelperFunc) inventory.ServerTool {
464464
465465// GetWorkflowRunLogs creates a tool to download logs for a specific workflow run
466466func GetWorkflowRunLogs (t translations.TranslationHelperFunc ) inventory.ServerTool {
467- tool := NewToolWithScopes (
467+ tool := NewTool (
468468 ToolsetMetadataActions ,
469469 mcp.Tool {
470470 Name : "get_workflow_run_logs" ,
@@ -544,7 +544,7 @@ func GetWorkflowRunLogs(t translations.TranslationHelperFunc) inventory.ServerTo
544544
545545// ListWorkflowJobs creates a tool to list jobs for a specific workflow run
546546func ListWorkflowJobs (t translations.TranslationHelperFunc ) inventory.ServerTool {
547- tool := NewToolWithScopes (
547+ tool := NewTool (
548548 ToolsetMetadataActions ,
549549 mcp.Tool {
550550 Name : "list_workflow_jobs" ,
@@ -646,7 +646,7 @@ func ListWorkflowJobs(t translations.TranslationHelperFunc) inventory.ServerTool
646646
647647// GetJobLogs creates a tool to download logs for a specific workflow job or efficiently get all failed job logs for a workflow run
648648func GetJobLogs (t translations.TranslationHelperFunc ) inventory.ServerTool {
649- tool := NewToolWithScopes (
649+ tool := NewTool (
650650 ToolsetMetadataActions ,
651651 mcp.Tool {
652652 Name : "get_job_logs" ,
@@ -913,7 +913,7 @@ func downloadLogContent(ctx context.Context, logURL string, tailLines int, maxLi
913913
914914// RerunWorkflowRun creates a tool to re-run an entire workflow run
915915func RerunWorkflowRun (t translations.TranslationHelperFunc ) inventory.ServerTool {
916- tool := NewToolWithScopes (
916+ tool := NewTool (
917917 ToolsetMetadataActions ,
918918 mcp.Tool {
919919 Name : "rerun_workflow_run" ,
@@ -990,7 +990,7 @@ func RerunWorkflowRun(t translations.TranslationHelperFunc) inventory.ServerTool
990990
991991// RerunFailedJobs creates a tool to re-run only the failed jobs in a workflow run
992992func RerunFailedJobs (t translations.TranslationHelperFunc ) inventory.ServerTool {
993- tool := NewToolWithScopes (
993+ tool := NewTool (
994994 ToolsetMetadataActions ,
995995 mcp.Tool {
996996 Name : "rerun_failed_jobs" ,
@@ -1067,7 +1067,7 @@ func RerunFailedJobs(t translations.TranslationHelperFunc) inventory.ServerTool
10671067
10681068// CancelWorkflowRun creates a tool to cancel a workflow run
10691069func CancelWorkflowRun (t translations.TranslationHelperFunc ) inventory.ServerTool {
1070- tool := NewToolWithScopes (
1070+ tool := NewTool (
10711071 ToolsetMetadataActions ,
10721072 mcp.Tool {
10731073 Name : "cancel_workflow_run" ,
@@ -1146,7 +1146,7 @@ func CancelWorkflowRun(t translations.TranslationHelperFunc) inventory.ServerToo
11461146
11471147// ListWorkflowRunArtifacts creates a tool to list artifacts for a workflow run
11481148func ListWorkflowRunArtifacts (t translations.TranslationHelperFunc ) inventory.ServerTool {
1149- tool := NewToolWithScopes (
1149+ tool := NewTool (
11501150 ToolsetMetadataActions ,
11511151 mcp.Tool {
11521152 Name : "list_workflow_run_artifacts" ,
@@ -1228,7 +1228,7 @@ func ListWorkflowRunArtifacts(t translations.TranslationHelperFunc) inventory.Se
12281228
12291229// DownloadWorkflowRunArtifact creates a tool to download a workflow run artifact
12301230func DownloadWorkflowRunArtifact (t translations.TranslationHelperFunc ) inventory.ServerTool {
1231- tool := NewToolWithScopes (
1231+ tool := NewTool (
12321232 ToolsetMetadataActions ,
12331233 mcp.Tool {
12341234 Name : "download_workflow_run_artifact" ,
@@ -1307,7 +1307,7 @@ func DownloadWorkflowRunArtifact(t translations.TranslationHelperFunc) inventory
13071307
13081308// DeleteWorkflowRunLogs creates a tool to delete logs for a workflow run
13091309func DeleteWorkflowRunLogs (t translations.TranslationHelperFunc ) inventory.ServerTool {
1310- tool := NewToolWithScopes (
1310+ tool := NewTool (
13111311 ToolsetMetadataActions ,
13121312 mcp.Tool {
13131313 Name : "delete_workflow_run_logs" ,
@@ -1385,7 +1385,7 @@ func DeleteWorkflowRunLogs(t translations.TranslationHelperFunc) inventory.Serve
13851385
13861386// GetWorkflowRunUsage creates a tool to get usage metrics for a workflow run
13871387func GetWorkflowRunUsage (t translations.TranslationHelperFunc ) inventory.ServerTool {
1388- tool := NewToolWithScopes (
1388+ tool := NewTool (
13891389 ToolsetMetadataActions ,
13901390 mcp.Tool {
13911391 Name : "get_workflow_run_usage" ,
@@ -1455,7 +1455,7 @@ func GetWorkflowRunUsage(t translations.TranslationHelperFunc) inventory.ServerT
14551455
14561456// ActionsList returns the tool and handler for listing GitHub Actions resources.
14571457func ActionsList (t translations.TranslationHelperFunc ) inventory.ServerTool {
1458- tool := NewToolWithScopes (
1458+ tool := NewTool (
14591459 ToolsetMetadataActions ,
14601460 mcp.Tool {
14611461 Name : "actions_list" ,
@@ -1652,7 +1652,7 @@ Use this tool to list workflows in a repository, or list workflow runs, jobs, an
16521652
16531653// ActionsGet returns the tool and handler for getting GitHub Actions resources.
16541654func ActionsGet (t translations.TranslationHelperFunc ) inventory.ServerTool {
1655- tool := NewToolWithScopes (
1655+ tool := NewTool (
16561656 ToolsetMetadataActions ,
16571657 mcp.Tool {
16581658 Name : "actions_get" ,
@@ -1762,7 +1762,7 @@ Use this tool to get details about individual workflows, workflow runs, jobs, an
17621762
17631763// ActionsRunTrigger returns the tool and handler for triggering GitHub Actions workflows.
17641764func ActionsRunTrigger (t translations.TranslationHelperFunc ) inventory.ServerTool {
1765- tool := NewToolWithScopes (
1765+ tool := NewTool (
17661766 ToolsetMetadataActions ,
17671767 mcp.Tool {
17681768 Name : "actions_run_trigger" ,
@@ -1882,7 +1882,7 @@ func ActionsRunTrigger(t translations.TranslationHelperFunc) inventory.ServerToo
18821882
18831883// ActionsGetJobLogs returns the tool and handler for getting workflow job logs.
18841884func ActionsGetJobLogs (t translations.TranslationHelperFunc ) inventory.ServerTool {
1885- tool := NewToolWithScopes (
1885+ tool := NewTool (
18861886 ToolsetMetadataActions ,
18871887 mcp.Tool {
18881888 Name : "get_job_logs" ,
0 commit comments