Uses of Interface
org.springframework.ai.tool.ToolCallbackProvider
Packages that use ToolCallbackProvider
Package
Description
Chat client API.
Core support for Model Context Protocol (MCP) integration in Spring AI.
Client-side support for the MCP 2026-07-28 ("modern") protocol revision, built on the
MCP Java SDK's
io.modelcontextprotocol.modern.client package.-
Uses of ToolCallbackProvider in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client that return types with arguments of type ToolCallbackProviderModifier and TypeMethodDescriptionDefaultChatClient.DefaultChatClientRequestSpec.getToolCallbackProviders()Methods in org.springframework.ai.chat.client with parameters of type ToolCallbackProviderModifier and TypeMethodDescriptionChatClient.Builder.defaultToolCallbacks(ToolCallbackProvider... toolCallbackProviders) Deprecated, for removal: This API element is subject to removal in a future version.DefaultChatClientBuilder.defaultToolCallbacks(ToolCallbackProvider... toolCallbackProviders) Deprecated, for removal: This API element is subject to removal in a future version.as of 2.0.0, in favor of#defaultTools(Consumer).ChatClient.ChatClientRequestSpec.toolCallbacks(ToolCallbackProvider... toolCallbackProviders) Deprecated, for removal: This API element is subject to removal in a future version.as of 2.0.0, in favor ofChatClient.ChatClientRequestSpec.tools(Object...).DefaultChatClient.DefaultChatClientRequestSpec.toolCallbacks(ToolCallbackProvider... toolCallbackProviders) -
Uses of ToolCallbackProvider in org.springframework.ai.mcp
Classes in org.springframework.ai.mcp that implement ToolCallbackProviderModifier and TypeClassDescriptionclassProvides MCP tools asynchronously from multiple MCP servers as Spring AI tool callbacks.classProvides Spring AI tool callbacks by discovering tools from MCP servers.Methods in org.springframework.ai.mcp with parameters of type ToolCallbackProviderModifier and TypeMethodDescriptionAsyncMcpToolCallbackProvider.Builder.modernToolCallbackProvider(ToolCallbackProvider modernToolCallbackProvider) Sets the provider of the tools of the MCP connections that speak the 2026-07-28 ("modern") protocol revision, typically anAsyncModernMcpToolCallbackProvider.SyncMcpToolCallbackProvider.Builder.modernToolCallbackProvider(ToolCallbackProvider modernToolCallbackProvider) Sets the provider of the tools of the MCP connections that speak the 2026-07-28 ("modern") protocol revision, typically aSyncModernMcpToolCallbackProvider. -
Uses of ToolCallbackProvider in org.springframework.ai.mcp.modern.client
Classes in org.springframework.ai.mcp.modern.client that implement ToolCallbackProviderModifier and TypeClassDescriptionfinal classExposes the tools of modern MCP servers as Spring AIToolCallbacks.final classExposes the tools of modern MCP servers as Spring AIToolCallbacks. -
Uses of ToolCallbackProvider in org.springframework.ai.tool
Classes in org.springframework.ai.tool that implement ToolCallbackProviderModifier and TypeClassDescriptionclassA simple implementation ofToolCallbackProviderthat maintains a static array ofToolCallbackobjects.Methods in org.springframework.ai.tool that return ToolCallbackProviderModifier and TypeMethodDescriptionstatic ToolCallbackProviderToolCallbackProvider.from(List<? extends ToolCallback> toolCallbacks) static ToolCallbackProviderToolCallbackProvider.from(ToolCallback... toolCallbacks) -
Uses of ToolCallbackProvider in org.springframework.ai.tool.augment
Classes in org.springframework.ai.tool.augment that implement ToolCallbackProviderMethods in org.springframework.ai.tool.augment with parameters of type ToolCallbackProviderModifier and TypeMethodDescriptionAugmentedToolCallbackProvider.Builder.delegate(ToolCallbackProvider delegate) Sets the delegate ToolCallbackProviderConstructors in org.springframework.ai.tool.augment with parameters of type ToolCallbackProviderModifierConstructorDescriptionAugmentedToolCallbackProvider(ToolCallbackProvider delegate, Class<T> argumentType, Consumer<AugmentedArgumentEvent<T>> argumentConsumer, boolean removeExtraArgumentsAfterProcessing) -
Uses of ToolCallbackProvider in org.springframework.ai.tool.method
Classes in org.springframework.ai.tool.method that implement ToolCallbackProviderModifier and TypeClassDescriptionfinal class
ChatClient.Builder.defaultTools(Object...).