类 ToolExecutionRequest
java.lang.Object
dev.langchain4j.agent.tool.ToolExecutionRequest
Represents an LLM-generated request to execute a tool.
-
嵌套类概要
嵌套类修饰符和类型类说明static final classToolExecutionRequestbuilder static inner class. -
方法概要
修饰符和类型方法说明Returns the arguments of the tool.static ToolExecutionRequest.Builderbuilder()Creates builder to buildToolExecutionRequest.booleaninthashCode()id()Returns the id of the tool.name()Returns the name of the tool.toString()
-
方法详细资料
-
id
Returns the id of the tool.- 返回:
- the id of the tool.
-
name
Returns the name of the tool.- 返回:
- the name of the tool.
-
arguments
Returns the arguments of the tool.- 返回:
- the arguments of the tool.
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
Creates builder to buildToolExecutionRequest.- 返回:
- created builder
-