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.functionCallbackRegisterDeprecated.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 FunctionCallbackModifierConstructorDescriptionprotectedAbstractToolCallSupport(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 TypeClassDescriptionclassImplementation ofToolCallbackthat adapts MCP tools to Spring AI's tool interface with asynchronous execution support.classImplementation ofToolCallbackthat 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 classDeprecated.classDeprecated.in favor ofMethodToolCallback.Methods in org.springframework.ai.model.function that return FunctionCallbackModifier and TypeMethodDescriptionFunctionCallback.FunctionInvokingSpec.build()Builds theFunctionCallbackinstance.FunctionCallback.MethodInvokingSpec.build()Builds theFunctionCallbackinstance.Deprecated.Deprecated.Resolve theFunctionCallbackinstance 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.voidDefaultFunctionCallingOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidFunctionCallingOptions.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 TypeInterfaceDescriptioninterfaceRepresents 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 TypeClassDescriptionclassFunctionToolCallback<I,O> AToolCallbackimplementation 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 classAToolCallbackimplementation to invoke methods as tools.
FunctionToolCallback.