Package com.openai.models
Class FunctionToolCall
-
- All Implemented Interfaces:
public final class FunctionToolCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFunctionToolCall.BuilderA builder for FunctionToolCall.
public final classFunctionToolCall.FunctionThe definition of the function that was called.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the tool call object. final FunctionToolCall.Functionfunction()The definition of the function that was called. final JsonValue_type()The type of tool call. final JsonField<String>_id()The ID of the tool call object. final JsonField<FunctionToolCall.Function>_function()The definition of the function that was called. final Map<String, JsonValue>_additionalProperties()final FunctionToolCallvalidate()final FunctionToolCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FunctionToolCall.Builderbuilder()-
-
Method Detail
-
function
final FunctionToolCall.Function function()
The definition of the function that was called.
-
_type
final JsonValue _type()
The type of tool call. This is always going to be
functionfor this type of tool call.
-
_function
final JsonField<FunctionToolCall.Function> _function()
The definition of the function that was called.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FunctionToolCall validate()
-
toBuilder
final FunctionToolCall.Builder toBuilder()
-
builder
final static FunctionToolCall.Builder builder()
-
-
-
-