Package com.openai.models.beta.responses
Class BetaToolChoiceApplyPatch
-
- All Implemented Interfaces:
public final class BetaToolChoiceApplyPatchForces the model to call the apply_patch tool when executing a tool call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaToolChoiceApplyPatch.BuilderA builder for BetaToolChoiceApplyPatch.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The tool to call. final Map<String, JsonValue>_additionalProperties()final BetaToolChoiceApplyPatch.BuildertoBuilder()final BetaToolChoiceApplyPatchvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaToolChoiceApplyPatch.Builderbuilder()Returns a mutable builder for constructing an instance of BetaToolChoiceApplyPatch. -
-
Method Detail
-
_type
final JsonValue _type()
The tool to call. Always
apply_patch.Expected to always return the following:
JsonValue.from("apply_patch")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaToolChoiceApplyPatch.Builder toBuilder()
-
validate
final BetaToolChoiceApplyPatch validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaToolChoiceApplyPatch.Builder builder()
Returns a mutable builder for constructing an instance of BetaToolChoiceApplyPatch.
-
-
-
-