Class SpringBeanToolCallbackResolver
java.lang.Object
org.springframework.ai.tool.resolution.SpringBeanToolCallbackResolver
- All Implemented Interfaces:
- ToolCallbackResolver
A Spring 
ApplicationContext-based implementation that provides a way to
 retrieve a bean from the Spring context and wrap it into a ToolCallback.- Since:
- 1.0.0
- Author:
- Christian Tzolov, Christopher Smith, Sebastien Deleuze, Thomas Vitale
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionSpringBeanToolCallbackResolver(org.springframework.context.support.GenericApplicationContext applicationContext, SchemaType schemaType) 
- 
Method Summary
- 
Constructor Details- 
SpringBeanToolCallbackResolverpublic SpringBeanToolCallbackResolver(org.springframework.context.support.GenericApplicationContext applicationContext, @Nullable SchemaType schemaType) 
 
- 
- 
Method Details- 
resolveDescription copied from interface:ToolCallbackResolverResolve theToolCallbackfor the given tool name.- Specified by:
- resolvein interface- ToolCallbackResolver
 
- 
getSchemaType
- 
builder
 
-