anthropic 1.48.2 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/anthropic/client.rb +8 -2
- data/lib/anthropic/errors.rb +14 -0
- data/lib/anthropic/helpers/aws/client.rb +3 -3
- data/lib/anthropic/helpers/aws_auth.rb +39 -29
- data/lib/anthropic/helpers/bedrock/client.rb +99 -67
- data/lib/anthropic/helpers/bedrock/event_stream.rb +92 -0
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +3 -3
- data/lib/anthropic/helpers/vertex/client.rb +99 -55
- data/lib/anthropic/internal/transport/base_client.rb +196 -33
- data/lib/anthropic/internal/util.rb +37 -1
- data/lib/anthropic/middleware.rb +435 -0
- data/lib/anthropic/models/beta/beta_advisor_tool_20260301.rb +3 -1
- data/lib/anthropic/models/beta/beta_code_execution_tool_20250522.rb +3 -1
- data/lib/anthropic/models/beta/beta_code_execution_tool_20250825.rb +3 -1
- data/lib/anthropic/models/beta/beta_code_execution_tool_20260120.rb +3 -1
- data/lib/anthropic/models/beta/beta_code_execution_tool_20260521.rb +86 -0
- data/lib/anthropic/models/beta/beta_content_block.rb +3 -3
- data/lib/anthropic/models/beta/beta_content_block_param.rb +10 -12
- data/lib/anthropic/models/beta/beta_fallback_block.rb +13 -5
- data/lib/anthropic/models/beta/beta_fallback_block_param.rb +22 -13
- data/lib/anthropic/models/beta/beta_fallback_refusal_trigger.rb +44 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818.rb +3 -1
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +3 -3
- data/lib/anthropic/models/beta/beta_refusal_stop_details.rb +3 -7
- data/lib/anthropic/models/beta/beta_tool.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_bash_20241022.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_bash_20250124.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_computer_use_20250124.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_computer_use_20251124.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_text_editor_20241022.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_text_editor_20250124.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_text_editor_20250429.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_text_editor_20250728.rb +3 -1
- data/lib/anthropic/models/beta/beta_tool_union.rb +4 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20250910.rb +3 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260209.rb +3 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260309.rb +3 -1
- data/lib/anthropic/models/beta/beta_web_search_tool_20250305.rb +3 -1
- data/lib/anthropic/models/beta/beta_web_search_tool_20260209.rb +3 -1
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +3 -1
- data/lib/anthropic/models/beta/beta_webhook_session_updated_event_data.rb +41 -0
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +6 -3
- data/lib/anthropic/models/beta/message_create_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +2 -2
- data/lib/anthropic/models/beta/unwrap_webhook_event.rb +2 -2
- data/lib/anthropic/models/code_execution_tool_20250522.rb +3 -1
- data/lib/anthropic/models/code_execution_tool_20250825.rb +3 -1
- data/lib/anthropic/models/code_execution_tool_20260120.rb +3 -1
- data/lib/anthropic/models/code_execution_tool_20260521.rb +82 -0
- data/lib/anthropic/models/memory_tool_20250818.rb +3 -1
- data/lib/anthropic/models/message_count_tokens_params.rb +2 -2
- data/lib/anthropic/models/message_count_tokens_tool.rb +4 -1
- data/lib/anthropic/models/message_create_params.rb +2 -2
- data/lib/anthropic/models/messages/batch_create_params.rb +2 -2
- data/lib/anthropic/models/refusal_stop_details.rb +3 -7
- data/lib/anthropic/models/tool.rb +3 -1
- data/lib/anthropic/models/tool_bash_20250124.rb +3 -1
- data/lib/anthropic/models/tool_search_tool_bm25_20251119.rb +3 -1
- data/lib/anthropic/models/tool_search_tool_regex_20251119.rb +3 -1
- data/lib/anthropic/models/tool_text_editor_20250124.rb +3 -1
- data/lib/anthropic/models/tool_text_editor_20250429.rb +3 -1
- data/lib/anthropic/models/tool_text_editor_20250728.rb +3 -1
- data/lib/anthropic/models/tool_union.rb +4 -1
- data/lib/anthropic/models/web_fetch_tool_20250910.rb +3 -1
- data/lib/anthropic/models/web_fetch_tool_20260209.rb +3 -1
- data/lib/anthropic/models/web_fetch_tool_20260309.rb +3 -1
- data/lib/anthropic/models/web_search_tool_20250305.rb +3 -1
- data/lib/anthropic/models/web_search_tool_20260209.rb +3 -1
- data/lib/anthropic/models.rb +2 -0
- data/lib/anthropic/request_options.rb +9 -0
- data/lib/anthropic/resources/beta/messages.rb +3 -3
- data/lib/anthropic/resources/messages.rb +3 -3
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +6 -0
- data/rbi/anthropic/client.rbi +7 -2
- data/rbi/anthropic/errors.rbi +5 -0
- data/rbi/anthropic/helpers/aws/client.rbi +3 -6
- data/rbi/anthropic/helpers/bedrock/client.rbi +24 -13
- data/rbi/anthropic/helpers/bedrock/event_stream.rbi +25 -0
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +3 -6
- data/rbi/anthropic/helpers/vertex/client.rbi +28 -8
- data/rbi/anthropic/internal/transport/base_client.rbi +39 -4
- data/rbi/anthropic/internal/util.rbi +5 -0
- data/rbi/anthropic/middleware.rbi +338 -0
- data/rbi/anthropic/models/beta/beta_advisor_tool_20260301.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_code_execution_tool_20250522.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_code_execution_tool_20250825.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_code_execution_tool_20260120.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_code_execution_tool_20260521.rbi +178 -0
- data/rbi/anthropic/models/beta/beta_fallback_block.rbi +19 -4
- data/rbi/anthropic/models/beta/beta_fallback_block_param.rbi +23 -13
- data/rbi/anthropic/models/beta/beta_fallback_refusal_trigger.rbi +108 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_refusal_stop_details.rbi +3 -9
- data/rbi/anthropic/models/beta/beta_tool.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_bash_20241022.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_bash_20250124.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_computer_use_20241022.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_computer_use_20250124.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_computer_use_20251124.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_text_editor_20241022.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_text_editor_20250124.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_text_editor_20250429.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_text_editor_20250728.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_tool_union.rbi +1 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20250910.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260209.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260309.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_web_search_tool_20250305.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_web_search_tool_20260209.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_webhook_session_updated_event_data.rbi +63 -0
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +5 -0
- data/rbi/anthropic/models/beta/message_create_params.rbi +4 -0
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +4 -0
- data/rbi/anthropic/models/beta/unwrap_webhook_event.rbi +2 -1
- data/rbi/anthropic/models/code_execution_tool_20250522.rbi +7 -1
- data/rbi/anthropic/models/code_execution_tool_20250825.rbi +7 -1
- data/rbi/anthropic/models/code_execution_tool_20260120.rbi +7 -1
- data/rbi/anthropic/models/code_execution_tool_20260521.rbi +168 -0
- data/rbi/anthropic/models/memory_tool_20250818.rbi +7 -1
- data/rbi/anthropic/models/message_count_tokens_params.rbi +4 -0
- data/rbi/anthropic/models/message_count_tokens_tool.rbi +1 -0
- data/rbi/anthropic/models/message_create_params.rbi +4 -0
- data/rbi/anthropic/models/messages/batch_create_params.rbi +4 -0
- data/rbi/anthropic/models/refusal_stop_details.rbi +3 -9
- data/rbi/anthropic/models/tool.rbi +7 -1
- data/rbi/anthropic/models/tool_bash_20250124.rbi +7 -1
- data/rbi/anthropic/models/tool_search_tool_bm25_20251119.rbi +7 -1
- data/rbi/anthropic/models/tool_search_tool_regex_20251119.rbi +7 -1
- data/rbi/anthropic/models/tool_text_editor_20250124.rbi +7 -1
- data/rbi/anthropic/models/tool_text_editor_20250429.rbi +7 -1
- data/rbi/anthropic/models/tool_text_editor_20250728.rbi +7 -1
- data/rbi/anthropic/models/tool_union.rbi +1 -0
- data/rbi/anthropic/models/web_fetch_tool_20250910.rbi +7 -1
- data/rbi/anthropic/models/web_fetch_tool_20260209.rbi +7 -1
- data/rbi/anthropic/models/web_fetch_tool_20260309.rbi +7 -1
- data/rbi/anthropic/models/web_search_tool_20250305.rbi +7 -1
- data/rbi/anthropic/models/web_search_tool_20260209.rbi +7 -1
- data/rbi/anthropic/models.rbi +2 -0
- data/rbi/anthropic/request_options.rbi +5 -0
- data/rbi/anthropic/resources/beta/messages.rbi +3 -0
- data/rbi/anthropic/resources/messages.rbi +3 -0
- data/sig/anthropic/client.rbs +2 -1
- data/sig/anthropic/errors.rbs +3 -0
- data/sig/anthropic/helpers/bedrock/client.rbs +12 -4
- data/sig/anthropic/helpers/vertex/client.rbs +17 -4
- data/sig/anthropic/internal/transport/base_client.rbs +18 -3
- data/sig/anthropic/internal/util.rbs +2 -0
- data/sig/anthropic/middleware.rbs +117 -0
- data/sig/anthropic/models/beta/beta_advisor_tool_20260301.rbs +5 -1
- data/sig/anthropic/models/beta/beta_code_execution_tool_20250522.rbs +5 -1
- data/sig/anthropic/models/beta/beta_code_execution_tool_20250825.rbs +5 -1
- data/sig/anthropic/models/beta/beta_code_execution_tool_20260120.rbs +5 -1
- data/sig/anthropic/models/beta/beta_code_execution_tool_20260521.rbs +74 -0
- data/sig/anthropic/models/beta/beta_fallback_block.rbs +5 -0
- data/sig/anthropic/models/beta/beta_fallback_block_param.rbs +9 -2
- data/sig/anthropic/models/beta/beta_fallback_refusal_trigger.rbs +42 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_bash_20241022.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_bash_20250124.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_computer_use_20241022.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_computer_use_20250124.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_computer_use_20251124.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_text_editor_20241022.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_text_editor_20250124.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_text_editor_20250429.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_text_editor_20250728.rbs +5 -1
- data/sig/anthropic/models/beta/beta_tool_union.rbs +1 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20250910.rbs +5 -1
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20260209.rbs +5 -1
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20260309.rbs +5 -1
- data/sig/anthropic/models/beta/beta_web_search_tool_20250305.rbs +5 -1
- data/sig/anthropic/models/beta/beta_web_search_tool_20260209.rbs +5 -1
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +1 -0
- data/sig/anthropic/models/beta/beta_webhook_session_updated_event_data.rbs +39 -0
- data/sig/anthropic/models/beta/message_count_tokens_params.rbs +1 -0
- data/sig/anthropic/models/code_execution_tool_20250522.rbs +5 -1
- data/sig/anthropic/models/code_execution_tool_20250825.rbs +5 -1
- data/sig/anthropic/models/code_execution_tool_20260120.rbs +5 -1
- data/sig/anthropic/models/code_execution_tool_20260521.rbs +70 -0
- data/sig/anthropic/models/memory_tool_20250818.rbs +5 -1
- data/sig/anthropic/models/message_count_tokens_tool.rbs +1 -0
- data/sig/anthropic/models/tool.rbs +5 -1
- data/sig/anthropic/models/tool_bash_20250124.rbs +5 -1
- data/sig/anthropic/models/tool_search_tool_bm25_20251119.rbs +5 -1
- data/sig/anthropic/models/tool_search_tool_regex_20251119.rbs +5 -1
- data/sig/anthropic/models/tool_text_editor_20250124.rbs +5 -1
- data/sig/anthropic/models/tool_text_editor_20250429.rbs +5 -1
- data/sig/anthropic/models/tool_text_editor_20250728.rbs +5 -1
- data/sig/anthropic/models/tool_union.rbs +1 -0
- data/sig/anthropic/models/web_fetch_tool_20250910.rbs +5 -1
- data/sig/anthropic/models/web_fetch_tool_20260209.rbs +5 -1
- data/sig/anthropic/models/web_fetch_tool_20260309.rbs +5 -1
- data/sig/anthropic/models/web_search_tool_20250305.rbs +5 -1
- data/sig/anthropic/models/web_search_tool_20260209.rbs +5 -1
- data/sig/anthropic/models.rbs +2 -0
- data/sig/anthropic/request_options.rbs +4 -1
- metadata +19 -2
|
@@ -21,27 +21,36 @@ module Anthropic
|
|
|
21
21
|
# @return [Symbol, :fallback]
|
|
22
22
|
required :type, const: :fallback
|
|
23
23
|
|
|
24
|
-
# @!
|
|
24
|
+
# @!attribute trigger
|
|
25
|
+
# The response block's `trigger`, echoed verbatim. Accepted and ignored by the
|
|
26
|
+
# server; any object or `null` is allowed.
|
|
27
|
+
#
|
|
28
|
+
# @return [Object, nil]
|
|
29
|
+
optional :trigger, Anthropic::Internal::Type::Unknown
|
|
30
|
+
|
|
31
|
+
# @!method initialize(from:, to:, trigger: nil, type: :fallback)
|
|
32
|
+
# Some parameter documentations has been truncated, see
|
|
33
|
+
# {Anthropic::Models::Beta::BetaFallbackBlockParam} for more details.
|
|
34
|
+
#
|
|
25
35
|
# A `fallback` block echoed back from a prior response.
|
|
26
36
|
#
|
|
27
|
-
# Accepted in `messages[].content` and
|
|
28
|
-
#
|
|
29
|
-
# stripped before the sticky-routing cache key is computed.
|
|
37
|
+
# Accepted in `messages[].content` and not rendered into the prompt; not validated
|
|
38
|
+
# against the request's `fallbacks` chain or top-level `model`.
|
|
30
39
|
#
|
|
31
|
-
#
|
|
32
|
-
# position
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
# rejected; between non-thinking blocks the block's placement has no verification
|
|
39
|
-
# effect.
|
|
40
|
+
# Echo the assistant turn back verbatim, including this block in its original
|
|
41
|
+
# position. The block marks the boundary between content produced before and after
|
|
42
|
+
# a fallback hop, and the server relies on that boundary to validate the turn:
|
|
43
|
+
# when thinking runs flank the boundary, omitting the block merges them into one
|
|
44
|
+
# span the server cannot validate (the request is rejected), and moving it into
|
|
45
|
+
# the middle of a single run is likewise rejected; between non-thinking blocks the
|
|
46
|
+
# block's placement has no validation effect.
|
|
40
47
|
#
|
|
41
48
|
# @param from [Anthropic::Models::Beta::BetaFallbackInfoParam] Identifies one hop of a fallback transition.
|
|
42
49
|
#
|
|
43
50
|
# @param to [Anthropic::Models::Beta::BetaFallbackInfoParam] Identifies one hop of a fallback transition.
|
|
44
51
|
#
|
|
52
|
+
# @param trigger [Object] The response block's `trigger`, echoed verbatim. Accepted and ignored by the ser
|
|
53
|
+
#
|
|
45
54
|
# @param type [Symbol, :fallback]
|
|
46
55
|
end
|
|
47
56
|
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaFallbackRefusalTrigger < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute category
|
|
8
|
+
# The policy category that triggered a refusal.
|
|
9
|
+
#
|
|
10
|
+
# @return [Symbol, Anthropic::Models::Beta::BetaFallbackRefusalTrigger::Category, nil]
|
|
11
|
+
required :category, enum: -> { Anthropic::Beta::BetaFallbackRefusalTrigger::Category }, nil?: true
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :refusal]
|
|
16
|
+
required :type, const: :refusal
|
|
17
|
+
|
|
18
|
+
# @!method initialize(category:, type: :refusal)
|
|
19
|
+
# The `from` model declined for policy reasons.
|
|
20
|
+
#
|
|
21
|
+
# @param category [Symbol, Anthropic::Models::Beta::BetaFallbackRefusalTrigger::Category, nil] The policy category that triggered a refusal.
|
|
22
|
+
#
|
|
23
|
+
# @param type [Symbol, :refusal]
|
|
24
|
+
|
|
25
|
+
# The policy category that triggered a refusal.
|
|
26
|
+
#
|
|
27
|
+
# @see Anthropic::Models::Beta::BetaFallbackRefusalTrigger#category
|
|
28
|
+
module Category
|
|
29
|
+
extend Anthropic::Internal::Type::Enum
|
|
30
|
+
|
|
31
|
+
CYBER = :cyber
|
|
32
|
+
BIO = :bio
|
|
33
|
+
FRONTIER_LLM = :frontier_llm
|
|
34
|
+
REASONING_EXTRACTION = :reasoning_extraction
|
|
35
|
+
|
|
36
|
+
# @!method self.values
|
|
37
|
+
# @return [Array<Symbol>]
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
BetaFallbackRefusalTrigger = Beta::BetaFallbackRefusalTrigger
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -71,13 +71,15 @@ module Anthropic
|
|
|
71
71
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
72
72
|
# The tool can be called from the code execution environment (v1).
|
|
73
73
|
# code_execution_20260120: The tool can be called from the code execution
|
|
74
|
-
# environment (v2 with persistence).
|
|
74
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
75
|
+
# called from the code execution environment (v2 with persistence).
|
|
75
76
|
module AllowedCaller
|
|
76
77
|
extend Anthropic::Internal::Type::Enum
|
|
77
78
|
|
|
78
79
|
DIRECT = :direct
|
|
79
80
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
80
81
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
82
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
81
83
|
|
|
82
84
|
# @!method self.values
|
|
83
85
|
# @return [Array<Symbol>]
|
|
@@ -77,9 +77,9 @@ module Anthropic
|
|
|
77
77
|
# Marks the point in `content` where one model's output gives way to the next.
|
|
78
78
|
#
|
|
79
79
|
# One block appears per hop where a preceding model actually ran this turn and
|
|
80
|
-
# declined. A turn
|
|
81
|
-
# and carries no block — the signal for whether a fallback model
|
|
82
|
-
# response is the presence of a `fallback_message` entry in
|
|
80
|
+
# declined. A turn where no preceding model ran and declined has no such
|
|
81
|
+
# boundary and carries no block — the signal for whether a fallback model
|
|
82
|
+
# served the response is the presence of a `fallback_message` entry in
|
|
83
83
|
# `usage.iterations`, not this block.
|
|
84
84
|
#
|
|
85
85
|
# The block is treated like a server-tool content block for streaming: it
|
|
@@ -5,9 +5,7 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaRefusalStopDetails < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute category
|
|
8
|
-
# The policy category that triggered
|
|
9
|
-
#
|
|
10
|
-
# `null` when the refusal doesn't map to a named category.
|
|
8
|
+
# The policy category that triggered a refusal.
|
|
11
9
|
#
|
|
12
10
|
# @return [Symbol, Anthropic::Models::Beta::BetaRefusalStopDetails::Category, nil]
|
|
13
11
|
required :category, enum: -> { Anthropic::Beta::BetaRefusalStopDetails::Category }, nil?: true
|
|
@@ -88,7 +86,7 @@ module Anthropic
|
|
|
88
86
|
#
|
|
89
87
|
# Structured information about a refusal.
|
|
90
88
|
#
|
|
91
|
-
# @param category [Symbol, Anthropic::Models::Beta::BetaRefusalStopDetails::Category, nil] The policy category that triggered
|
|
89
|
+
# @param category [Symbol, Anthropic::Models::Beta::BetaRefusalStopDetails::Category, nil] The policy category that triggered a refusal.
|
|
92
90
|
#
|
|
93
91
|
# @param explanation [String, nil] Human-readable explanation of the refusal.
|
|
94
92
|
#
|
|
@@ -100,9 +98,7 @@ module Anthropic
|
|
|
100
98
|
#
|
|
101
99
|
# @param type [Symbol, :refusal]
|
|
102
100
|
|
|
103
|
-
# The policy category that triggered
|
|
104
|
-
#
|
|
105
|
-
# `null` when the refusal doesn't map to a named category.
|
|
101
|
+
# The policy category that triggered a refusal.
|
|
106
102
|
#
|
|
107
103
|
# @see Anthropic::Models::Beta::BetaRefusalStopDetails#category
|
|
108
104
|
module Category
|
|
@@ -137,13 +137,15 @@ module Anthropic
|
|
|
137
137
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
138
138
|
# The tool can be called from the code execution environment (v1).
|
|
139
139
|
# code_execution_20260120: The tool can be called from the code execution
|
|
140
|
-
# environment (v2 with persistence).
|
|
140
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
141
|
+
# called from the code execution environment (v2 with persistence).
|
|
141
142
|
module AllowedCaller
|
|
142
143
|
extend Anthropic::Internal::Type::Enum
|
|
143
144
|
|
|
144
145
|
DIRECT = :direct
|
|
145
146
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
146
147
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
148
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
147
149
|
|
|
148
150
|
# @!method self.values
|
|
149
151
|
# @return [Array<Symbol>]
|
|
@@ -71,13 +71,15 @@ module Anthropic
|
|
|
71
71
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
72
72
|
# The tool can be called from the code execution environment (v1).
|
|
73
73
|
# code_execution_20260120: The tool can be called from the code execution
|
|
74
|
-
# environment (v2 with persistence).
|
|
74
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
75
|
+
# called from the code execution environment (v2 with persistence).
|
|
75
76
|
module AllowedCaller
|
|
76
77
|
extend Anthropic::Internal::Type::Enum
|
|
77
78
|
|
|
78
79
|
DIRECT = :direct
|
|
79
80
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
80
81
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
82
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
81
83
|
|
|
82
84
|
# @!method self.values
|
|
83
85
|
# @return [Array<Symbol>]
|
|
@@ -71,13 +71,15 @@ module Anthropic
|
|
|
71
71
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
72
72
|
# The tool can be called from the code execution environment (v1).
|
|
73
73
|
# code_execution_20260120: The tool can be called from the code execution
|
|
74
|
-
# environment (v2 with persistence).
|
|
74
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
75
|
+
# called from the code execution environment (v2 with persistence).
|
|
75
76
|
module AllowedCaller
|
|
76
77
|
extend Anthropic::Internal::Type::Enum
|
|
77
78
|
|
|
78
79
|
DIRECT = :direct
|
|
79
80
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
80
81
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
82
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
81
83
|
|
|
82
84
|
# @!method self.values
|
|
83
85
|
# @return [Array<Symbol>]
|
|
@@ -95,13 +95,15 @@ module Anthropic
|
|
|
95
95
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
96
96
|
# The tool can be called from the code execution environment (v1).
|
|
97
97
|
# code_execution_20260120: The tool can be called from the code execution
|
|
98
|
-
# environment (v2 with persistence).
|
|
98
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
99
|
+
# called from the code execution environment (v2 with persistence).
|
|
99
100
|
module AllowedCaller
|
|
100
101
|
extend Anthropic::Internal::Type::Enum
|
|
101
102
|
|
|
102
103
|
DIRECT = :direct
|
|
103
104
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
104
105
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
106
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
105
107
|
|
|
106
108
|
# @!method self.values
|
|
107
109
|
# @return [Array<Symbol>]
|
|
@@ -95,13 +95,15 @@ module Anthropic
|
|
|
95
95
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
96
96
|
# The tool can be called from the code execution environment (v1).
|
|
97
97
|
# code_execution_20260120: The tool can be called from the code execution
|
|
98
|
-
# environment (v2 with persistence).
|
|
98
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
99
|
+
# called from the code execution environment (v2 with persistence).
|
|
99
100
|
module AllowedCaller
|
|
100
101
|
extend Anthropic::Internal::Type::Enum
|
|
101
102
|
|
|
102
103
|
DIRECT = :direct
|
|
103
104
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
104
105
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
106
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
105
107
|
|
|
106
108
|
# @!method self.values
|
|
107
109
|
# @return [Array<Symbol>]
|
|
@@ -103,13 +103,15 @@ module Anthropic
|
|
|
103
103
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
104
104
|
# The tool can be called from the code execution environment (v1).
|
|
105
105
|
# code_execution_20260120: The tool can be called from the code execution
|
|
106
|
-
# environment (v2 with persistence).
|
|
106
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
107
|
+
# called from the code execution environment (v2 with persistence).
|
|
107
108
|
module AllowedCaller
|
|
108
109
|
extend Anthropic::Internal::Type::Enum
|
|
109
110
|
|
|
110
111
|
DIRECT = :direct
|
|
111
112
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
112
113
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
114
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
113
115
|
|
|
114
116
|
# @!method self.values
|
|
115
117
|
# @return [Array<Symbol>]
|
|
@@ -74,13 +74,15 @@ module Anthropic
|
|
|
74
74
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
75
75
|
# The tool can be called from the code execution environment (v1).
|
|
76
76
|
# code_execution_20260120: The tool can be called from the code execution
|
|
77
|
-
# environment (v2 with persistence).
|
|
77
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
78
|
+
# called from the code execution environment (v2 with persistence).
|
|
78
79
|
module AllowedCaller
|
|
79
80
|
extend Anthropic::Internal::Type::Enum
|
|
80
81
|
|
|
81
82
|
DIRECT = :direct
|
|
82
83
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
83
84
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
85
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
84
86
|
|
|
85
87
|
# @!method self.values
|
|
86
88
|
# @return [Array<Symbol>]
|
|
@@ -74,13 +74,15 @@ module Anthropic
|
|
|
74
74
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
75
75
|
# The tool can be called from the code execution environment (v1).
|
|
76
76
|
# code_execution_20260120: The tool can be called from the code execution
|
|
77
|
-
# environment (v2 with persistence).
|
|
77
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
78
|
+
# called from the code execution environment (v2 with persistence).
|
|
78
79
|
module AllowedCaller
|
|
79
80
|
extend Anthropic::Internal::Type::Enum
|
|
80
81
|
|
|
81
82
|
DIRECT = :direct
|
|
82
83
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
83
84
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
85
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
84
86
|
|
|
85
87
|
# @!method self.values
|
|
86
88
|
# @return [Array<Symbol>]
|
|
@@ -71,13 +71,15 @@ module Anthropic
|
|
|
71
71
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
72
72
|
# The tool can be called from the code execution environment (v1).
|
|
73
73
|
# code_execution_20260120: The tool can be called from the code execution
|
|
74
|
-
# environment (v2 with persistence).
|
|
74
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
75
|
+
# called from the code execution environment (v2 with persistence).
|
|
75
76
|
module AllowedCaller
|
|
76
77
|
extend Anthropic::Internal::Type::Enum
|
|
77
78
|
|
|
78
79
|
DIRECT = :direct
|
|
79
80
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
80
81
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
82
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
81
83
|
|
|
82
84
|
# @!method self.values
|
|
83
85
|
# @return [Array<Symbol>]
|
|
@@ -71,13 +71,15 @@ module Anthropic
|
|
|
71
71
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
72
72
|
# The tool can be called from the code execution environment (v1).
|
|
73
73
|
# code_execution_20260120: The tool can be called from the code execution
|
|
74
|
-
# environment (v2 with persistence).
|
|
74
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
75
|
+
# called from the code execution environment (v2 with persistence).
|
|
75
76
|
module AllowedCaller
|
|
76
77
|
extend Anthropic::Internal::Type::Enum
|
|
77
78
|
|
|
78
79
|
DIRECT = :direct
|
|
79
80
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
80
81
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
82
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
81
83
|
|
|
82
84
|
# @!method self.values
|
|
83
85
|
# @return [Array<Symbol>]
|
|
@@ -71,13 +71,15 @@ module Anthropic
|
|
|
71
71
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
72
72
|
# The tool can be called from the code execution environment (v1).
|
|
73
73
|
# code_execution_20260120: The tool can be called from the code execution
|
|
74
|
-
# environment (v2 with persistence).
|
|
74
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
75
|
+
# called from the code execution environment (v2 with persistence).
|
|
75
76
|
module AllowedCaller
|
|
76
77
|
extend Anthropic::Internal::Type::Enum
|
|
77
78
|
|
|
78
79
|
DIRECT = :direct
|
|
79
80
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
80
81
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
82
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
81
83
|
|
|
82
84
|
# @!method self.values
|
|
83
85
|
# @return [Array<Symbol>]
|
|
@@ -80,13 +80,15 @@ module Anthropic
|
|
|
80
80
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
81
81
|
# The tool can be called from the code execution environment (v1).
|
|
82
82
|
# code_execution_20260120: The tool can be called from the code execution
|
|
83
|
-
# environment (v2 with persistence).
|
|
83
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
84
|
+
# called from the code execution environment (v2 with persistence).
|
|
84
85
|
module AllowedCaller
|
|
85
86
|
extend Anthropic::Internal::Type::Enum
|
|
86
87
|
|
|
87
88
|
DIRECT = :direct
|
|
88
89
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
89
90
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
91
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
90
92
|
|
|
91
93
|
# @!method self.values
|
|
92
94
|
# @return [Array<Symbol>]
|
|
@@ -21,6 +21,9 @@ module Anthropic
|
|
|
21
21
|
# Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
|
|
22
22
|
variant -> { Anthropic::Beta::BetaCodeExecutionTool20260120 }
|
|
23
23
|
|
|
24
|
+
# Code execution tool with REPL state persistence.
|
|
25
|
+
variant -> { Anthropic::Beta::BetaCodeExecutionTool20260521 }
|
|
26
|
+
|
|
24
27
|
variant -> { Anthropic::Beta::BetaToolComputerUse20241022 }
|
|
25
28
|
|
|
26
29
|
variant -> { Anthropic::Beta::BetaMemoryTool20250818 }
|
|
@@ -61,7 +64,7 @@ module Anthropic
|
|
|
61
64
|
variant -> { Anthropic::Beta::BetaMCPToolset }
|
|
62
65
|
|
|
63
66
|
# @!method self.variants
|
|
64
|
-
# @return [Array(Anthropic::Models::Beta::BetaTool, Anthropic::Models::Beta::BetaToolBash20241022, Anthropic::Models::Beta::BetaToolBash20250124, Anthropic::Models::Beta::BetaCodeExecutionTool20250522, Anthropic::Models::Beta::BetaCodeExecutionTool20250825, Anthropic::Models::Beta::BetaCodeExecutionTool20260120, Anthropic::Models::Beta::BetaToolComputerUse20241022, Anthropic::Models::Beta::BetaMemoryTool20250818, Anthropic::Models::Beta::BetaToolComputerUse20250124, Anthropic::Models::Beta::BetaToolTextEditor20241022, Anthropic::Models::Beta::BetaToolComputerUse20251124, Anthropic::Models::Beta::BetaToolTextEditor20250124, Anthropic::Models::Beta::BetaToolTextEditor20250429, Anthropic::Models::Beta::BetaToolTextEditor20250728, Anthropic::Models::Beta::BetaWebSearchTool20250305, Anthropic::Models::Beta::BetaWebFetchTool20250910, Anthropic::Models::Beta::BetaWebSearchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260309, Anthropic::Models::Beta::BetaAdvisorTool20260301, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119, Anthropic::Models::Beta::BetaToolSearchToolRegex20251119, Anthropic::Models::Beta::BetaMCPToolset)]
|
|
67
|
+
# @return [Array(Anthropic::Models::Beta::BetaTool, Anthropic::Models::Beta::BetaToolBash20241022, Anthropic::Models::Beta::BetaToolBash20250124, Anthropic::Models::Beta::BetaCodeExecutionTool20250522, Anthropic::Models::Beta::BetaCodeExecutionTool20250825, Anthropic::Models::Beta::BetaCodeExecutionTool20260120, Anthropic::Models::Beta::BetaCodeExecutionTool20260521, Anthropic::Models::Beta::BetaToolComputerUse20241022, Anthropic::Models::Beta::BetaMemoryTool20250818, Anthropic::Models::Beta::BetaToolComputerUse20250124, Anthropic::Models::Beta::BetaToolTextEditor20241022, Anthropic::Models::Beta::BetaToolComputerUse20251124, Anthropic::Models::Beta::BetaToolTextEditor20250124, Anthropic::Models::Beta::BetaToolTextEditor20250429, Anthropic::Models::Beta::BetaToolTextEditor20250728, Anthropic::Models::Beta::BetaWebSearchTool20250305, Anthropic::Models::Beta::BetaWebFetchTool20250910, Anthropic::Models::Beta::BetaWebSearchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260309, Anthropic::Models::Beta::BetaAdvisorTool20260301, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119, Anthropic::Models::Beta::BetaToolSearchToolRegex20251119, Anthropic::Models::Beta::BetaMCPToolset)]
|
|
65
68
|
end
|
|
66
69
|
end
|
|
67
70
|
|
|
@@ -105,13 +105,15 @@ module Anthropic
|
|
|
105
105
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
106
106
|
# The tool can be called from the code execution environment (v1).
|
|
107
107
|
# code_execution_20260120: The tool can be called from the code execution
|
|
108
|
-
# environment (v2 with persistence).
|
|
108
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
109
|
+
# called from the code execution environment (v2 with persistence).
|
|
109
110
|
module AllowedCaller
|
|
110
111
|
extend Anthropic::Internal::Type::Enum
|
|
111
112
|
|
|
112
113
|
DIRECT = :direct
|
|
113
114
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
114
115
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
116
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
115
117
|
|
|
116
118
|
# @!method self.values
|
|
117
119
|
# @return [Array<Symbol>]
|
|
@@ -105,13 +105,15 @@ module Anthropic
|
|
|
105
105
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
106
106
|
# The tool can be called from the code execution environment (v1).
|
|
107
107
|
# code_execution_20260120: The tool can be called from the code execution
|
|
108
|
-
# environment (v2 with persistence).
|
|
108
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
109
|
+
# called from the code execution environment (v2 with persistence).
|
|
109
110
|
module AllowedCaller
|
|
110
111
|
extend Anthropic::Internal::Type::Enum
|
|
111
112
|
|
|
112
113
|
DIRECT = :direct
|
|
113
114
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
114
115
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
116
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
115
117
|
|
|
116
118
|
# @!method self.values
|
|
117
119
|
# @return [Array<Symbol>]
|
|
@@ -117,13 +117,15 @@ module Anthropic
|
|
|
117
117
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
118
118
|
# The tool can be called from the code execution environment (v1).
|
|
119
119
|
# code_execution_20260120: The tool can be called from the code execution
|
|
120
|
-
# environment (v2 with persistence).
|
|
120
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
121
|
+
# called from the code execution environment (v2 with persistence).
|
|
121
122
|
module AllowedCaller
|
|
122
123
|
extend Anthropic::Internal::Type::Enum
|
|
123
124
|
|
|
124
125
|
DIRECT = :direct
|
|
125
126
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
126
127
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
128
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
127
129
|
|
|
128
130
|
# @!method self.values
|
|
129
131
|
# @return [Array<Symbol>]
|
|
@@ -98,13 +98,15 @@ module Anthropic
|
|
|
98
98
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
99
99
|
# The tool can be called from the code execution environment (v1).
|
|
100
100
|
# code_execution_20260120: The tool can be called from the code execution
|
|
101
|
-
# environment (v2 with persistence).
|
|
101
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
102
|
+
# called from the code execution environment (v2 with persistence).
|
|
102
103
|
module AllowedCaller
|
|
103
104
|
extend Anthropic::Internal::Type::Enum
|
|
104
105
|
|
|
105
106
|
DIRECT = :direct
|
|
106
107
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
107
108
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
109
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
108
110
|
|
|
109
111
|
# @!method self.values
|
|
110
112
|
# @return [Array<Symbol>]
|
|
@@ -98,13 +98,15 @@ module Anthropic
|
|
|
98
98
|
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
99
99
|
# The tool can be called from the code execution environment (v1).
|
|
100
100
|
# code_execution_20260120: The tool can be called from the code execution
|
|
101
|
-
# environment (v2 with persistence).
|
|
101
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
102
|
+
# called from the code execution environment (v2 with persistence).
|
|
102
103
|
module AllowedCaller
|
|
103
104
|
extend Anthropic::Internal::Type::Enum
|
|
104
105
|
|
|
105
106
|
DIRECT = :direct
|
|
106
107
|
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
107
108
|
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
109
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
108
110
|
|
|
109
111
|
# @!method self.values
|
|
110
112
|
# @return [Array<Symbol>]
|
|
@@ -18,7 +18,7 @@ module Anthropic
|
|
|
18
18
|
|
|
19
19
|
# @!attribute data
|
|
20
20
|
#
|
|
21
|
-
# @return [Anthropic::Models::Beta::BetaWebhookSessionCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionPendingEventData, Anthropic::Models::Beta::BetaWebhookSessionRunningEventData, Anthropic::Models::Beta::BetaWebhookSessionIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionRequiresActionEventData, Anthropic::Models::Beta::BetaWebhookSessionArchivedEventData, Anthropic::Models::Beta::BetaWebhookSessionDeletedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRescheduledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRunStartedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionOutcomeEvaluationEndedEventData, Anthropic::Models::Beta::BetaWebhookVaultCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialRefreshFailedEventData]
|
|
21
|
+
# @return [Anthropic::Models::Beta::BetaWebhookSessionCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionPendingEventData, Anthropic::Models::Beta::BetaWebhookSessionRunningEventData, Anthropic::Models::Beta::BetaWebhookSessionIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionRequiresActionEventData, Anthropic::Models::Beta::BetaWebhookSessionArchivedEventData, Anthropic::Models::Beta::BetaWebhookSessionDeletedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRescheduledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRunStartedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionOutcomeEvaluationEndedEventData, Anthropic::Models::Beta::BetaWebhookVaultCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialRefreshFailedEventData, Anthropic::Models::Beta::BetaWebhookSessionUpdatedEventData]
|
|
22
22
|
required :data, union: -> { Anthropic::Beta::BetaWebhookEventData }
|
|
23
23
|
|
|
24
24
|
# @!attribute type
|
|
@@ -32,7 +32,7 @@ module Anthropic
|
|
|
32
32
|
#
|
|
33
33
|
# @param created_at [Time] RFC 3339 timestamp when the event occurred.
|
|
34
34
|
#
|
|
35
|
-
# @param data [Anthropic::Models::Beta::BetaWebhookSessionCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionPendingEventData, Anthropic::Models::Beta::BetaWebhookSessionRunningEventData, Anthropic::Models::Beta::BetaWebhookSessionIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionRequiresActionEventData, Anthropic::Models::Beta::BetaWebhookSessionArchivedEventData, Anthropic::Models::Beta::BetaWebhookSessionDeletedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRescheduledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRunStartedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionOutcomeEvaluationEndedEventData, Anthropic::Models::Beta::BetaWebhookVaultCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialRefreshFailedEventData]
|
|
35
|
+
# @param data [Anthropic::Models::Beta::BetaWebhookSessionCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionPendingEventData, Anthropic::Models::Beta::BetaWebhookSessionRunningEventData, Anthropic::Models::Beta::BetaWebhookSessionIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionRequiresActionEventData, Anthropic::Models::Beta::BetaWebhookSessionArchivedEventData, Anthropic::Models::Beta::BetaWebhookSessionDeletedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRescheduledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRunStartedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionOutcomeEvaluationEndedEventData, Anthropic::Models::Beta::BetaWebhookVaultCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialRefreshFailedEventData, Anthropic::Models::Beta::BetaWebhookSessionUpdatedEventData]
|
|
36
36
|
#
|
|
37
37
|
# @param type [Symbol, :event] Object type. Always `event` for webhook payloads.
|
|
38
38
|
end
|
|
@@ -55,8 +55,10 @@ module Anthropic
|
|
|
55
55
|
variant :"vault_credential.refresh_failed",
|
|
56
56
|
-> { Anthropic::Beta::BetaWebhookVaultCredentialRefreshFailedEventData }
|
|
57
57
|
|
|
58
|
+
variant :"session.updated", -> { Anthropic::Beta::BetaWebhookSessionUpdatedEventData }
|
|
59
|
+
|
|
58
60
|
# @!method self.variants
|
|
59
|
-
# @return [Array(Anthropic::Models::Beta::BetaWebhookSessionCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionPendingEventData, Anthropic::Models::Beta::BetaWebhookSessionRunningEventData, Anthropic::Models::Beta::BetaWebhookSessionIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionRequiresActionEventData, Anthropic::Models::Beta::BetaWebhookSessionArchivedEventData, Anthropic::Models::Beta::BetaWebhookSessionDeletedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRescheduledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRunStartedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionOutcomeEvaluationEndedEventData, Anthropic::Models::Beta::BetaWebhookVaultCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialRefreshFailedEventData)]
|
|
61
|
+
# @return [Array(Anthropic::Models::Beta::BetaWebhookSessionCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionPendingEventData, Anthropic::Models::Beta::BetaWebhookSessionRunningEventData, Anthropic::Models::Beta::BetaWebhookSessionIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionRequiresActionEventData, Anthropic::Models::Beta::BetaWebhookSessionArchivedEventData, Anthropic::Models::Beta::BetaWebhookSessionDeletedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRescheduledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusRunStartedEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionStatusTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadCreatedEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadIdledEventData, Anthropic::Models::Beta::BetaWebhookSessionThreadTerminatedEventData, Anthropic::Models::Beta::BetaWebhookSessionOutcomeEvaluationEndedEventData, Anthropic::Models::Beta::BetaWebhookVaultCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialCreatedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialArchivedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialDeletedEventData, Anthropic::Models::Beta::BetaWebhookVaultCredentialRefreshFailedEventData, Anthropic::Models::Beta::BetaWebhookSessionUpdatedEventData)]
|
|
60
62
|
end
|
|
61
63
|
end
|
|
62
64
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaWebhookSessionUpdatedEventData < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
# ID of the session that triggered the event.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute organization_id
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :organization_id, String
|
|
17
|
+
|
|
18
|
+
# @!attribute type
|
|
19
|
+
#
|
|
20
|
+
# @return [Symbol, :"session.updated"]
|
|
21
|
+
required :type, const: :"session.updated"
|
|
22
|
+
|
|
23
|
+
# @!attribute workspace_id
|
|
24
|
+
#
|
|
25
|
+
# @return [String]
|
|
26
|
+
required :workspace_id, String
|
|
27
|
+
|
|
28
|
+
# @!method initialize(id:, organization_id:, workspace_id:, type: :"session.updated")
|
|
29
|
+
# @param id [String] ID of the session that triggered the event.
|
|
30
|
+
#
|
|
31
|
+
# @param organization_id [String]
|
|
32
|
+
#
|
|
33
|
+
# @param workspace_id [String]
|
|
34
|
+
#
|
|
35
|
+
# @param type [Symbol, :"session.updated"]
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
BetaWebhookSessionUpdatedEventData = Beta::BetaWebhookSessionUpdatedEventData
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -243,7 +243,7 @@ module Anthropic
|
|
|
243
243
|
#
|
|
244
244
|
# See our [guide](https://docs.claude.com/en/docs/tool-use) for more details.
|
|
245
245
|
#
|
|
246
|
-
# @return [Array<Anthropic::Models::Beta::BetaTool, Anthropic::Models::Beta::BetaToolBash20241022, Anthropic::Models::Beta::BetaToolBash20250124, Anthropic::Models::Beta::BetaCodeExecutionTool20250522, Anthropic::Models::Beta::BetaCodeExecutionTool20250825, Anthropic::Models::Beta::BetaCodeExecutionTool20260120, Anthropic::Models::Beta::BetaToolComputerUse20241022, Anthropic::Models::Beta::BetaMemoryTool20250818, Anthropic::Models::Beta::BetaToolComputerUse20250124, Anthropic::Models::Beta::BetaToolTextEditor20241022, Anthropic::Models::Beta::BetaToolComputerUse20251124, Anthropic::Models::Beta::BetaToolTextEditor20250124, Anthropic::Models::Beta::BetaToolTextEditor20250429, Anthropic::Models::Beta::BetaToolTextEditor20250728, Anthropic::Models::Beta::BetaWebSearchTool20250305, Anthropic::Models::Beta::BetaWebFetchTool20250910, Anthropic::Models::Beta::BetaWebSearchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260309, Anthropic::Models::Beta::BetaAdvisorTool20260301, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119, Anthropic::Models::Beta::BetaToolSearchToolRegex20251119, Anthropic::Models::Beta::BetaMCPToolset>, nil]
|
|
246
|
+
# @return [Array<Anthropic::Models::Beta::BetaTool, Anthropic::Models::Beta::BetaToolBash20241022, Anthropic::Models::Beta::BetaToolBash20250124, Anthropic::Models::Beta::BetaCodeExecutionTool20250522, Anthropic::Models::Beta::BetaCodeExecutionTool20250825, Anthropic::Models::Beta::BetaCodeExecutionTool20260120, Anthropic::Models::Beta::BetaCodeExecutionTool20260521, Anthropic::Models::Beta::BetaToolComputerUse20241022, Anthropic::Models::Beta::BetaMemoryTool20250818, Anthropic::Models::Beta::BetaToolComputerUse20250124, Anthropic::Models::Beta::BetaToolTextEditor20241022, Anthropic::Models::Beta::BetaToolComputerUse20251124, Anthropic::Models::Beta::BetaToolTextEditor20250124, Anthropic::Models::Beta::BetaToolTextEditor20250429, Anthropic::Models::Beta::BetaToolTextEditor20250728, Anthropic::Models::Beta::BetaWebSearchTool20250305, Anthropic::Models::Beta::BetaWebFetchTool20250910, Anthropic::Models::Beta::BetaWebSearchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260309, Anthropic::Models::Beta::BetaAdvisorTool20260301, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119, Anthropic::Models::Beta::BetaToolSearchToolRegex20251119, Anthropic::Models::Beta::BetaMCPToolset>, nil]
|
|
247
247
|
optional :tools,
|
|
248
248
|
-> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::MessageCountTokensParams::Tool] }
|
|
249
249
|
|
|
@@ -279,7 +279,7 @@ module Anthropic
|
|
|
279
279
|
#
|
|
280
280
|
# @param tool_choice [Anthropic::Models::Beta::BetaToolChoiceAuto, Anthropic::Models::Beta::BetaToolChoiceAny, Anthropic::Models::Beta::BetaToolChoiceTool, Anthropic::Models::Beta::BetaToolChoiceNone] How the model should use the provided tools. The model can use a specific tool,
|
|
281
281
|
#
|
|
282
|
-
# @param tools [Array<Anthropic::Models::Beta::BetaTool, Anthropic::Models::Beta::BetaToolBash20241022, Anthropic::Models::Beta::BetaToolBash20250124, Anthropic::Models::Beta::BetaCodeExecutionTool20250522, Anthropic::Models::Beta::BetaCodeExecutionTool20250825, Anthropic::Models::Beta::BetaCodeExecutionTool20260120, Anthropic::Models::Beta::BetaToolComputerUse20241022, Anthropic::Models::Beta::BetaMemoryTool20250818, Anthropic::Models::Beta::BetaToolComputerUse20250124, Anthropic::Models::Beta::BetaToolTextEditor20241022, Anthropic::Models::Beta::BetaToolComputerUse20251124, Anthropic::Models::Beta::BetaToolTextEditor20250124, Anthropic::Models::Beta::BetaToolTextEditor20250429, Anthropic::Models::Beta::BetaToolTextEditor20250728, Anthropic::Models::Beta::BetaWebSearchTool20250305, Anthropic::Models::Beta::BetaWebFetchTool20250910, Anthropic::Models::Beta::BetaWebSearchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260309, Anthropic::Models::Beta::BetaAdvisorTool20260301, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119, Anthropic::Models::Beta::BetaToolSearchToolRegex20251119, Anthropic::Models::Beta::BetaMCPToolset>] Definitions of tools that the model may use.
|
|
282
|
+
# @param tools [Array<Anthropic::Models::Beta::BetaTool, Anthropic::Models::Beta::BetaToolBash20241022, Anthropic::Models::Beta::BetaToolBash20250124, Anthropic::Models::Beta::BetaCodeExecutionTool20250522, Anthropic::Models::Beta::BetaCodeExecutionTool20250825, Anthropic::Models::Beta::BetaCodeExecutionTool20260120, Anthropic::Models::Beta::BetaCodeExecutionTool20260521, Anthropic::Models::Beta::BetaToolComputerUse20241022, Anthropic::Models::Beta::BetaMemoryTool20250818, Anthropic::Models::Beta::BetaToolComputerUse20250124, Anthropic::Models::Beta::BetaToolTextEditor20241022, Anthropic::Models::Beta::BetaToolComputerUse20251124, Anthropic::Models::Beta::BetaToolTextEditor20250124, Anthropic::Models::Beta::BetaToolTextEditor20250429, Anthropic::Models::Beta::BetaToolTextEditor20250728, Anthropic::Models::Beta::BetaWebSearchTool20250305, Anthropic::Models::Beta::BetaWebFetchTool20250910, Anthropic::Models::Beta::BetaWebSearchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260309, Anthropic::Models::Beta::BetaAdvisorTool20260301, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119, Anthropic::Models::Beta::BetaToolSearchToolRegex20251119, Anthropic::Models::Beta::BetaMCPToolset>] Definitions of tools that the model may use.
|
|
283
283
|
#
|
|
284
284
|
# @param betas [Array<String, Symbol, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
285
285
|
#
|
|
@@ -336,6 +336,9 @@ module Anthropic
|
|
|
336
336
|
# Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
|
|
337
337
|
variant -> { Anthropic::Beta::BetaCodeExecutionTool20260120 }
|
|
338
338
|
|
|
339
|
+
# Code execution tool with REPL state persistence.
|
|
340
|
+
variant -> { Anthropic::Beta::BetaCodeExecutionTool20260521 }
|
|
341
|
+
|
|
339
342
|
variant -> { Anthropic::Beta::BetaToolComputerUse20241022 }
|
|
340
343
|
|
|
341
344
|
variant -> { Anthropic::Beta::BetaMemoryTool20250818 }
|
|
@@ -376,7 +379,7 @@ module Anthropic
|
|
|
376
379
|
variant -> { Anthropic::Beta::BetaMCPToolset }
|
|
377
380
|
|
|
378
381
|
# @!method self.variants
|
|
379
|
-
# @return [Array(Anthropic::Models::Beta::BetaTool, Anthropic::Models::Beta::BetaToolBash20241022, Anthropic::Models::Beta::BetaToolBash20250124, Anthropic::Models::Beta::BetaCodeExecutionTool20250522, Anthropic::Models::Beta::BetaCodeExecutionTool20250825, Anthropic::Models::Beta::BetaCodeExecutionTool20260120, Anthropic::Models::Beta::BetaToolComputerUse20241022, Anthropic::Models::Beta::BetaMemoryTool20250818, Anthropic::Models::Beta::BetaToolComputerUse20250124, Anthropic::Models::Beta::BetaToolTextEditor20241022, Anthropic::Models::Beta::BetaToolComputerUse20251124, Anthropic::Models::Beta::BetaToolTextEditor20250124, Anthropic::Models::Beta::BetaToolTextEditor20250429, Anthropic::Models::Beta::BetaToolTextEditor20250728, Anthropic::Models::Beta::BetaWebSearchTool20250305, Anthropic::Models::Beta::BetaWebFetchTool20250910, Anthropic::Models::Beta::BetaWebSearchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260309, Anthropic::Models::Beta::BetaAdvisorTool20260301, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119, Anthropic::Models::Beta::BetaToolSearchToolRegex20251119, Anthropic::Models::Beta::BetaMCPToolset)]
|
|
382
|
+
# @return [Array(Anthropic::Models::Beta::BetaTool, Anthropic::Models::Beta::BetaToolBash20241022, Anthropic::Models::Beta::BetaToolBash20250124, Anthropic::Models::Beta::BetaCodeExecutionTool20250522, Anthropic::Models::Beta::BetaCodeExecutionTool20250825, Anthropic::Models::Beta::BetaCodeExecutionTool20260120, Anthropic::Models::Beta::BetaCodeExecutionTool20260521, Anthropic::Models::Beta::BetaToolComputerUse20241022, Anthropic::Models::Beta::BetaMemoryTool20250818, Anthropic::Models::Beta::BetaToolComputerUse20250124, Anthropic::Models::Beta::BetaToolTextEditor20241022, Anthropic::Models::Beta::BetaToolComputerUse20251124, Anthropic::Models::Beta::BetaToolTextEditor20250124, Anthropic::Models::Beta::BetaToolTextEditor20250429, Anthropic::Models::Beta::BetaToolTextEditor20250728, Anthropic::Models::Beta::BetaWebSearchTool20250305, Anthropic::Models::Beta::BetaWebFetchTool20250910, Anthropic::Models::Beta::BetaWebSearchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260209, Anthropic::Models::Beta::BetaWebFetchTool20260309, Anthropic::Models::Beta::BetaAdvisorTool20260301, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119, Anthropic::Models::Beta::BetaToolSearchToolRegex20251119, Anthropic::Models::Beta::BetaMCPToolset)]
|
|
380
383
|
end
|
|
381
384
|
end
|
|
382
385
|
end
|