Package dev.langchain4j.agent.tool
package dev.langchain4j.agent.tool
-
ClassDescriptionRepresents a property in a JSON schema.Parameter of a ToolJava methods annotated with @Tool are considered tools that language model can use.Represents a request to execute a tool.
ToolExecutionRequest
builder static inner class.Utility class forToolExecutionRequest
.If aTool
method 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.ToolParameters
builder static inner class.Describes aTool
.ToolSpecification
builder static inner class.Utility methods forToolSpecification
s.