Class: Anthropic::Models::Beta::BetaServerToolUseBlockParam
Defined Under Namespace
Modules: Caller, Name
Instance Attribute Summary collapse
Class Method 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(id:, input:, name:, cache_control: nil, caller_: nil, type: :server_tool_use) ⇒ void
|
# File 'lib/anthropic/models/beta/beta_server_tool_use_block_param.rb', line 43
|
Instance Attribute Details
Create a cache control breakpoint at this content block.
31
|
# File 'lib/anthropic/models/beta/beta_server_tool_use_block_param.rb', line 31
optional :cache_control, -> { Anthropic::Beta::BetaCacheControlEphemeral }, nil?: true
|
Tool invocation directly from the model.
37
38
39
40
41
|
# File 'lib/anthropic/models/beta/beta_server_tool_use_block_param.rb', line 37
optional :caller_,
union: -> {
Anthropic::Beta::BetaServerToolUseBlockParam::Caller
},
api_name: :caller
|
#id ⇒ String
10
|
# File 'lib/anthropic/models/beta/beta_server_tool_use_block_param.rb', line 10
required :id, String
|
15
|
# File 'lib/anthropic/models/beta/beta_server_tool_use_block_param.rb', line 15
required :input, Anthropic::Internal::Type::HashOf[Anthropic::Internal::Type::Unknown]
|
20
|
# File 'lib/anthropic/models/beta/beta_server_tool_use_block_param.rb', line 20
required :name, enum: -> { Anthropic::Beta::BetaServerToolUseBlockParam::Name }
|
#type ⇒ Symbol, :server_tool_use
25
|
# File 'lib/anthropic/models/beta/beta_server_tool_use_block_param.rb', line 25
required :type, const: :server_tool_use
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/anthropic/models/beta/beta_server_tool_use_block_param.rb', line 68
|