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
A builder for RequiredActionFunctionToolCall.
public final class
RequiredActionFunctionToolCall.Function
The function definition.
-
Method Summary
Modifier and Type Method Description final String
id()
The ID of the tool call. final RequiredActionFunctionToolCall.Function
function()
The function definition. final JsonValue
_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 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 JsonValue _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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final RequiredActionFunctionToolCall validate()
-
toBuilder
final RequiredActionFunctionToolCall.Builder toBuilder()
-
builder
final static RequiredActionFunctionToolCall.Builder builder()
-
-
-
-