Skip to content

Commit ee9abaa

Browse files
committed
Change to actions_read
1 parent ce0ab9c commit ee9abaa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/github/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func ActionFromString(s string) actionsActionType {
6565
}
6666

6767
func 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"),

pkg/github/actions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)