Uses of Interface
org.springframework.ai.model.function.FunctionCallback
Packages that use FunctionCallback
Package
Description
Core support for Model Context Protocol (MCP) integration in Spring AI.
-
Uses of FunctionCallback in org.springframework.ai.chat.model
Fields in org.springframework.ai.chat.model with type parameters of type FunctionCallbackModifier and TypeFieldDescriptionprotected final Map<String,
FunctionCallback> AbstractToolCallSupport.functionCallbackRegister
Deprecated.The function callback register is used to resolve the function callbacks by name.Methods in org.springframework.ai.chat.model that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionAbstractToolCallSupport.getFunctionCallbackRegister()
Deprecated.protected List<FunctionCallback>
AbstractToolCallSupport.resolveFunctionCallbacks
(Set<String> functionNames) Deprecated.Constructor parameters in org.springframework.ai.chat.model with type arguments of type FunctionCallbackModifierConstructorDescriptionprotected
AbstractToolCallSupport
(FunctionCallbackResolver functionCallbackResolver, FunctionCallingOptions functionCallingOptions, List<FunctionCallback> toolFunctionCallbacks) Deprecated. -
Uses of FunctionCallback in org.springframework.ai.mcp
Classes in org.springframework.ai.mcp that implement FunctionCallbackModifier and TypeClassDescriptionclass
Implementation ofToolCallback
that adapts MCP tools to Spring AI's tool interface with asynchronous execution support.class
Implementation ofToolCallback
that adapts MCP tools to Spring AI's tool interface. -
Uses of FunctionCallback in org.springframework.ai.model.function
Classes in org.springframework.ai.model.function that implement FunctionCallbackModifier and TypeClassDescriptionfinal class
Deprecated.class
Deprecated.in favor ofMethodToolCallback
.Methods in org.springframework.ai.model.function that return FunctionCallbackModifier and TypeMethodDescriptionFunctionCallback.FunctionInvokingSpec.build()
Builds theFunctionCallback
instance.FunctionCallback.MethodInvokingSpec.build()
Builds theFunctionCallback
instance.Deprecated.Deprecated.Resolve theFunctionCallback
instance by its name.Methods in org.springframework.ai.model.function that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptions.getFunctionCallbacks()
Deprecated.FunctionCallingOptions.getFunctionCallbacks()
Deprecated.Function Callbacks to be registered with the ChatModel.Methods in org.springframework.ai.model.function with parameters of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptionsBuilder.functionCallbacks
(FunctionCallback... functionCallbacks) Deprecated.FunctionCallingOptions.Builder.functionCallbacks
(FunctionCallback... functionCallbacks) The Function Callbacks to be registered with the Chat model.Method parameters in org.springframework.ai.model.function with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptionsBuilder.functionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated.FunctionCallingOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) The list of Function Callbacks to be registered with the Chat model.void
DefaultFunctionCallingOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated.void
FunctionCallingOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated.Set the Function Callbacks to be registered with the ChatModel. -
Uses of FunctionCallback in org.springframework.ai.tool
Subinterfaces of FunctionCallback in org.springframework.ai.toolModifier and TypeInterfaceDescriptioninterface
Represents a tool whose execution can be triggered by an AI model. -
Uses of FunctionCallback in org.springframework.ai.tool.function
Classes in org.springframework.ai.tool.function that implement FunctionCallbackModifier and TypeClassDescriptionclass
FunctionToolCallback<I,
O> AToolCallback
implementation to invoke functions as tools. -
Uses of FunctionCallback in org.springframework.ai.tool.method
Classes in org.springframework.ai.tool.method that implement FunctionCallbackModifier and TypeClassDescriptionfinal class
AToolCallback
implementation to invoke methods as tools.
FunctionToolCallback
.