Class FunctionResultStep
java.lang.Object
com.google.genai.gaos.models.interactions.FunctionResultStep
- All Implemented Interfaces:
Step
FunctionResultStep
Result of a function tool call.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFunctionResultStep(String callId, FunctionResultStepResultUnion result) FunctionResultStep(String callId, Boolean isError, String name, FunctionResultStepResultUnion result) -
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionResultStep.Builderbuilder()callId()Required.booleaninthashCode()isError()Whether the tool call resulted in an error.name()The name of the tool that was called.result()Required.toString()type()withCallId(String callId) Required.withIsError(Boolean isError) Whether the tool call resulted in an error.The name of the tool that was called.Required.
-
Constructor Details
-
FunctionResultStep
public FunctionResultStep(@Nonnull String callId, @Nullable Boolean isError, @Nullable String name, @Nonnull FunctionResultStepResultUnion result) -
FunctionResultStep
-
-
Method Details
-
callId
Required. ID to match the ID from the function call block. -
isError
Whether the tool call resulted in an error. -
name
The name of the tool that was called. -
result
Required. The result of the tool call. -
type
-
builder
-
withCallId
Required. ID to match the ID from the function call block. -
withIsError
Whether the tool call resulted in an error. -
withName
The name of the tool that was called. -
withResult
Required. The result of the tool call. -
equals
-
hashCode
public int hashCode() -
toString
-