Uses of Interface
dev.langchain4j.service.tool.ToolExecutor
Packages that use ToolExecutor
Package
Description
-
Uses of ToolExecutor in dev.langchain4j.mcp
Method parameters in dev.langchain4j.mcp with type arguments of type ToolExecutorModifier and TypeMethodDescriptionMcpToolProvider.Builder.toolWrapper
(Function<ToolExecutor, ToolExecutor> toolWrapper) Provide a wrapper around theToolExecutor
that can be used to implement tracing for example.McpToolProvider.Builder.toolWrapper
(Function<ToolExecutor, ToolExecutor> toolWrapper) Provide a wrapper around theToolExecutor
that can be used to implement tracing for example.Constructor parameters in dev.langchain4j.mcp with type arguments of type ToolExecutorModifierConstructorDescriptionprotected
McpToolProvider
(List<McpClient> mcpClients, boolean failIfOneServerFails, BiPredicate<McpClient, ToolSpecification> mcpToolsFilter, Function<ToolExecutor, ToolExecutor> toolWrapper, McpResourcesAsToolsPresenter resourcesAsToolsPresenter) protected
McpToolProvider
(List<McpClient> mcpClients, boolean failIfOneServerFails, BiPredicate<McpClient, ToolSpecification> mcpToolsFilter, Function<ToolExecutor, ToolExecutor> toolWrapper, McpResourcesAsToolsPresenter resourcesAsToolsPresenter) -
Uses of ToolExecutor in dev.langchain4j.mcp.resourcesastools
Methods in dev.langchain4j.mcp.resourcesastools that return ToolExecutorModifier and TypeMethodDescriptionDefaultMcpResourcesAsToolsPresenter.createGetResourceExecutor
(List<McpClient> mcpClients) McpResourcesAsToolsPresenter.createGetResourceExecutor
(List<McpClient> mcpClients) Create an executor for the tool that gets a particular resource.DefaultMcpResourcesAsToolsPresenter.createListResourcesExecutor
(List<McpClient> mcpClients) McpResourcesAsToolsPresenter.createListResourcesExecutor
(List<McpClient> mcpClients) Create an executor for the tool that lists available resources. -
Uses of ToolExecutor in dev.langchain4j.service
Methods in dev.langchain4j.service that return types with arguments of type ToolExecutorMethod parameters in dev.langchain4j.service with type arguments of type ToolExecutorModifier and TypeMethodDescriptionAiServiceTokenStreamParameters.Builder.toolExecutors
(Map<String, ToolExecutor> toolExecutors) Sets the tool executors.AiServices.tools
(Map<ToolSpecification, ToolExecutor> tools) Configures the tools that the LLM can use. -
Uses of ToolExecutor in dev.langchain4j.service.tool
Classes in dev.langchain4j.service.tool that implement ToolExecutorMethods in dev.langchain4j.service.tool that return ToolExecutorMethods in dev.langchain4j.service.tool that return types with arguments of type ToolExecutorModifier and TypeMethodDescriptionToolService.toolExecutors()
ToolServiceContext.toolExecutors()
ToolProviderResult.tools()
Methods in dev.langchain4j.service.tool with parameters of type ToolExecutorModifier and TypeMethodDescriptionToolProviderResult.Builder.add
(ToolSpecification tool, ToolExecutor executor) Method parameters in dev.langchain4j.service.tool with type arguments of type ToolExecutorModifier and TypeMethodDescriptionToolProviderResult.Builder.addAll
(Map<ToolSpecification, ToolExecutor> tools) ToolService.executeInferenceAndToolsLoop
(ChatResponse chatResponse, ChatRequestParameters parameters, List<ChatMessage> messages, ChatModel chatModel, ChatMemory chatMemory, Object memoryId, Map<String, ToolExecutor> toolExecutors) void
ToolService.tools
(Map<ToolSpecification, ToolExecutor> tools) Constructor parameters in dev.langchain4j.service.tool with type arguments of type ToolExecutorModifierConstructorDescriptionToolServiceContext
(List<ToolSpecification> toolSpecifications, Map<String, ToolExecutor> toolExecutors)