Class: Anthropic::Models::Tool::InputSchema
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ void
92
|
# File 'sig/anthropic/models/tool.rbs', line 92
def initialize: (
|
Instance Attribute Details
#properties ⇒ Hash{Symbol=>Object}?
113
114
115
|
# File 'lib/anthropic/models/tool.rb', line 113
optional :properties,
Anthropic::Internal::Type::HashOf[Anthropic::Internal::Type::Unknown],
nil?: true
|
#required ⇒ Array<String>?
120
|
# File 'lib/anthropic/models/tool.rb', line 120
optional :required, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
#type ⇒ Symbol, :object
108
|
# File 'lib/anthropic/models/tool.rb', line 108
required :type, const: :object
|
Instance Method Details
#to_hash ⇒ {
98
|
# File 'sig/anthropic/models/tool.rbs', line 98
def to_hash: -> {
|