Class ResponseCustomToolCall.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseCustomToolCall.BuilderA builder for ResponseCustomToolCall.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
callId
final ResponseCustomToolCall.Builder callId(String callId)
An identifier used to map this custom tool call to a tool call output.
 
- 
                                        
callId
final ResponseCustomToolCall.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.
 
- 
                                        
input
final ResponseCustomToolCall.Builder input(String input)
The input for the custom tool call generated by the model.
 
- 
                                        
input
final ResponseCustomToolCall.Builder input(JsonField<String> input)
Sets Builder.input to an arbitrary JSON value.
You should usually call Builder.input with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
name
final ResponseCustomToolCall.Builder name(String name)
The name of the custom tool being called.
 
- 
                                        
name
final ResponseCustomToolCall.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name 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 ResponseCustomToolCall.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")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
id
final ResponseCustomToolCall.Builder id(String id)
The unique ID of the custom tool call in the OpenAI platform.
 
- 
                                        
id
final ResponseCustomToolCall.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 ResponseCustomToolCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseCustomToolCall.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseCustomToolCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseCustomToolCall.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseCustomToolCall.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseCustomToolCall build()
Returns an immutable instance of ResponseCustomToolCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.callId() .input() .name() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -