You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/sample-mcp-server-secured-tools/src/main/java/org/springaicommunity/mcp/security/sample/server/securedtools/McpServerConfiguration.java
Copy file name to clipboardExpand all lines: samples/sample-mcp-server/src/main/java/org/springaicommunity/mcp/security/sample/server/streamable/HistoricalWeatherService.java
+27-16Lines changed: 27 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -56,35 +56,46 @@ public record DailyTemperatures(String date, double minTemperature, double maxTe
56
56
@Tool(name = "temperature-history",
57
57
description = "Get 5-year historical temperature data (in Celsius), including daily min and daily max temperatures, for a specific location")
58
58
publicToolResponsegetHistoricalWeatherData(@ToolParam(description = "The location latitude") doublelatitude,
59
-
@ToolParam(description = "The location longitude") doublelongitude, ToolContexttoolContext) {
59
+
@ToolParam(description = "The location longitude") doublelongitude) {
0 commit comments