Class ToolExecutionResult
java.lang.Object
dev.langchain4j.service.tool.ToolExecutionResult
Represents the result of a tool execution.
- Since:
- 1.6.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ToolExecutionResult
-
-
Method Details
-
isError
public boolean isError()Indicates whether the tool execution result represents an error. -
result
Returns the tool execution result as object. This object is the actual value returned by the tool.- See Also:
-
resultText
-
equals
-
hashCode
-
toString
-
builder
-