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 class
ToolExecutionRequest
builder static inner class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the arguments of the tool.static ToolExecutionRequest.Builder
builder()
Creates builder to buildToolExecutionRequest
.boolean
int
hashCode()
id()
Returns the id of the tool.name()
Returns the name of the tool.toString()
-
Method Details
-
id
-
name
-
arguments
-
equals
-
hashCode
-
toString
-
builder
Creates builder to buildToolExecutionRequest
.- Returns:
- created builder
-