Module: Anthropic::Models::Beta::BetaRawContentBlockStartEvent::ContentBlock::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/beta_raw_content_block_start_event.rb,
sig/anthropic/models/beta/beta_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
ADVISOR_TOOL_RESULT =

Returns:

  • (:advisor_tool_result)
:advisor_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
MCP_TOOL_USE =

Returns:

  • (:mcp_tool_use)
:mcp_tool_use
MCP_TOOL_RESULT =

Returns:

  • (:mcp_tool_result)
:mcp_tool_result
CONTAINER_UPLOAD =

Returns:

  • (:container_upload)
:container_upload
COMPACTION =

Returns:

  • (:compaction)
:compaction
FALLBACK =

Returns:

  • (:fallback)
:fallback

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::Beta::BetaRawContentBlockStartEvent::ContentBlock::type_]

Returns:

  • (::Array[Anthropic::Models::Beta::BetaRawContentBlockStartEvent::ContentBlock::type_])


94
# File 'sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs', line 94

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