We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae78b7 commit 4e25038Copy full SHA for 4e25038
spring-ai-docs/src/main/antora/modules/ROOT/pages/api/tools.adoc
@@ -316,7 +316,7 @@ The `ToolMetadata.Builder` allows you to build a `ToolMetadata` instance and def
316
----
317
Method method = ReflectionUtils.findMethod(DateTimeTools.class, "getCurrentDateTime");
318
ToolCallback toolCallback = MethodToolCallback.builder()
319
- .toolDefinition(ToolDefinitions.builder(method)
+ .toolDefinition(ToolDefinitions.builder()
320
.description("Get the current date and time in the user's timezone")
321
.build())
322
.toolMethod(method)
0 commit comments