Skip to content

Commit c179b53

Browse files
committed
fix readme
1 parent 58fc9cf commit c179b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ type HiParams struct {
115115
Name string `json:"name" jsonschema:"the name of the person to greet"`
116116
}
117117

118-
func SayHi(ctx context.Context, req *mcp.ServerRequest[*mcp.CallToolParams], args HiParams) (*mcp.CallToolResult, any, error) {
118+
func SayHi(ctx context.Context, req *mcp.CallToolRequest, args HiParams) (*mcp.CallToolResult, any, error) {
119119
return &mcp.CallToolResult{
120120
Content: []mcp.Content{&mcp.TextContent{Text: "Hi " + args.Name}},
121121
}, nil, nil

0 commit comments

Comments
 (0)