Package dev.langchain4j.agent.tool
Class ToolParameters
java.lang.Object
dev.langchain4j.agent.tool.ToolParameters
Represents the parameters of a tool.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
ToolParameters
builder static inner class. -
Method Summary
-
Method Details
-
type
Returns the type of the tool.- Returns:
- the type of the tool.
-
properties
Returns the properties of the tool.- Returns:
- the properties of the tool.
-
required
Returns the required properties of the tool.- Returns:
- the required properties of the tool.
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
ToolParameters builder static inner class.- Returns:
- a
ToolParameters.Builder
.
-