Module: Anthropic::Models::ContentBlock::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/content_block.rb,
sig/anthropic/models/content_block.rbs

Constant Summary collapse

TEXT =

Returns:

:text
THINKING =

Returns:

:thinking
REDACTED_THINKING =

Returns:

:redacted_thinking
TOOL_USE =

Returns:

:tool_use
SERVER_TOOL_USE =

Returns:

:server_tool_use
WEB_SEARCH_TOOL_RESULT =

Returns:

:web_search_tool_result
WEB_FETCH_TOOL_RESULT =

Returns:

:web_fetch_tool_result
CODE_EXECUTION_TOOL_RESULT =

Returns:

:code_execution_tool_result
BASH_CODE_EXECUTION_TOOL_RESULT =

Returns:

:bash_code_execution_tool_result
TEXT_EDITOR_CODE_EXECUTION_TOOL_RESULT =

Returns:

:text_editor_code_execution_tool_result
TOOL_SEARCH_TOOL_RESULT =

Returns:

:tool_search_tool_result
CONTAINER_UPLOAD =

Returns:

:container_upload

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.values::Array[Anthropic::Models::ContentBlock::type_]

Returns:



50
# File 'sig/anthropic/models/content_block.rbs', line 50

def self?.values: -> ::Array[Anthropic::Models::ContentBlock::type_]