Package com.openai.models
Class RequiredActionFunctionToolCall
-
- All Implemented Interfaces:
public final class RequiredActionFunctionToolCall
Tool call objects
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RequiredActionFunctionToolCall.Builder
public final class
RequiredActionFunctionToolCall.Function
The function definition.
public final class
RequiredActionFunctionToolCall.Type
The type of tool call the output is required for. For now, this is always
function
.
-
Method Summary
Modifier and Type Method Description final String
id()
The ID of the tool call. final RequiredActionFunctionToolCall.Function
function()
The function definition. final RequiredActionFunctionToolCall.Type
type()
The type of tool call the output is required for. final JsonField<String>
_id()
The ID of the tool call. final JsonField<RequiredActionFunctionToolCall.Function>
_function()
The function definition. final JsonField<RequiredActionFunctionToolCall.Type>
_type()
The type of tool call the output is required for. final Map<String, JsonValue>
_additionalProperties()
final RequiredActionFunctionToolCall
validate()
final RequiredActionFunctionToolCall.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RequiredActionFunctionToolCall.Builder
builder()
-
-
Method Detail
-
id
final String id()
The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the Submit tool outputs to run endpoint.
-
function
final RequiredActionFunctionToolCall.Function function()
The function definition.
-
type
final RequiredActionFunctionToolCall.Type type()
The type of tool call the output is required for. For now, this is always
function
.
-
_id
final JsonField<String> _id()
The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the Submit tool outputs to run endpoint.
-
_function
final JsonField<RequiredActionFunctionToolCall.Function> _function()
The function definition.
-
_type
final JsonField<RequiredActionFunctionToolCall.Type> _type()
The type of tool call the output is required for. For now, this is always
function
.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final RequiredActionFunctionToolCall validate()
-
toBuilder
final RequiredActionFunctionToolCall.Builder toBuilder()
-
builder
final static RequiredActionFunctionToolCall.Builder builder()
-
-
-
-