diff --git a/README.md b/README.md index 9263e46b..a12a0267 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,11 @@ type Output struct { Greeting string `json:"greeting" jsonschema:"the greeting to tell to the user"` } -func SayHi(ctx context.Context, req *mcp.CallToolRequest, input Input) (*mcp.CallToolResult, Output, error) { +func SayHi(ctx context.Context, req *mcp.CallToolRequest, input Input) ( + *mcp.CallToolResult, + Output, + error, +) { return nil, Output{Greeting: "Hi " + input.Name}, nil } diff --git a/internal/readme/server/server.go b/internal/readme/server/server.go index e9996027..bfa08254 100644 --- a/internal/readme/server/server.go +++ b/internal/readme/server/server.go @@ -20,7 +20,11 @@ type Output struct { Greeting string `json:"greeting" jsonschema:"the greeting to tell to the user"` } -func SayHi(ctx context.Context, req *mcp.CallToolRequest, input Input) (*mcp.CallToolResult, Output, error) { +func SayHi(ctx context.Context, req *mcp.CallToolRequest, input Input) ( + *mcp.CallToolResult, + Output, + error, +) { return nil, Output{Greeting: "Hi " + input.Name}, nil }