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.chat.client
Methods in org.springframework.ai.chat.client with parameters of type ToolCallbackProviderModifier and TypeMethodDescriptionChatClient.Builder.defaultToolCallbacks(ToolCallbackProvider... toolCallbackProviders) DefaultChatClientBuilder.defaultToolCallbacks(ToolCallbackProvider... toolCallbackProviders) ChatClient.ChatClientRequestSpec.toolCallbacks(ToolCallbackProvider... toolCallbackProviders) DefaultChatClient.DefaultChatClientRequestSpec.toolCallbacks(ToolCallbackProvider... toolCallbackProviders) -
Uses of ToolCallbackProvider in org.springframework.ai.mcp
Classes in org.springframework.ai.mcp that implement ToolCallbackProviderModifier and TypeClassDescriptionclassImplementation ofToolCallbackProviderthat discovers and provides MCP tools asynchronously from one or more MCP servers.classImplementation ofToolCallbackProviderthat discovers and provides MCP tools from one or more MCP servers. -
Uses of ToolCallbackProvider in org.springframework.ai.mcp.server.autoconfigure
Method parameters in org.springframework.ai.mcp.server.autoconfigure with type arguments of type ToolCallbackProviderModifier and TypeMethodDescriptionio.modelcontextprotocol.server.McpAsyncServerMcpServerAutoConfiguration.mcpAsyncServer(io.modelcontextprotocol.spec.McpServerTransportProvider transportProvider, io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder capabilitiesBuilder, McpServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.AsyncToolSpecification>> tools, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.AsyncResourceSpecification>> resources, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.AsyncPromptSpecification>> prompts, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.AsyncCompletionSpecification>> completions, org.springframework.beans.factory.ObjectProvider<BiConsumer<io.modelcontextprotocol.server.McpAsyncServerExchange, List<io.modelcontextprotocol.spec.McpSchema.Root>>> rootsChangeConsumer, List<ToolCallbackProvider> toolCallbackProvider) io.modelcontextprotocol.server.McpSyncServerMcpServerAutoConfiguration.mcpSyncServer(io.modelcontextprotocol.spec.McpServerTransportProvider transportProvider, io.modelcontextprotocol.spec.McpSchema.ServerCapabilities.Builder capabilitiesBuilder, McpServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification>> tools, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.SyncResourceSpecification>> resources, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.SyncPromptSpecification>> prompts, org.springframework.beans.factory.ObjectProvider<List<io.modelcontextprotocol.server.McpServerFeatures.SyncCompletionSpecification>> completions, org.springframework.beans.factory.ObjectProvider<BiConsumer<io.modelcontextprotocol.server.McpSyncServerExchange, List<io.modelcontextprotocol.spec.McpSchema.Root>>> rootsChangeConsumers, List<ToolCallbackProvider> toolCallbackProvider) -
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.method
Classes in org.springframework.ai.tool.method that implement ToolCallbackProviderModifier and TypeClassDescriptionfinal class