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 class
ToolParameters.Builder
ToolParameters
builder static inner class.
-
Method Summary
Modifier and Type Method Description String
type()
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. boolean
equals(Object another)
int
hashCode()
String
toString()
static ToolParameters.Builder
builder()
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.
-
-
-
-