Package dev.langchain4j.agent.tool
Class ToolParameters
-
- All Implemented Interfaces:
@Deprecated(forRemoval = true) public class ToolParameters
Represents the parameters of a tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolParameters.BuilderToolParametersbuilder static inner class.
-
Method Summary
Modifier and Type Method Description Stringtype()Returns the type of the tool. Map<String, Map<String, Object>>properties()Returns the properties of the tool. List<String>required()Returns the required properties of the tool. booleanequals(Object another)inthashCode()StringtoString()static ToolParameters.Builderbuilder()ToolParameters builder static inner class. -
-
Method Detail
-
properties
Map<String, Map<String, Object>> properties()
Returns the properties of the tool.
- Returns:
the properties of the tool.
-
required
List<String> required()
Returns the required properties of the tool.
- Returns:
the required properties of the tool.
-
hashCode
int hashCode()
-
builder
@Deprecated(forRemoval = true) static ToolParameters.Builder builder()
ToolParameters builder static inner class.
- Returns:
a Builder.
-
-
-
-