Class: Anthropic::Models::Beta::AgentCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::AgentCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/agent_create_params.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
-
#description ⇒ String?
Description of what the agent does.
-
#mcp_servers ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsURLMCPServerParams>?
MCP servers this agent connects to.
-
#metadata ⇒ Hash{Symbol=>String}?
Arbitrary key-value metadata.
-
#model ⇒ Symbol, ...
Model identifier.
-
#name ⇒ String
Human-readable name for the agent.
-
#skills ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>?
Skills available to the agent.
-
#system_ ⇒ String?
System prompt for the agent.
-
#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>?
Tool configurations available to the agent.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(model:, name:, description: nil, mcp_servers: nil, metadata: nil, skills: nil, system_: nil, tools: nil, betas: nil, request_options: {}) ⇒ void
constructor
Some parameter documentations has been truncated, see AgentCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(model:, name:, description: nil, mcp_servers: nil, metadata: nil, skills: nil, system_: nil, tools: nil, betas: nil, request_options: {}) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::AgentCreateParams for more details.
|
|
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 74
|
Instance Attribute Details
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
72 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 72 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#description ⇒ String?
Description of what the agent does. Up to 2048 characters.
30 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 30 optional :description, String, nil?: true |
#mcp_servers ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsURLMCPServerParams>?
MCP servers this agent connects to. Maximum 20. Names must be unique within the array.
37 38 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 37 optional :mcp_servers, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaManagedAgentsURLMCPServerParams] } |
#metadata ⇒ Hash{Symbol=>String}?
Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.
45 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 45 optional :metadata, Anthropic::Internal::Type::HashOf[String] |
#model ⇒ Symbol, ...
Model identifier. Accepts the
model string,
e.g. claude-opus-4-6, or a model_config object for additional configuration
control
18 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 18 required :model, union: -> { Anthropic::Beta::AgentCreateParams::Model } |
#name ⇒ String
Human-readable name for the agent. 1-256 characters.
24 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 24 required :name, String |
#skills ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>?
Skills available to the agent. Maximum 20.
51 52 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 51 optional :skills, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaManagedAgentsSkillParams] } |
#system_ ⇒ String?
System prompt for the agent. Up to 100,000 characters.
58 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 58 optional :system_, String, api_name: :system, nil?: true |
#tools ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>?
Tool configurations available to the agent. Maximum of 128 tools across all toolsets allowed.
65 66 |
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 65 optional :tools, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::AgentCreateParams::Tool] } |
Class Method Details
.variants ⇒ Array(Symbol, String, Anthropic::Models::Beta::BetaManagedAgentsModel, Anthropic::Models::Beta::BetaManagedAgentsModelConfigParams)
|
|
# File 'lib/anthropic/models/beta/agent_create_params.rb', line 111
|