Class ToolExecutionRequest
java.lang.Object
dev.langchain4j.agent.tool.ToolExecutionRequest
Represents an LLM-generated request to execute a tool.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classToolExecutionRequestbuilder static inner class. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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()
-
Method Details
-
id
-
name
-
arguments
-
equals
-
hashCode
-
toString
-
toBuilder
-
builder
Creates builder to buildToolExecutionRequest.- Returns:
- created builder
-