Class: Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetDefaultConfigParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetDefaultConfigParams
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb
Defined Under Namespace
Modules: PermissionPolicy
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean?
Whether tools are enabled by default.
-
#permission_policy ⇒ Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, ...
Permission policy for tool execution.
Instance Method Summary collapse
-
#initialize(enabled: nil, permission_policy: nil) ⇒ Object
constructor
Default configuration for all tools from an MCP server.
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(enabled: nil, permission_policy: nil) ⇒ Object
Default configuration for all tools from an MCP server.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb', line 23
|
Instance Attribute Details
#enabled ⇒ Boolean?
Whether tools are enabled by default. Defaults to true if not specified.
11 |
# File 'lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb', line 11 optional :enabled, Anthropic::Internal::Type::Boolean, nil?: true |
#permission_policy ⇒ Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, ...
Permission policy for tool execution.
17 18 19 20 21 |
# File 'lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb', line 17 optional :permission_policy, union: -> { Anthropic::Beta::BetaManagedAgentsMCPToolsetDefaultConfigParams::PermissionPolicy }, nil?: true |