类 ToolSpecification
java.lang.Object
dev.langchain4j.agent.tool.ToolSpecification
Describes a
Tool.-
嵌套类概要
嵌套类修饰符和类型类说明static final classToolSpecificationbuilder static inner class. -
方法概要
修饰符和类型方法说明static ToolSpecification.Builderbuilder()Creates builder to buildToolSpecification.Returns the description of the tool.booleaninthashCode()name()Returns the name of the tool.Returns the parameters of the tool.toString()
-
方法详细资料
-
name
Returns the name of the tool.- 返回:
- the name of the tool.
-
description
Returns the description of the tool.- 返回:
- the description of the tool.
-
parameters
Returns the parameters of the tool.- 返回:
- the parameters of the tool.
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
Creates builder to buildToolSpecification.- 返回:
- created builder
-