Class ResponseCustomToolCallOutput.Builder
-
- All Implemented Interfaces:
public final class ResponseCustomToolCallOutput.Builder
A builder for ResponseCustomToolCallOutput.
-
-
Method Summary
-
-
Method Detail
-
callId
final ResponseCustomToolCallOutput.Builder callId(String callId)
The call ID, used to map this custom tool call output to a custom tool call.
-
callId
final ResponseCustomToolCallOutput.Builder callId(JsonField<String> callId)
Sets Builder.callId to an arbitrary JSON value.
You should usually call Builder.callId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
output
final ResponseCustomToolCallOutput.Builder output(String output)
The output from the custom tool call generated by your code.
-
output
final ResponseCustomToolCallOutput.Builder output(JsonField<String> output)
Sets Builder.output to an arbitrary JSON value.
You should usually call Builder.output with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseCustomToolCallOutput.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("custom_tool_call_output")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final ResponseCustomToolCallOutput.Builder id(String id)
The unique ID of the custom tool call output in the OpenAI platform.
-
id
final ResponseCustomToolCallOutput.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseCustomToolCallOutput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseCustomToolCallOutput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseCustomToolCallOutput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseCustomToolCallOutput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseCustomToolCallOutput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseCustomToolCallOutput build()
Returns an immutable instance of ResponseCustomToolCallOutput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.callId() .output()
-
-
-
-