Class Tool.CodeInterpreter
- 
                    
                    - All Implemented Interfaces:
 
 public final class Tool.CodeInterpreterA tool that runs Python code to help generate a response to a prompt. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classTool.CodeInterpreter.BuilderA builder for CodeInterpreter. public final classTool.CodeInterpreter.ContainerThe code interpreter container. Can be a container ID or an object that specifies uploaded file IDs to make available to your code. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Tool.CodeInterpreter.Containercontainer()The code interpreter container. final JsonValue_type()The type of the code interpreter tool. final JsonField<Tool.CodeInterpreter.Container>_container()Returns the raw JSON value of container. final Map<String, JsonValue>_additionalProperties()final Tool.CodeInterpreter.BuildertoBuilder()final Tool.CodeInterpretervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Tool.CodeInterpreter.Builderbuilder()Returns a mutable builder for constructing an instance of CodeInterpreter. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        containerfinal Tool.CodeInterpreter.Container container() The code interpreter container. Can be a container ID or an object that specifies uploaded file IDs to make available to your code. 
 - 
                                        _typefinal JsonValue _type() The type of the code interpreter tool. Always code_interpreter.Expected to always return the following: JsonValue.from("code_interpreter")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _containerfinal JsonField<Tool.CodeInterpreter.Container> _container() Returns the raw JSON value of container. Unlike container, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal Tool.CodeInterpreter.Builder toBuilder() 
 - 
                                        validatefinal Tool.CodeInterpreter validate() 
 - 
                                        builderfinal static Tool.CodeInterpreter.Builder builder() Returns a mutable builder for constructing an instance of CodeInterpreter. The following fields are required: .container()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-