Expected Behavior

a special an annotation can add a spring bean method to the ToolCallback list as default . then we can pick up any spring bean method as a callback method to ai.

Current Behavior

we must regist the callback with manual.

Context

In fact, many spring beans and calling methods are already registered in spring. We only need to add some method and parameter annotations to the corresponding positions to complete the registration.

Comment From: quaff

See my proposal https://github.com/spring-projects/spring-ai/issues/4206