Package dev.langchain4j.service.tool
package dev.langchain4j.service.tool
-
ClassDescriptionRepresents a tool managed by an AI Service, combining:
ToolSpecification— what is sent to the LLMToolExecutor— what is called when the LLM invokes the tool Metadata that controls how the AI Service handles this tool (e.g., immediate return)Handler forToolArgumentsExceptions thrown by aToolExecutor.Represents the execution of a tool, including the request and the result.Handler forToolExecutionExceptions thrown by aToolExecutor.Represents the result of a tool execution.A low-level executor/handler of aToolExecutionRequest.A tool provider.