Class SessionCreateParams.Tool
- 
                    
                    - All Implemented Interfaces:
 
 public final class SessionCreateParams.Tool
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classSessionCreateParams.Tool.BuilderA builder for Tool. public final classSessionCreateParams.Tool.TypeThe type of the tool, i.e. function.
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<String>description()The description of the function, including guidance on when and how to call it, and guidance about what to tell the user when calling (if anything). final Optional<String>name()The name of the function. final JsonValue_parameters()Parameters of the function in JSON Schema. final Optional<SessionCreateParams.Tool.Type>type()The type of the tool, i.e. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<SessionCreateParams.Tool.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final SessionCreateParams.Tool.BuildertoBuilder()final SessionCreateParams.Toolvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionCreateParams.Tool.Builderbuilder()Returns a mutable builder for constructing an instance of Tool. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        descriptionfinal Optional<String> description() The description of the function, including guidance on when and how to call it, and guidance about what to tell the user when calling (if anything). 
 - 
                                        _parametersfinal JsonValue _parameters() Parameters of the function in JSON Schema. 
 - 
                                        typefinal Optional<SessionCreateParams.Tool.Type> type() The type of the tool, i.e. function.
 - 
                                        _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. 
 - 
                                        _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. 
 - 
                                        _typefinal JsonField<SessionCreateParams.Tool.Type> _type() Returns the raw JSON value of type. Unlike type, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal SessionCreateParams.Tool.Builder toBuilder() 
 - 
                                        validatefinal SessionCreateParams.Tool validate() 
 - 
                                        builderfinal static SessionCreateParams.Tool.Builder builder() Returns a mutable builder for constructing an instance of Tool. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-