Skip to content

Commit b71d730

Browse files
Yorniispring-builds
authored andcommitted
docs: Update tools.adoc (#4278)
correct typo from 'tools' to 'toolNames' in tools.adoc Fixes: #4278 Signed-off-by: Yornii <[email protected]> (cherry picked from commit af626e1)
1 parent 618c451 commit b71d730

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)