Class: Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceExcept

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rb,
sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

#initialize ⇒ BetaManagedAgentsWebFetchURLSourceExcept

Returns a new instance of BetaManagedAgentsWebFetchURLSourceExcept.

Parameters:

  • tools: (::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference])
  • type: (:except)


17
18
19
20
# File 'sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rbs', line 17

def initialize: (
  tools: ::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference],
  ?type: :except
) -> void

Instance Attribute Details

#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceToolReference>

The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use "all" to leave out no tool's results.

Parameters:

  • value (::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference])

Returns:



13
14
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rb', line 13

required :tools,
-> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference] }

#type ⇒ Symbol, :except

Parameters:

  • value (:except)

Returns:

  • (Symbol, :except)


19
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rb', line 19

required :type, const: :except

Instance Method Details

#to_hash ⇒ { tools: ::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference], type: :except }

Returns:

  • ({ tools: ::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference], type: :except })


22
23
24
25
# File 'sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rbs', line 22

def to_hash: -> {
  tools: ::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference],
  type: :except
}