Module: Anthropic::Models::Beta::BetaWebFetchTool20260318::ResponseInclusion

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

Overview

How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn.

See Also:

  • Anthropic::Models::Beta::BetaWebFetchTool20260318#response_inclusion

Constant Summary collapse

FULL =

Returns:

  • (:full)
:full
EXCLUDED =

Returns:

  • (:excluded)
:excluded

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::BetaWebFetchTool20260318::response_inclusion]

Returns:

  • (::Array[Anthropic::Models::Beta::BetaWebFetchTool20260318::response_inclusion])


121
# File 'sig/anthropic/models/beta/beta_web_fetch_tool_20260318.rbs', line 121

def self?.values: -> ::Array[Anthropic::Models::Beta::BetaWebFetchTool20260318::response_inclusion]