Package dev.langchain4j.agent.tool
Class ToolParameters.Builder
java.lang.Object
dev.langchain4j.agent.tool.ToolParameters.Builder
- Enclosing class:
ToolParameters
ToolParameters builder static inner class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns aToolParametersbuilt from the parameters previously set.Sets theproperties.Sets therequired.Sets thetype.
-
Method Details
-
type
Sets thetype.- Parameters:
type- thetype- Returns:
- the
Builder.
-
properties
Sets theproperties.- Parameters:
properties- theproperties- Returns:
- the
Builder.
-
required
Sets therequired.- Parameters:
required- therequired- Returns:
- the
Builder.
-
build
Returns aToolParametersbuilt from the parameters previously set.- Returns:
- a
ToolParametersbuilt with parameters of thisToolParameters.Builder
-