Class: Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourcesParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsWebFetchURLSourcesParams
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rb,
sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rbs
Instance Attribute Summary collapse
-
#client_tool_results ⇒ Symbol, ...
Which custom tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list.
-
#server_tool_results ⇒ Symbol, ...
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list.
-
#user_input ⇒ Symbol, ...
Whether URLs in the text of user messages may be fetched: "all" (the default) or "none".
Instance Method Summary collapse
-
#initialize ⇒ BetaManagedAgentsWebFetchURLSourcesParams
constructor
A new instance of BetaManagedAgentsWebFetchURLSourcesParams.
- #to_hash ⇒ { client_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter_params?, server_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter_params?, user_input: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_user_input_params? }
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 ⇒ BetaManagedAgentsWebFetchURLSourcesParams
Returns a new instance of BetaManagedAgentsWebFetchURLSourcesParams.
20 21 22 23 24 |
# File 'sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rbs', line 20
def initialize: (
?client_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter_params?,
?server_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter_params?,
?user_input: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_user_input_params?
) -> void
|
Instance Attribute Details
#client_tool_results ⇒ Symbol, ...
Which custom tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. Each name in a list must be a custom tool in the same tools array.
13 14 15 |
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rb', line 13 optional :client_tool_results, union: -> { Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolFilterParams }, nil?: true |
#server_tool_results ⇒ Symbol, ...
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. Each name in a list must be "web_search" or "web_fetch".
23 24 25 |
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rb', line 23 optional :server_tool_results, union: -> { Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceToolFilterParams }, nil?: true |
#user_input ⇒ Symbol, ...
Whether URLs in the text of user messages may be fetched: "all" (the default) or "none".
32 33 34 |
# File 'lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rb', line 32 optional :user_input, union: -> { Anthropic::Beta::BetaManagedAgentsWebFetchURLSourceUserInputParams }, nil?: true |
Instance Method Details
#to_hash ⇒ { client_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter_params?, server_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter_params?, user_input: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_user_input_params? }
26 27 28 29 30 |
# File 'sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rbs', line 26
def to_hash: -> {
client_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter_params?,
server_tool_results: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_tool_filter_params?,
user_input: Anthropic::Models::Beta::beta_managed_agents_web_fetch_url_source_user_input_params?
}
|