Package com.openai.models
Class RequiredActionFunctionToolCall
-
- All Implemented Interfaces:
public final class RequiredActionFunctionToolCallTool call objects
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRequiredActionFunctionToolCall.Builderpublic final classRequiredActionFunctionToolCall.FunctionThe function definition.
public final classRequiredActionFunctionToolCall.TypeThe type of tool call the output is required for. For now, this is always
function.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the tool call. final RequiredActionFunctionToolCall.Functionfunction()The function definition. final RequiredActionFunctionToolCall.Typetype()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 RequiredActionFunctionToolCallvalidate()final RequiredActionFunctionToolCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RequiredActionFunctionToolCall.Builderbuilder()-
-
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()
-
-
-
-