struct OpenAI::Tool inherits Struct # Defines a function and type that can be used to generate ToolCall's in an API response Included modules JSON::Serializable Constructors# .new(type : ToolType, function : FunctionDefinition)# View source .new(pull : JSON::PullParser)# View source Methods# #clone# View source #copy_with(type _type = @type, function _function = @function)# View source #function : FunctionDefinition# #type : ToolType#