Module: OpenAI::Models::Responses::ResponseCustomToolCallOutput::Output

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/responses/response_custom_tool_call_output.rb

Overview

The output from the custom tool call generated by your code. Can be a string or an list of output content.

See Also:

Defined Under Namespace

Modules: OutputContentList

Constant Summary collapse

OutputContentListArray =
OpenAI::Internal::Type::ArrayOf[union: -> {
  OpenAI::Responses::ResponseCustomToolCallOutput::Output::OutputContentList
}]

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(String, Array<OpenAI::Models::Responses::ResponseInputText, OpenAI::Models::Responses::ResponseInputImage, OpenAI::Models::Responses::ResponseInputFile>)



# File 'lib/openai/models/responses/response_custom_tool_call_output.rb', line 74