Package com.openai.models.responses
        Class ToolChoiceCustom
- 
                    
                    - All Implemented Interfaces:
 
 public final class ToolChoiceCustomUse this option to force the model to call a specific custom tool. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classToolChoiceCustom.BuilderA builder for ToolChoiceCustom. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringname()The name of the custom tool to call. final JsonValue_type()For custom tool calling, the type is always custom.final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final ToolChoiceCustom.BuildertoBuilder()final ToolChoiceCustomvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceCustom.Builderbuilder()Returns a mutable builder for constructing an instance of ToolChoiceCustom. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        _typefinal JsonValue _type() For custom tool calling, the type is always custom.Expected to always return the following: JsonValue.from("custom")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _namefinal JsonField<String> _name() Returns the raw JSON value of name. Unlike name, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ToolChoiceCustom.Builder toBuilder() 
 - 
                                        validatefinal ToolChoiceCustom validate() 
 - 
                                        builderfinal static ToolChoiceCustom.Builder builder() Returns a mutable builder for constructing an instance of ToolChoiceCustom. The following fields are required: .name()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-