Module: OpenAI::Models::Beta::BetaMcpToolCallError

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/beta/beta_mcp_tool_call_error.rb

Defined Under Namespace

Classes: HTTPError, McpProtocolError, McpToolExecutionError

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, 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

Instance Method Details

#initialize(content:, type: :mcp_tool_execution_error) ⇒ Object

Parameters:

  • content (Object)
  • type (Symbol, :mcp_tool_execution_error) (defaults to: :mcp_tool_execution_error)


# File 'lib/openai/models/beta/beta_mcp_tool_call_error.rb', line 33