Package dev.langchain4j.agent.tool
Class ToolExecutionRequest.Builder
java.lang.Object
dev.langchain4j.agent.tool.ToolExecutionRequest.Builder
- Enclosing class:
ToolExecutionRequest
ToolExecutionRequest
builder static inner class.-
Method Summary
Modifier and TypeMethodDescriptionSets thearguments
.build()
Returns aToolExecutionRequest
built from the parameters previously set.Sets theid
.Sets thename
.
-
Method Details
-
id
Sets theid
.- Parameters:
id
- theid
- Returns:
- the
Builder
-
name
Sets thename
.- Parameters:
name
- thename
- Returns:
- the
Builder
-
arguments
Sets thearguments
.- Parameters:
arguments
- thearguments
- Returns:
- the
Builder
-
build
Returns aToolExecutionRequest
built from the parameters previously set.- Returns:
- a
ToolExecutionRequest
-