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.minimax
Methods in org.springframework.ai.minimax that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.minimax with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMiniMaxChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
MiniMaxChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Constructor parameters in org.springframework.ai.minimax with type arguments of type FunctionCallbackModifierConstructorDescriptionMiniMaxChatModel
(MiniMaxApi miniMaxApi, MiniMaxChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the MiniMaxChatModel. -
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.model.minimax.autoconfigure
Method parameters in org.springframework.ai.model.minimax.autoconfigure with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMiniMaxChatAutoConfiguration.miniMaxChatModel
(MiniMaxConnectionProperties commonProperties, MiniMaxChatProperties chatProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.client.RestClient.Builder> restClientBuilderProvider, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.model.moonshot.autoconfigure
Method parameters in org.springframework.ai.model.moonshot.autoconfigure with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMoonshotChatAutoConfiguration.moonshotChatModel
(MoonshotCommonProperties commonProperties, MoonshotChatProperties chatProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.client.RestClient.Builder> restClientBuilderProvider, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.model.zhipuai.autoconfigure
Method parameters in org.springframework.ai.model.zhipuai.autoconfigure with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionZhiPuAiChatAutoConfiguration.zhiPuAiChatModel
(ZhiPuAiConnectionProperties commonProperties, ZhiPuAiChatProperties chatProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.client.RestClient.Builder> restClientBuilderProvider, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.moonshot
Methods in org.springframework.ai.moonshot that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.moonshot with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMoonshotChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
MoonshotChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Constructor parameters in org.springframework.ai.moonshot with type arguments of type FunctionCallbackModifierConstructorDescriptionMoonshotChatModel
(MoonshotApi moonshotApi, MoonshotChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the MoonshotChatModel. -
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. -
Uses of FunctionCallback in org.springframework.ai.zhipuai
Methods in org.springframework.ai.zhipuai that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.zhipuai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionZhiPuAiChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
ZhiPuAiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Constructor parameters in org.springframework.ai.zhipuai with type arguments of type FunctionCallbackModifierConstructorDescriptionZhiPuAiChatModel
(ZhiPuAiApi zhiPuAiApi, ZhiPuAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the ZhiPuAiChatModel.
FunctionToolCallback
.