Package dev.langchain4j.agent.tool
See: Description
-
Annotation Summary Annotation Description Tool Java methods annotated with @Toolare considered tools/functions that language model can execute/call.ToolMemoryId If a Tool method parameter is annotated with this annotation, memory id (parameter annotated with @MemoryId in AI Service) will be injected automatically. P Parameter of a Tool -
Class Summary Class Description ToolSpecifications Utility methods for ToolSpecifications. Builder ToolSpecificationbuilder static inner class.ToolSpecification Describes a tool that language model can execute. Builder ToolExecutionRequestbuilder static inner class.ToolExecutionRequest Represents an LLM-generated request to execute a tool.