Files
github--github-mcp-server/pkg/github/deprecated_tool_aliases.go
Tommaso Moro 63c7db030a
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
Docker / build (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
GoReleaser Release / release (push) Has been cancelled
License Check / license-check (push) Has been cancelled
Publish to MCP Registry / publish (push) Has been cancelled
Add aliases for new actions tools (#1652)
* add aliases for new actions tools

* generate docs
2025-12-19 10:33:23 +00:00

32 lines
1.3 KiB
Go

// deprecated_tool_aliases.go
package github
// DeprecatedToolAliases maps old tool names to their new canonical names.
// When tools are renamed, add an entry here to maintain backward compatibility.
// Users referencing the old name will receive the new tool with a deprecation warning.
//
// Example:
//
// "get_issue": "issue_read",
// "create_pr": "pull_request_create",
var DeprecatedToolAliases = map[string]string{
// Add entries as tools are renamed
// Actions tools consolidated
"list_workflows": "actions_list",
"list_workflow_runs": "actions_list",
"list_workflow_jobs": "actions_list",
"list_workflow_run_artifacts": "actions_list",
"get_workflow": "actions_get",
"get_workflow_run": "actions_get",
"get_workflow_job": "actions_get",
"get_workflow_run_usage": "actions_get",
"get_workflow_run_logs": "actions_get",
"get_workflow_job_logs": "actions_get",
"download_workflow_run_artifact": "actions_get",
"run_workflow": "actions_run_trigger",
"rerun_workflow_run": "actions_run_trigger",
"rerun_failed_jobs": "actions_run_trigger",
"cancel_workflow_run": "actions_run_trigger",
"delete_workflow_run_logs": "actions_run_trigger",
}