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

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

Constant Summary collapse

TEXT =

Returns:

  • (:text)
:text
THINKING =

Returns:

  • (:thinking)
:thinking
REDACTED_THINKING =

Returns:

  • (:redacted_thinking)
:redacted_thinking
TOOL_USE =

Returns:

  • (:tool_use)
:tool_use
SERVER_TOOL_USE =

Returns:

  • (:server_tool_use)
:server_tool_use
WEB_SEARCH_TOOL_RESULT =

Returns:

  • (:web_search_tool_result)
:web_search_tool_result
WEB_FETCH_TOOL_RESULT =

Returns:

  • (:web_fetch_tool_result)
:web_fetch_tool_result
CODE_EXECUTION_TOOL_RESULT =

Returns:

  • (:code_execution_tool_result)
:code_execution_tool_result
BASH_CODE_EXECUTION_TOOL_RESULT =

Returns:

  • (:bash_code_execution_tool_result)
:bash_code_execution_tool_result
TEXT_EDITOR_CODE_EXECUTION_TOOL_RESULT =

Returns:

  • (:text_editor_code_execution_tool_result)
:text_editor_code_execution_tool_result
TOOL_SEARCH_TOOL_RESULT =

Returns:

  • (:tool_search_tool_result)
:tool_search_tool_result
CONTAINER_UPLOAD =

Returns:

  • (:container_upload)
: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::RawContentBlockStartEvent::ContentBlock::type_]

Returns:

  • (::Array[Anthropic::Models::RawContentBlockStartEvent::ContentBlock::type_])


76
# File 'sig/anthropic/models/raw_content_block_start_event.rbs', line 76

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