Class: Anthropic::Models::ContextManagementCapability

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/context_management_capability.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(clear_thinking_20251015:, clear_tool_uses_20250919:, compact_20260112:, supported:) ⇒ void

Context management capability details.

Parameters:



# File 'lib/anthropic/models/context_management_capability.rb', line 30

Instance Attribute Details

#clear_thinking_20251015Anthropic::Models::CapabilitySupport?

Indicates whether a capability is supported.



10
# File 'lib/anthropic/models/context_management_capability.rb', line 10

required :clear_thinking_20251015, -> { Anthropic::CapabilitySupport }, nil?: true

#clear_tool_uses_20250919Anthropic::Models::CapabilitySupport?

Indicates whether a capability is supported.



16
# File 'lib/anthropic/models/context_management_capability.rb', line 16

required :clear_tool_uses_20250919, -> { Anthropic::CapabilitySupport }, nil?: true

#compact_20260112Anthropic::Models::CapabilitySupport?

Indicates whether a capability is supported.



22
# File 'lib/anthropic/models/context_management_capability.rb', line 22

required :compact_20260112, -> { Anthropic::CapabilitySupport }, nil?: true

#supportedBoolean

Whether this capability is supported by the model.

Returns:



28
# File 'lib/anthropic/models/context_management_capability.rb', line 28

required :supported, Anthropic::Internal::Type::Boolean