类 ToolParameters.Builder
java.lang.Object
dev.langchain4j.agent.tool.ToolParameters.Builder
- 封闭类:
- ToolParameters
ToolParameters builder static inner class.-
方法概要
修饰符和类型方法说明build()Returns aToolParametersbuilt from the parameters previously set.Sets theproperties.Sets therequired.Sets thetype.
-
方法详细资料
-
type
Sets thetype.- 参数:
type- thetype- 返回:
- the
Builder.
-
properties
Sets theproperties.- 参数:
properties- theproperties- 返回:
- the
Builder.
-
required
Sets therequired.- 参数:
required- therequired- 返回:
- the
Builder.
-
build
Returns aToolParametersbuilt from the parameters previously set.- 返回:
- a
ToolParametersbuilt with parameters of thisToolParameters.Builder
-