Skip to content

Commit f60537b

Browse files
committed
go fmt
1 parent c273e1a commit f60537b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/typed_tools/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type GreetingArgs struct {
2222
}
2323

2424
// main starts the MCP-based example server, registers a typed "greeting" tool, and serves it over standard I/O.
25-
//
25+
//
2626
// The registered tool exposes a schema for typed inputs (name, age, is_vip, languages, metadata, and any_data)
2727
// and uses a typed handler to produce personalized greetings. If the server fails to start, an error is printed to stdout.
2828
func main() {
@@ -118,4 +118,4 @@ func typedGreetingHandler(ctx context.Context, request mcp.CallToolRequest, args
118118
}
119119

120120
return mcp.NewToolResultText(greeting), nil
121-
}
121+
}

0 commit comments

Comments
 (0)