Class CustomTool
- 
                    
                    - All Implemented Interfaces:
 
 public final class CustomTool
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classCustomTool.BuilderA builder for CustomTool. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringname()The name of the custom tool, used to identify it in tool calls. final JsonValue_type()The type of the custom tool. final Optional<String>description()Optional description of the custom tool, used to provide more context. final Optional<CustomToolInputFormat>format()The input format for the custom tool. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<CustomToolInputFormat>_format()Returns the raw JSON value of format. final Map<String, JsonValue>_additionalProperties()final CustomTool.BuildertoBuilder()final CustomToolvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CustomTool.Builderbuilder()Returns a mutable builder for constructing an instance of CustomTool. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        _typefinal JsonValue _type() The type of the custom tool. 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). 
 - 
                                        descriptionfinal Optional<String> description() Optional description of the custom tool, used to provide more context. 
 - 
                                        formatfinal Optional<CustomToolInputFormat> format() The input format for the custom tool. Default is unconstrained text. 
 - 
                                        _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. 
 - 
                                        _descriptionfinal JsonField<String> _description() Returns the raw JSON value of description. Unlike description, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _formatfinal JsonField<CustomToolInputFormat> _format() Returns the raw JSON value of format. Unlike format, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal CustomTool.Builder toBuilder() 
 - 
                                        validatefinal CustomTool validate() 
 - 
                                        builderfinal static CustomTool.Builder builder() Returns a mutable builder for constructing an instance of CustomTool. The following fields are required: .name()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-