Class: Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#configs ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsMCPToolConfigParams>?
Per-tool configuration overrides.
-
#default_config ⇒ Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetDefaultConfigParams?
Default configuration for all tools from an MCP server.
-
#mcp_server_name ⇒ String
Name of the MCP server.
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams::Type
Instance Method Summary collapse
-
#initialize(mcp_server_name:, type:, configs: nil, default_config: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaManagedAgentsMCPToolsetParams for more details.
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(mcp_server_name:, type:, configs: nil, default_config: nil) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams for more details.
Configuration for tools from an MCP server defined in ‘mcp_servers`.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb', line 34
|
Instance Attribute Details
#configs ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsMCPToolConfigParams>?
Per-tool configuration overrides.
23 24 |
# File 'lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb', line 23 optional :configs, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaManagedAgentsMCPToolConfigParams] } |
#default_config ⇒ Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetDefaultConfigParams?
Default configuration for all tools from an MCP server.
30 31 32 |
# File 'lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb', line 30 optional :default_config, -> { Anthropic::Beta::BetaManagedAgentsMCPToolsetDefaultConfigParams }, nil?: true |
#mcp_server_name ⇒ String
Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
12 |
# File 'lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb', line 12 required :mcp_server_name, String |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams::Type
17 |
# File 'lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb', line 17 required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsMCPToolsetParams::Type } |