Package dev.langchain4j.agent.tool
Class ToolExecutionRequest
-
- All Implemented Interfaces:
public class ToolExecutionRequestRepresents an LLM-generated request to execute a tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolExecutionRequest.BuilderToolExecutionRequestbuilder static inner class.
-
Method Summary
Modifier and Type Method Description Stringid()Returns the id of the tool. Stringname()Returns the name of the tool. Stringarguments()Returns the arguments of the tool. booleanequals(Object another)inthashCode()StringtoString()static ToolExecutionRequest.Builderbuilder()Creates builder to build ToolExecutionRequest. -
-
Method Detail
-
hashCode
int hashCode()
-
builder
static ToolExecutionRequest.Builder builder()
Creates builder to build ToolExecutionRequest.
- Returns:
created builder
-
-
-
-