Package com.openai.models.responses
Class ToolChoiceShell
-
- All Implemented Interfaces:
public final class ToolChoiceShellForces 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 classToolChoiceShell.BuilderA builder for ToolChoiceShell.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The tool to call. final Map<String, JsonValue>_additionalProperties()final ToolChoiceShell.BuildertoBuilder()final ToolChoiceShellvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceShell.Builderbuilder()Returns a mutable builder for constructing an instance of ToolChoiceShell. -
-
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 ToolChoiceShell.Builder toBuilder()
-
validate
final ToolChoiceShell 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 ToolChoiceShell.Builder builder()
Returns a mutable builder for constructing an instance of ToolChoiceShell.
-
-
-
-