Package com.openai.models.responses
Class FunctionShellTool
-
- All Implemented Interfaces:
public final class FunctionShellToolA tool that allows the model to execute shell commands.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFunctionShellTool.BuilderA builder for FunctionShellTool.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of the shell tool. final Map<String, JsonValue>_additionalProperties()final FunctionShellTool.BuildertoBuilder()final FunctionShellToolvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FunctionShellTool.Builderbuilder()Returns a mutable builder for constructing an instance of FunctionShellTool. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the shell tool. 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 FunctionShellTool.Builder toBuilder()
-
validate
final FunctionShellTool validate()
-
builder
final static FunctionShellTool.Builder builder()
Returns a mutable builder for constructing an instance of FunctionShellTool.
-
-
-
-