Uses of Class
dev.langchain4j.service.tool.BeforeToolExecution
Packages that use BeforeToolExecution
Package
Description
-
Uses of BeforeToolExecution in dev.langchain4j.agentic.observability
Methods in dev.langchain4j.agentic.observability with parameters of type BeforeToolExecutionModifier and TypeMethodDescriptiondefault voidAgentListener.beforeToolExecution(BeforeToolExecution beforeToolExecution) voidComposedAgentListener.beforeToolExecution(BeforeToolExecution beforeToolExecution) -
Uses of BeforeToolExecution in dev.langchain4j.service
Method parameters in dev.langchain4j.service with type arguments of type BeforeToolExecutionModifier and TypeMethodDescriptionAiServices.beforeToolExecution(Consumer<BeforeToolExecution> beforeToolExecution) Configures a callback to be invoked before each tool execution.AiServiceTokenStream.beforeToolExecution(Consumer<BeforeToolExecution> beforeToolExecutionHandler) default TokenStreamTokenStream.beforeToolExecution(Consumer<BeforeToolExecution> beforeToolExecutionHandler) The provided consumer will be invoked right before a tool is executed. -
Uses of BeforeToolExecution in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return BeforeToolExecutionMethod parameters in dev.langchain4j.service.tool with type arguments of type BeforeToolExecutionModifier and TypeMethodDescriptionvoidToolService.beforeToolExecution(Consumer<BeforeToolExecution> beforeToolExecution) ToolService.executeTool(InvocationContext invocationContext, Map<String, ToolExecutor> toolExecutors, ToolExecutionRequest toolRequest, Consumer<BeforeToolExecution> externalBeforeToolExecution, Consumer<ToolExecution> externalAfterToolExecution)