Class: Anthropic::Models::Beta::BetaManagedAgentsCustomTool
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsCustomTool
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_custom_tool.rb,
sig/anthropic/models/beta/beta_managed_agents_custom_tool.rbs
Instance Attribute Summary collapse
- #description ⇒ String
-
#input_schema ⇒ Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema
JSON Schema for custom tool input parameters.
- #name ⇒ String
- #type ⇒ Symbol, :custom
Instance Method Summary collapse
-
#initialize ⇒ BetaManagedAgentsCustomTool
constructor
A new instance of BetaManagedAgentsCustomTool.
- #to_hash ⇒ { description: String, input_schema: Anthropic::Beta::BetaManagedAgentsCustomToolInputSchema, name: String, type: :custom }
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 ⇒ BetaManagedAgentsCustomTool
Returns a new instance of BetaManagedAgentsCustomTool.
23 24 25 26 27 28 |
# File 'sig/anthropic/models/beta/beta_managed_agents_custom_tool.rbs', line 23
def initialize: (
description: String,
input_schema: Anthropic::Beta::BetaManagedAgentsCustomToolInputSchema,
name: String,
?type: :custom
) -> void
|
Instance Attribute Details
#description ⇒ String
10 |
# File 'lib/anthropic/models/beta/beta_managed_agents_custom_tool.rb', line 10 required :description, String |
#input_schema ⇒ Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema
JSON Schema for custom tool input parameters.
16 |
# File 'lib/anthropic/models/beta/beta_managed_agents_custom_tool.rb', line 16 required :input_schema, -> { Anthropic::Beta::BetaManagedAgentsCustomToolInputSchema } |
#name ⇒ String
21 |
# File 'lib/anthropic/models/beta/beta_managed_agents_custom_tool.rb', line 21 required :name, String |
#type ⇒ Symbol, :custom
26 |
# File 'lib/anthropic/models/beta/beta_managed_agents_custom_tool.rb', line 26 required :type, const: :custom |
Instance Method Details
#to_hash ⇒ { description: String, input_schema: Anthropic::Beta::BetaManagedAgentsCustomToolInputSchema, name: String, type: :custom }
30 31 32 33 34 35 |
# File 'sig/anthropic/models/beta/beta_managed_agents_custom_tool.rbs', line 30
def to_hash: -> {
description: String,
input_schema: Anthropic::Beta::BetaManagedAgentsCustomToolInputSchema,
name: String,
type: :custom
}
|