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 aToolExecutionRequestbuilt 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 aToolExecutionRequestbuilt from the parameters previously set.- Returns:
- a
ToolExecutionRequest
-