Package dev.langchain4j.agent.tool
Class ToolExecutionRequest
-
- All Implemented Interfaces:
public class ToolExecutionRequest
Represents an LLM-generated request to execute a tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ToolExecutionRequest.Builder
ToolExecutionRequest
builder static inner class.
-
Method Summary
Modifier and Type Method Description String
id()
Returns the id of the tool. String
name()
Returns the name of the tool. String
arguments()
Returns the arguments of the tool. boolean
equals(Object another)
int
hashCode()
String
toString()
static ToolExecutionRequest.Builder
builder()
Creates builder to build ToolExecutionRequest. -
-
Method Detail
-
hashCode
int hashCode()
-
builder
static ToolExecutionRequest.Builder builder()
Creates builder to build ToolExecutionRequest.
- Returns:
created builder
-
-
-
-