Class DefaultToolCallingManager
java.lang.Object
org.springframework.ai.model.tool.DefaultToolCallingManager
- All Implemented Interfaces:
 ToolCallingManager
Default implementation of 
ToolCallingManager.- Since:
 - 1.0.0
 - Author:
 - Thomas Vitale
 
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
ConstructorsConstructorDescriptionDefaultToolCallingManager(io.micrometer.observation.ObservationRegistry observationRegistry, ToolCallbackResolver toolCallbackResolver, ToolExecutionExceptionProcessor toolExecutionExceptionProcessor)  - 
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a defaultToolCallingManagerbuilder.executeToolCalls(Prompt prompt, ChatResponse chatResponse) Execute the tool calls requested by the model.resolveToolDefinitions(ToolCallingChatOptions chatOptions) Resolve the tool definitions from the model's tool calling options.voidsetObservationConvention(ToolCallingObservationConvention observationConvention)  
- 
Constructor Details
- 
DefaultToolCallingManager
public DefaultToolCallingManager(io.micrometer.observation.ObservationRegistry observationRegistry, ToolCallbackResolver toolCallbackResolver, ToolExecutionExceptionProcessor toolExecutionExceptionProcessor)  
 - 
 - 
Method Details
- 
resolveToolDefinitions
Description copied from interface:ToolCallingManagerResolve the tool definitions from the model's tool calling options.- Specified by:
 resolveToolDefinitionsin interfaceToolCallingManager
 - 
executeToolCalls
Description copied from interface:ToolCallingManagerExecute the tool calls requested by the model.- Specified by:
 executeToolCallsin interfaceToolCallingManager
 - 
setObservationConvention
 - 
builder
Description copied from interface:ToolCallingManagerCreate a defaultToolCallingManagerbuilder. 
 -