Class: Anthropic::Models::Beta::BetaManagedAgentsAgentWithOverridesParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsAgentWithOverridesParams
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb,
sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#id ⇒ String
The
agentID. -
#mcp_servers ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsURLMCPServerParams>?
Replacement MCP server list.
-
#model ⇒ Symbol, ...
Replacement model.
-
#skills ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>?
Replacement skill list.
-
#system_ ⇒ String?
Replacement system prompt.
-
#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>?
Replacement tool list.
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgentWithOverridesParams::Type
-
#version ⇒ Integer?
The specific
agentversion to use.
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(Symbol, String, Anthropic::Models::Beta::BetaManagedAgentsModel, Anthropic::Models::Beta::BetaManagedAgentsModelConfigParams)
Instance Method Summary collapse
-
#initialize(id:, type:, mcp_servers: nil, model: nil, skills: nil, system_: nil, tools: nil, version: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaManagedAgentsAgentWithOverridesParams for more details.
- #to_hash ⇒ {
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(id:, type:, mcp_servers: nil, model: nil, skills: nil, system_: nil, tools: nil, version: nil) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaManagedAgentsAgentWithOverridesParams for more details.
Reference to an agent plus optional configuration overrides. Each provided
field replaces the agent's value for the caller's use; the agent resource is
unchanged.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 62
|
Instance Attribute Details
#id ⇒ String
The agent ID.
11 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 11 required :id, String |
#mcp_servers ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsURLMCPServerParams>?
Replacement MCP server list. Full replacement: the provided array becomes the MCP servers. Send an empty array to clear; omit to preserve the agent's servers.
23 24 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 23 optional :mcp_servers, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams] } |
#model ⇒ Symbol, ...
Replacement model. Accepts the model string, e.g. claude-opus-4-6, or a
model_config object. Omit to use the agent's model.
31 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 31 optional :model, union: -> { Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams::Model } |
#skills ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>?
Replacement skill list. Full replacement: the provided array becomes the skills. Send an empty array to clear; omit to preserve the agent's skills.
38 39 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 38 optional :skills, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaManagedAgentsSkillParams] } |
#system_ ⇒ String?
Replacement system prompt. Up to 100,000 characters. Set to null to clear the agent's system prompt; omit to preserve it.
46 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 46 optional :system_, String, api_name: :system, nil?: true |
#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>?
Replacement tool list. Full replacement: the provided array becomes the tool configuration. Send an empty array to clear; omit to preserve the agent's tools.
53 54 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 53 optional :tools, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams::Tool] } |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgentWithOverridesParams::Type
16 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 16 required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams::Type } |
#version ⇒ Integer?
The specific agent version to use. Omit to use the latest version.
60 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 60 optional :version, Integer |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 93
|
.variants ⇒ Array(Symbol, String, Anthropic::Models::Beta::BetaManagedAgentsModel, Anthropic::Models::Beta::BetaManagedAgentsModelConfigParams)
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb', line 112
|
Instance Method Details
#to_hash ⇒ {
64 |
# File 'sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs', line 64
def to_hash: -> {
|