Skip to content

Remove SpringBeanToolCallbackResolver and toolNames() API#6155

Draft
tzolov wants to merge 1 commit into
spring-projects:mainfrom
tzolov:remove-spring-bean-tool-resolution
Draft

Remove SpringBeanToolCallbackResolver and toolNames() API#6155
tzolov wants to merge 1 commit into
spring-projects:mainfrom
tzolov:remove-spring-bean-tool-resolution

Conversation

@tzolov
Copy link
Copy Markdown
Contributor

@tzolov tzolov commented May 25, 2026

Remove implicit Spring bean tool resolution by name in favour of explicit ToolCallback registration.
Deletes SpringBeanToolCallbackResolver, removes toolNames()/defaultToolNames() from ChatClient, ChatClient.Builder, and all model-specific options builders, and removes spring.ai.*.chat.tool-names auto-configuration properties.

Resolves #6154
Closes #2399, #2617, #2632, #2667

Remove implicit Spring bean tool resolution by name in favour of explicit
ToolCallback registration. Deletes SpringBeanToolCallbackResolver, removes
toolNames()/defaultToolNames() from ChatClient, ChatClient.Builder, and all
model-specific options builders, and removes spring.ai.*.chat.tool-names
auto-configuration properties.

Closes spring-projects#2399, spring-projects#2617, spring-projects#2632, spring-projects#2667
Resolves spring-projects#6154

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov force-pushed the remove-spring-bean-tool-resolution branch from 563e9f7 to 509f285 Compare May 26, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant