File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ func ActionFromString(s string) actionsActionType {
6565}
6666
6767func ActionsRead (getClient GetClientFn , t translations.TranslationHelperFunc ) (tool mcp.Tool , handler server.ToolHandlerFunc ) {
68- return mcp .NewTool ("actions_resource_read " ,
68+ return mcp .NewTool ("actions_read " ,
6969 mcp .WithDescription (t ("TOOL_ACTIONS_READ_DESCRIPTION" , "Tools for reading GitHub Actions resources" )),
7070 mcp .WithToolAnnotation (mcp.ToolAnnotation {
7171 Title : t ("TOOL_ACTIONS_READ_USER_TITLE" , "Read GitHub Actions" ),
Original file line number Diff line number Diff line change @@ -1286,7 +1286,7 @@ func Test_ActionsResourceRead(t *testing.T) {
12861286 mockClient := github .NewClient (nil )
12871287 tool , _ := ActionsRead (stubGetClientFn (mockClient ), translations .NullTranslationHelper )
12881288
1289- assert .Equal (t , "actions_resource_read " , tool .Name )
1289+ assert .Equal (t , "actions_read " , tool .Name )
12901290 assert .NotEmpty (t , tool .Description )
12911291 assert .Contains (t , tool .InputSchema .Properties , "action" )
12921292 assert .Contains (t , tool .InputSchema .Properties , "owner" )
You can’t perform that action at this time.
0 commit comments