Package com.openai.models.responses
Class ToolChoiceApplyPatch
-
- All Implemented Interfaces:
public final class ToolChoiceApplyPatchForces 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 classToolChoiceApplyPatch.BuilderA builder for ToolChoiceApplyPatch.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The tool to call. final Map<String, JsonValue>_additionalProperties()final ToolChoiceApplyPatch.BuildertoBuilder()final ToolChoiceApplyPatchvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceApplyPatch.Builderbuilder()Returns a mutable builder for constructing an instance of ToolChoiceApplyPatch. -
-
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 ToolChoiceApplyPatch.Builder toBuilder()
-
validate
final ToolChoiceApplyPatch validate()
-
builder
final static ToolChoiceApplyPatch.Builder builder()
Returns a mutable builder for constructing an instance of ToolChoiceApplyPatch.
-
-
-
-