Package dev.langchain4j.agent.tool
package dev.langchain4j.agent.tool
-
ClassDescriptionRepresents a property in a JSON schema.Parameter of a ToolJava methods annotated with
@Toolare considered tools/functions that language model can execute/call.Represents an LLM-generated request to execute a tool.ToolExecutionRequestbuilder static inner class.If aToolmethod parameter is annotated with this annotation, memory id (parameter annotated with @MemoryId in AI Service) will be injected automatically.Represents the parameters of a tool.ToolParametersbuilder static inner class.Describes aTool.ToolSpecificationbuilder static inner class.Utility methods forToolSpecifications.