Class: Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSources
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSources
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rb,
sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rbs
Instance Attribute Summary collapse
-
#client_tool_results ⇒ Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceAll, ...
Which custom tools' results contribute URLs that may be fetched.
-
#server_tool_results ⇒ Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceAll, ...
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched.
-
#user_input ⇒ Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceAll, ...
Whether URLs in the text of user messages may be fetched.
Instance Method Summary collapse
-
#initialize ⇒ BetaManagedAgentsWebFetchURLSources
constructor
A new instance of BetaManagedAgentsWebFetchURLSources.
- #to_hash ⇒ { client_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter?, server_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter?, user_input: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_user_input? }
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 ⇒ BetaManagedAgentsWebFetchURLSources
Returns a new instance of BetaManagedAgentsWebFetchURLSources.
20 21 22 23 24 |
# File 'sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rbs', line 20
def initialize: (
client_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter?,
server_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter?,
user_input: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_user_input?
) -> void
|
Instance Attribute Details
#client_tool_results ⇒ Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceAll, ...
Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.
12 13 14 |
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rb', line 12 required :client_tool_results, union: -> { Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolFilter }, nil?: true |
#server_tool_results ⇒ Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceAll, ...
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.
21 22 23 |
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rb', line 21 required :server_tool_results, union: -> { Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolFilter }, nil?: true |
#user_input ⇒ Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourceAll, ...
Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.
30 31 32 |
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rb', line 30 required :user_input, union: -> { Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceUserInput }, nil?: true |
Instance Method Details
#to_hash ⇒ { client_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter?, server_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter?, user_input: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_user_input? }
26 27 28 29 30 |
# File 'sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rbs', line 26
def to_hash: -> {
client_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter?,
server_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter?,
user_input: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_user_input?
}
|