Package com.openai.models.responses
Class ResponseFunctionToolCall.Builder
-
- All Implemented Interfaces:
public final class ResponseFunctionToolCall.Builder
A builder for ResponseFunctionToolCall.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseFunctionToolCall.Builder id(String id)
The unique ID of the function tool call.
-
id
final ResponseFunctionToolCall.Builder id(JsonField<String> id)
The unique ID of the function tool call.
-
arguments
final ResponseFunctionToolCall.Builder arguments(String arguments)
A JSON string of the arguments to pass to the function.
-
arguments
final ResponseFunctionToolCall.Builder arguments(JsonField<String> arguments)
A JSON string of the arguments to pass to the function.
-
callId
final ResponseFunctionToolCall.Builder callId(String callId)
The unique ID of the function tool call generated by the model.
-
callId
final ResponseFunctionToolCall.Builder callId(JsonField<String> callId)
The unique ID of the function tool call generated by the model.
-
name
final ResponseFunctionToolCall.Builder name(String name)
The name of the function to run.
-
name
final ResponseFunctionToolCall.Builder name(JsonField<String> name)
The name of the function to run.
-
type
final ResponseFunctionToolCall.Builder type(JsonValue type)
The type of the function tool call. Always
function_call
.
-
status
final ResponseFunctionToolCall.Builder status(ResponseFunctionToolCall.Status status)
The status of the item. One of
in_progress
,completed
, orincomplete
. Populated when items are returned via API.
-
status
final ResponseFunctionToolCall.Builder status(JsonField<ResponseFunctionToolCall.Status> status)
The status of the item. One of
in_progress
,completed
, orincomplete
. Populated when items are returned via API.
-
additionalProperties
final ResponseFunctionToolCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseFunctionToolCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseFunctionToolCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseFunctionToolCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseFunctionToolCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseFunctionToolCall build()
-
-
-
-