Skip to content

Commit f44e6cb

Browse files
committed
docs: Update tools.adoc
correct typo from 'tools' to 'toolNames' in tools.adoc Signed-off-by: Yornii <[email protected]>
1 parent 1dd686b commit f44e6cb

File tree

1 file changed

+1
-1
lines changed
  • spring-ai-docs/src/main/antora/modules/ROOT/pages/api

1 file changed

+1
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/tools.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ class WeatherTools {
618618

619619
==== Adding Tools to `ChatClient`
620620

621-
When using the dynamic specification approach, you can pass the tool name (i.e. the function bean name) to the `tools()` method of `ChatClient`.
621+
When using the dynamic specification approach, you can pass the tool name (i.e. the function bean name) to the `toolNames()` method of `ChatClient`.
622622
The tool will only be available for the specific chat request it's added to.
623623

624624
[source,java]

0 commit comments

Comments
 (0)