Uses of Class
dev.langchain4j.service.tool.ToolExecution
Packages that use ToolExecution
Package
Description
-
Uses of ToolExecution in dev.langchain4j.agentic.observability
Methods in dev.langchain4j.agentic.observability that return ToolExecutionModifier and TypeMethodDescriptionAfterAgentToolExecution.toolExecution()Returns the value of thetoolExecutionrecord component.Constructors in dev.langchain4j.agentic.observability with parameters of type ToolExecutionModifierConstructorDescriptionAfterAgentToolExecution(AgenticScope agenticScope, AgentInstance agentInstance, ToolExecution toolExecution) Creates an instance of aAfterAgentToolExecutionrecord class. -
Uses of ToolExecution in dev.langchain4j.service
Methods in dev.langchain4j.service that return types with arguments of type ToolExecutionModifier and TypeMethodDescriptionResult.toolExecutions()Returns all tool executions that happened during AI Service invocation.Method parameters in dev.langchain4j.service with type arguments of type ToolExecutionModifier and TypeMethodDescriptionAiServices.afterToolExecution(Consumer<ToolExecution> afterToolExecution) Configures a callback to be invoked after each tool execution.AiServiceTokenStream.onToolExecuted(Consumer<ToolExecution> toolExecutionHandler) TokenStream.onToolExecuted(Consumer<ToolExecution> toolExecuteHandler) The provided consumer will be invoked right after a tool is executed.Result.ResultBuilder.toolExecutions(List<ToolExecution> toolExecutions) -
Uses of ToolExecution in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return ToolExecutionMethods in dev.langchain4j.service.tool that return types with arguments of type ToolExecutionMethod parameters in dev.langchain4j.service.tool with type arguments of type ToolExecutionModifier and TypeMethodDescriptionvoidToolService.afterToolExecution(Consumer<ToolExecution> afterToolExecution) ToolServiceResult.Builder.toolExecutions(List<ToolExecution> toolExecutions) Constructor parameters in dev.langchain4j.service.tool with type arguments of type ToolExecutionModifierConstructorDescriptionToolServiceResult(ChatResponse chatResponse, List<ToolExecution> toolExecutions) Deprecated.
ToolServiceResult(Builder)instead