Class: Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceOnly
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceOnly
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rb,
sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rbs
Instance Attribute Summary collapse
-
#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceToolReference>
The tools whose results contribute.
- #type ⇒ Symbol, :only
Instance Method Summary collapse
-
#initialize ⇒ BetaManagedAgentsWebFetchURLSourceOnly
constructor
A new instance of BetaManagedAgentsWebFetchURLSourceOnly.
- #to_hash ⇒ { tools: ::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference], type: :only }
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 ⇒ BetaManagedAgentsWebFetchURLSourceOnly
Returns a new instance of BetaManagedAgentsWebFetchURLSourceOnly.
17 18 19 20 |
# File 'sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rbs', line 17
def initialize: (
tools: ::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference],
?type: :only
) -> void
|
Instance Attribute Details
#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceToolReference>
The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use "none" to allow no tool's results.
13 14 |
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rb', line 13 required :tools, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference] } |
#type ⇒ Symbol, :only
19 |
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rb', line 19 required :type, const: :only |
Instance Method Details
#to_hash ⇒ { tools: ::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference], type: :only }
22 23 24 25 |
# File 'sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rbs', line 22
def to_hash: -> {
tools: ::Array[Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolReference],
type: :only
}
|