Class: Anthropic::Models::Beta::BetaManagedAgentsSessionAgentUpdate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsSessionAgentUpdate
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb
Defined Under Namespace
Modules: Tool
Instance Attribute Summary collapse
-
#mcp_servers ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsURLMCPServerParams>?
Replacement MCP server list.
-
#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>?
Replacement tool list.
Instance Method Summary collapse
-
#initialize(mcp_servers: nil, tools: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaManagedAgentsSessionAgentUpdate 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_servers: nil, tools: nil) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaManagedAgentsSessionAgentUpdate for more details.
Mid-session agent configuration update. Only ‘tools` and `mcp_servers` are updatable. Full replacement: the provided array becomes the new value. To preserve existing entries, GET the session, modify the array, and POST it back.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb', line 23
|
Instance Attribute Details
#mcp_servers ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsURLMCPServerParams>?
Replacement MCP server list. Full replacement: the provided array becomes the new value. Send an empty array to clear; omit to preserve.
12 13 |
# File 'lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb', line 12 optional :mcp_servers, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams] } |
#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>?
Replacement tool list. Full replacement: the provided array becomes the new value. Send an empty array to clear; omit to preserve.
20 21 |
# File 'lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb', line 20 optional :tools, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaManagedAgentsSessionAgentUpdate::Tool] } |