Skip to content

Commit 7e1d655

Browse files
Yorniiscionaltera
authored andcommitted
docs: Update tools.adoc (spring-projects#4278)
correct typo from 'tools' to 'toolNames' in tools.adoc Fixes: spring-projects#4278 Auto-cherry-pick to 1.0.x Signed-off-by: Yornii <[email protected]>
1 parent 001402d commit 7e1d655

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)