Module: Anthropic::Models::WebSearchTool20260318::ResponseInclusion
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/anthropic/models/web_search_tool_20260318.rb,
sig/anthropic/models/web_search_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.
Constant Summary collapse
- FULL =
:full- EXCLUDED =
:excluded
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, 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
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/web_search_tool_20260318.rb', line 141
|
Instance Method Details
#self?.values ⇒ ::Array[Anthropic::Models::WebSearchTool20260318::response_inclusion]
106 |
# File 'sig/anthropic/models/web_search_tool_20260318.rbs', line 106
def self?.values: -> ::Array[Anthropic::Models::WebSearchTool20260318::response_inclusion]
|