Module: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/live/responses_delegation_update_config.rb,
sig/openai/models/live/responses_delegation_update_config.rbs

Overview

A function tool available to the Responses backend when the Live model delegates a task.

Defined Under Namespace

Classes: ApplyPatch, CodeInterpreter, Computer, Custom, FileSearch, ImageGeneration, Namespace, ProgrammaticToolCalling, Shell, ToolSearch, WebSearch

Constant Summary collapse

Mcp =
::OpenAI::Models::Live::McpTool

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump

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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.variants ⇒ Array(OpenAI::Models::Live::FunctionTool, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::WebSearch, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::FileSearch, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::CodeInterpreter, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::ImageGeneration, OpenAI::Models::Live::McpTool, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Custom, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Namespace, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::ToolSearch, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::ProgrammaticToolCalling, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Computer, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::ApplyPatch)



# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1313

Instance Method Details

#initialize(type: :computer) ⇒ Object

Parameters:

  • type (Symbol, :computer) (defaults to: :computer)


# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 855