Package com.openai.models.beta.responses
Class BetaToolChoiceShell
-
- All Implemented Interfaces:
public final class BetaToolChoiceShellForces the model to call the shell tool when a tool call is required.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaToolChoiceShell.BuilderA builder for BetaToolChoiceShell.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The tool to call. final Map<String, JsonValue>_additionalProperties()final BetaToolChoiceShell.BuildertoBuilder()final BetaToolChoiceShellvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaToolChoiceShell.Builderbuilder()Returns a mutable builder for constructing an instance of BetaToolChoiceShell. -
-
Method Detail
-
_type
final JsonValue _type()
The tool to call. Always
shell.Expected to always return the following:
JsonValue.from("shell")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 BetaToolChoiceShell.Builder toBuilder()
-
validate
final BetaToolChoiceShell 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 BetaToolChoiceShell.Builder builder()
Returns a mutable builder for constructing an instance of BetaToolChoiceShell.
-
-
-
-