Uses of Interface
org.springframework.ai.tool.ToolCallbackProvider
Packages that use ToolCallbackProvider
Package
Description
Chat client.
Core support for Model Context Protocol (MCP) integration in Spring AI.
-
Uses of ToolCallbackProvider in org.springframework.ai.autoconfigure.mcp.client
Methods in org.springframework.ai.autoconfigure.mcp.client that return ToolCallbackProviderModifier and TypeMethodDescriptionMcpClientAutoConfiguration.asyncToolCallbacks
(org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.client.McpAsyncClient>> mcpClientsProvider) McpClientAutoConfiguration.toolCallbacks
(org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.client.McpSyncClient>> mcpClientsProvider) Creates tool callbacks for all configured MCP clients. -
Uses of ToolCallbackProvider in org.springframework.ai.autoconfigure.mcp.server
Method parameters in org.springframework.ai.autoconfigure.mcp.server with type arguments of type ToolCallbackProviderModifier and TypeMethodDescriptionio.modelcontextprotocol.server.McpAsyncServer
MpcServerAutoConfiguration.mcpAsyncServer
(io.modelcontextprotocol.spec.ServerMcpTransport transport, io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder capabilitiesBuilder, McpServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.AsyncToolRegistration>> tools, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceRegistration>> resources, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptRegistration>> prompts, org.springframework.beans.factory.ObjectProvider<Consumer<List<io.modelcontextprotocol.spec.McpSchema.Root>>> rootsChangeConsumer, List<ToolCallbackProvider> toolCallbackProvider) io.modelcontextprotocol.server.McpSyncServer
MpcServerAutoConfiguration.mcpSyncServer
(io.modelcontextprotocol.spec.ServerMcpTransport transport, io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder capabilitiesBuilder, McpServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.SyncToolRegistration>> tools, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.SyncResourceRegistration>> resources, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.SyncPromptRegistration>> prompts, org.springframework.beans.factory.ObjectProvider<Consumer<List<io.modelcontextprotocol.spec.McpSchema.Root>>> rootsChangeConsumers, List<ToolCallbackProvider> toolCallbackProvider) -
Uses of ToolCallbackProvider in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client with parameters of type ToolCallbackProviderModifier and TypeMethodDescriptionChatClient.Builder.defaultTools
(ToolCallbackProvider... toolCallbackProviders) DefaultChatClientBuilder.defaultTools
(ToolCallbackProvider... toolCallbackProviders) ChatClient.ChatClientRequestSpec.tools
(ToolCallbackProvider... toolCallbackProviders) DefaultChatClient.DefaultChatClientRequestSpec.tools
(ToolCallbackProvider... toolCallbackProviders) -
Uses of ToolCallbackProvider in org.springframework.ai.mcp
Classes in org.springframework.ai.mcp that implement ToolCallbackProviderModifier and TypeClassDescriptionclass
Implementation ofToolCallbackProvider
that discovers and provides MCP tools asynchronously from one or more MCP servers.class
Implementation ofToolCallbackProvider
that discovers and provides MCP tools from one or more MCP servers. -
Uses of ToolCallbackProvider in org.springframework.ai.tool
Classes in org.springframework.ai.tool that implement ToolCallbackProviderModifier and TypeClassDescriptionclass
A simple implementation ofToolCallbackProvider
that maintains a static array ofFunctionCallback
objects.Methods in org.springframework.ai.tool that return ToolCallbackProviderModifier and TypeMethodDescriptionstatic ToolCallbackProvider
ToolCallbackProvider.from
(List<? extends FunctionCallback> toolCallbacks) static ToolCallbackProvider
ToolCallbackProvider.from
(FunctionCallback... toolCallbacks) -
Uses of ToolCallbackProvider in org.springframework.ai.tool.method
Classes in org.springframework.ai.tool.method that implement ToolCallbackProviderModifier and TypeClassDescriptionclass