anthropic 1.15.2 → 1.16.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.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/README.md +10 -10
  4. data/lib/anthropic/helpers/tools/compaction_control.rb +105 -0
  5. data/lib/anthropic/helpers/tools/runner.rb +126 -13
  6. data/lib/anthropic/models/anthropic_beta.rb +3 -0
  7. data/lib/anthropic/models/beta/beta_code_execution_tool_20250522.rb +28 -1
  8. data/lib/anthropic/models/beta/beta_code_execution_tool_20250825.rb +28 -1
  9. data/lib/anthropic/models/beta/beta_content_block.rb +3 -1
  10. data/lib/anthropic/models/beta/beta_content_block_param.rb +3 -1
  11. data/lib/anthropic/models/beta/beta_direct_caller.rb +21 -0
  12. data/lib/anthropic/models/beta/beta_mcp_tool_config.rb +27 -0
  13. data/lib/anthropic/models/beta/beta_mcp_tool_default_config.rb +27 -0
  14. data/lib/anthropic/models/beta/beta_mcp_toolset.rb +58 -0
  15. data/lib/anthropic/models/beta/beta_memory_tool_20250818.rb +36 -1
  16. data/lib/anthropic/models/beta/beta_message.rb +2 -2
  17. data/lib/anthropic/models/beta/beta_message_param.rb +3 -3
  18. data/lib/anthropic/models/beta/beta_output_config.rb +34 -0
  19. data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +5 -3
  20. data/lib/anthropic/models/beta/beta_server_tool_caller.rb +27 -0
  21. data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +32 -1
  22. data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +33 -1
  23. data/lib/anthropic/models/beta/beta_tool.rb +36 -1
  24. data/lib/anthropic/models/beta/beta_tool_bash_20241022.rb +36 -1
  25. data/lib/anthropic/models/beta/beta_tool_bash_20250124.rb +36 -1
  26. data/lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb +36 -1
  27. data/lib/anthropic/models/beta/beta_tool_computer_use_20250124.rb +36 -1
  28. data/lib/anthropic/models/beta/beta_tool_computer_use_20251124.rb +114 -0
  29. data/lib/anthropic/models/beta/beta_tool_reference_block.rb +25 -0
  30. data/lib/anthropic/models/beta/beta_tool_reference_block_param.rb +36 -0
  31. data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +8 -4
  32. data/lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb +85 -0
  33. data/lib/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rb +85 -0
  34. data/lib/anthropic/models/beta/beta_tool_search_tool_result_block.rb +43 -0
  35. data/lib/anthropic/models/beta/beta_tool_search_tool_result_block_param.rb +53 -0
  36. data/lib/anthropic/models/beta/beta_tool_search_tool_result_error.rb +44 -0
  37. data/lib/anthropic/models/beta/beta_tool_search_tool_result_error_param.rb +38 -0
  38. data/lib/anthropic/models/beta/beta_tool_search_tool_search_result_block.rb +26 -0
  39. data/lib/anthropic/models/beta/beta_tool_search_tool_search_result_block_param.rb +26 -0
  40. data/lib/anthropic/models/beta/beta_tool_text_editor_20241022.rb +36 -1
  41. data/lib/anthropic/models/beta/beta_tool_text_editor_20250124.rb +36 -1
  42. data/lib/anthropic/models/beta/beta_tool_text_editor_20250429.rb +36 -1
  43. data/lib/anthropic/models/beta/beta_tool_text_editor_20250728.rb +36 -1
  44. data/lib/anthropic/models/beta/beta_tool_union.rb +17 -1
  45. data/lib/anthropic/models/beta/beta_tool_use_block.rb +30 -1
  46. data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +27 -1
  47. data/lib/anthropic/models/beta/beta_web_fetch_tool_20250910.rb +28 -1
  48. data/lib/anthropic/models/beta/beta_web_search_tool_20250305.rb +28 -1
  49. data/lib/anthropic/models/beta/message_count_tokens_params.rb +29 -4
  50. data/lib/anthropic/models/beta/message_create_params.rb +12 -3
  51. data/lib/anthropic/models/beta/messages/batch_create_params.rb +16 -7
  52. data/lib/anthropic/models/messages/batch_create_params.rb +4 -4
  53. data/lib/anthropic/models/model.rb +10 -0
  54. data/lib/anthropic/resources/beta/messages.rb +26 -11
  55. data/lib/anthropic/resources/messages.rb +8 -2
  56. data/lib/anthropic/version.rb +1 -1
  57. data/lib/anthropic.rb +19 -0
  58. data/manifest.yaml +1 -0
  59. data/rbi/anthropic/models/anthropic_beta.rbi +2 -0
  60. data/rbi/anthropic/models/beta/beta_code_execution_tool_20250522.rbi +77 -0
  61. data/rbi/anthropic/models/beta/beta_code_execution_tool_20250825.rbi +77 -0
  62. data/rbi/anthropic/models/beta/beta_content_block.rbi +1 -0
  63. data/rbi/anthropic/models/beta/beta_content_block_param.rbi +1 -0
  64. data/rbi/anthropic/models/beta/beta_direct_caller.rbi +31 -0
  65. data/rbi/anthropic/models/beta/beta_mcp_tool_config.rbi +46 -0
  66. data/rbi/anthropic/models/beta/beta_mcp_tool_default_config.rbi +46 -0
  67. data/rbi/anthropic/models/beta/beta_mcp_toolset.rbi +100 -0
  68. data/rbi/anthropic/models/beta/beta_memory_tool_20250818.rbi +88 -0
  69. data/rbi/anthropic/models/beta/beta_message.rbi +1 -0
  70. data/rbi/anthropic/models/beta/beta_output_config.rbi +82 -0
  71. data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +2 -0
  72. data/rbi/anthropic/models/beta/beta_server_tool_caller.rbi +34 -0
  73. data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +54 -1
  74. data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +70 -1
  75. data/rbi/anthropic/models/beta/beta_tool.rbi +75 -0
  76. data/rbi/anthropic/models/beta/beta_tool_bash_20241022.rbi +88 -0
  77. data/rbi/anthropic/models/beta/beta_tool_bash_20250124.rbi +88 -0
  78. data/rbi/anthropic/models/beta/beta_tool_computer_use_20241022.rbi +88 -0
  79. data/rbi/anthropic/models/beta/beta_tool_computer_use_20250124.rbi +88 -0
  80. data/rbi/anthropic/models/beta/beta_tool_computer_use_20251124.rbi +204 -0
  81. data/rbi/anthropic/models/beta/beta_tool_reference_block.rbi +35 -0
  82. data/rbi/anthropic/models/beta/beta_tool_reference_block_param.rbi +67 -0
  83. data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +3 -1
  84. data/rbi/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rbi +198 -0
  85. data/rbi/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rbi +198 -0
  86. data/rbi/anthropic/models/beta/beta_tool_search_tool_result_block.rbi +81 -0
  87. data/rbi/anthropic/models/beta/beta_tool_search_tool_result_block_param.rbi +110 -0
  88. data/rbi/anthropic/models/beta/beta_tool_search_tool_result_error.rbi +104 -0
  89. data/rbi/anthropic/models/beta/beta_tool_search_tool_result_error_param.rbi +96 -0
  90. data/rbi/anthropic/models/beta/beta_tool_search_tool_search_result_block.rbi +48 -0
  91. data/rbi/anthropic/models/beta/beta_tool_search_tool_search_result_block_param.rbi +48 -0
  92. data/rbi/anthropic/models/beta/beta_tool_text_editor_20241022.rbi +88 -0
  93. data/rbi/anthropic/models/beta/beta_tool_text_editor_20250124.rbi +88 -0
  94. data/rbi/anthropic/models/beta/beta_tool_text_editor_20250429.rbi +88 -0
  95. data/rbi/anthropic/models/beta/beta_tool_text_editor_20250728.rbi +88 -0
  96. data/rbi/anthropic/models/beta/beta_tool_union.rbi +9 -1
  97. data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +55 -2
  98. data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +58 -1
  99. data/rbi/anthropic/models/beta/beta_web_fetch_tool_20250910.rbi +77 -0
  100. data/rbi/anthropic/models/beta/beta_web_search_tool_20250305.rbi +77 -0
  101. data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +44 -5
  102. data/rbi/anthropic/models/beta/message_create_params.rbi +35 -4
  103. data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +43 -10
  104. data/rbi/anthropic/models/messages/batch_create_params.rbi +6 -6
  105. data/rbi/anthropic/models/model.rbi +8 -0
  106. data/rbi/anthropic/resources/beta/messages.rbi +29 -3
  107. data/sig/anthropic/models/anthropic_beta.rbs +2 -0
  108. data/sig/anthropic/models/beta/beta_code_execution_tool_20250522.rbs +27 -0
  109. data/sig/anthropic/models/beta/beta_code_execution_tool_20250825.rbs +27 -0
  110. data/sig/anthropic/models/beta/beta_content_block.rbs +1 -0
  111. data/sig/anthropic/models/beta/beta_content_block_param.rbs +1 -0
  112. data/sig/anthropic/models/beta/beta_direct_caller.rbs +17 -0
  113. data/sig/anthropic/models/beta/beta_mcp_tool_config.rbs +23 -0
  114. data/sig/anthropic/models/beta/beta_mcp_tool_default_config.rbs +23 -0
  115. data/sig/anthropic/models/beta/beta_mcp_toolset.rbs +48 -0
  116. data/sig/anthropic/models/beta/beta_memory_tool_20250818.rbs +36 -0
  117. data/sig/anthropic/models/beta/beta_output_config.rbs +34 -0
  118. data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +1 -0
  119. data/sig/anthropic/models/beta/beta_server_tool_caller.rbs +23 -0
  120. data/sig/anthropic/models/beta/beta_server_tool_use_block.rbs +19 -0
  121. data/sig/anthropic/models/beta/beta_server_tool_use_block_param.rbs +25 -2
  122. data/sig/anthropic/models/beta/beta_tool.rbs +36 -0
  123. data/sig/anthropic/models/beta/beta_tool_bash_20241022.rbs +36 -0
  124. data/sig/anthropic/models/beta/beta_tool_bash_20250124.rbs +36 -0
  125. data/sig/anthropic/models/beta/beta_tool_computer_use_20241022.rbs +36 -0
  126. data/sig/anthropic/models/beta/beta_tool_computer_use_20250124.rbs +36 -0
  127. data/sig/anthropic/models/beta/beta_tool_computer_use_20251124.rbs +99 -0
  128. data/sig/anthropic/models/beta/beta_tool_reference_block.rbs +20 -0
  129. data/sig/anthropic/models/beta/beta_tool_reference_block_param.rbs +34 -0
  130. data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +1 -0
  131. data/sig/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rbs +79 -0
  132. data/sig/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rbs +79 -0
  133. data/sig/anthropic/models/beta/beta_tool_search_tool_result_block.rbs +44 -0
  134. data/sig/anthropic/models/beta/beta_tool_search_tool_result_block_param.rbs +49 -0
  135. data/sig/anthropic/models/beta/beta_tool_search_tool_result_error.rbs +51 -0
  136. data/sig/anthropic/models/beta/beta_tool_search_tool_result_error_param.rbs +46 -0
  137. data/sig/anthropic/models/beta/beta_tool_search_tool_search_result_block.rbs +29 -0
  138. data/sig/anthropic/models/beta/beta_tool_search_tool_search_result_block_param.rbs +29 -0
  139. data/sig/anthropic/models/beta/beta_tool_text_editor_20241022.rbs +36 -0
  140. data/sig/anthropic/models/beta/beta_tool_text_editor_20250124.rbs +36 -0
  141. data/sig/anthropic/models/beta/beta_tool_text_editor_20250429.rbs +36 -0
  142. data/sig/anthropic/models/beta/beta_tool_text_editor_20250728.rbs +36 -0
  143. data/sig/anthropic/models/beta/beta_tool_union.rbs +4 -0
  144. data/sig/anthropic/models/beta/beta_tool_use_block.rbs +21 -2
  145. data/sig/anthropic/models/beta/beta_tool_use_block_param.rbs +21 -2
  146. data/sig/anthropic/models/beta/beta_web_fetch_tool_20250910.rbs +27 -0
  147. data/sig/anthropic/models/beta/beta_web_search_tool_20250305.rbs +27 -0
  148. data/sig/anthropic/models/beta/message_count_tokens_params.rbs +13 -0
  149. data/sig/anthropic/models/beta/message_create_params.rbs +9 -0
  150. data/sig/anthropic/models/beta/messages/batch_create_params.rbs +9 -0
  151. data/sig/anthropic/models/model.rbs +9 -1
  152. data/sig/anthropic/resources/beta/messages.rbs +3 -0
  153. metadata +54 -2
@@ -10,6 +10,7 @@ module Anthropic
10
10
  context_management: Anthropic::Beta::BetaContextManagementConfig?,
11
11
  mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
12
12
  metadata: Anthropic::Beta::BetaMetadata,
13
+ output_config: Anthropic::Beta::BetaOutputConfig,
13
14
  output_format: Anthropic::Beta::BetaJSONOutputFormat?,
14
15
  service_tier: Anthropic::Models::Beta::MessageCreateParams::service_tier,
15
16
  stop_sequences: ::Array[String],
@@ -50,6 +51,12 @@ module Anthropic
50
51
  Anthropic::Beta::BetaMetadata
51
52
  ) -> Anthropic::Beta::BetaMetadata
52
53
 
54
+ attr_reader output_config: Anthropic::Beta::BetaOutputConfig?
55
+
56
+ def output_config=: (
57
+ Anthropic::Beta::BetaOutputConfig
58
+ ) -> Anthropic::Beta::BetaOutputConfig
59
+
53
60
  attr_accessor output_format: Anthropic::Beta::BetaJSONOutputFormat?
54
61
 
55
62
  attr_reader service_tier: Anthropic::Models::Beta::MessageCreateParams::service_tier?
@@ -112,6 +119,7 @@ module Anthropic
112
119
  ?context_management: Anthropic::Beta::BetaContextManagementConfig?,
113
120
  ?mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
114
121
  ?metadata: Anthropic::Beta::BetaMetadata,
122
+ ?output_config: Anthropic::Beta::BetaOutputConfig,
115
123
  ?output_format: Anthropic::Beta::BetaJSONOutputFormat?,
116
124
  ?service_tier: Anthropic::Models::Beta::MessageCreateParams::service_tier,
117
125
  ?stop_sequences: ::Array[String],
@@ -134,6 +142,7 @@ module Anthropic
134
142
  context_management: Anthropic::Beta::BetaContextManagementConfig?,
135
143
  mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
136
144
  metadata: Anthropic::Beta::BetaMetadata,
145
+ output_config: Anthropic::Beta::BetaOutputConfig,
137
146
  output_format: Anthropic::Beta::BetaJSONOutputFormat?,
138
147
  service_tier: Anthropic::Models::Beta::MessageCreateParams::service_tier,
139
148
  stop_sequences: ::Array[String],
@@ -63,6 +63,7 @@ module Anthropic
63
63
  context_management: Anthropic::Beta::BetaContextManagementConfig?,
64
64
  mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
65
65
  metadata: Anthropic::Beta::BetaMetadata,
66
+ output_config: Anthropic::Beta::BetaOutputConfig,
66
67
  output_format: Anthropic::Beta::BetaJSONOutputFormat?,
67
68
  service_tier: Anthropic::Models::Beta::Messages::BatchCreateParams::Request::Params::service_tier,
68
69
  stop_sequences: ::Array[String],
@@ -99,6 +100,12 @@ module Anthropic
99
100
  Anthropic::Beta::BetaMetadata
100
101
  ) -> Anthropic::Beta::BetaMetadata
101
102
 
103
+ attr_reader output_config: Anthropic::Beta::BetaOutputConfig?
104
+
105
+ def output_config=: (
106
+ Anthropic::Beta::BetaOutputConfig
107
+ ) -> Anthropic::Beta::BetaOutputConfig
108
+
102
109
  attr_accessor output_format: Anthropic::Beta::BetaJSONOutputFormat?
103
110
 
104
111
  attr_reader service_tier: Anthropic::Models::Beta::Messages::BatchCreateParams::Request::Params::service_tier?
@@ -159,6 +166,7 @@ module Anthropic
159
166
  ?context_management: Anthropic::Beta::BetaContextManagementConfig?,
160
167
  ?mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
161
168
  ?metadata: Anthropic::Beta::BetaMetadata,
169
+ ?output_config: Anthropic::Beta::BetaOutputConfig,
162
170
  ?output_format: Anthropic::Beta::BetaJSONOutputFormat?,
163
171
  ?service_tier: Anthropic::Models::Beta::Messages::BatchCreateParams::Request::Params::service_tier,
164
172
  ?stop_sequences: ::Array[String],
@@ -180,6 +188,7 @@ module Anthropic
180
188
  context_management: Anthropic::Beta::BetaContextManagementConfig?,
181
189
  mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
182
190
  metadata: Anthropic::Beta::BetaMetadata,
191
+ output_config: Anthropic::Beta::BetaOutputConfig,
183
192
  output_format: Anthropic::Beta::BetaJSONOutputFormat?,
184
193
  service_tier: Anthropic::Models::Beta::Messages::BatchCreateParams::Request::Params::service_tier,
185
194
  stop_sequences: ::Array[String],
@@ -1,7 +1,9 @@
1
1
  module Anthropic
2
2
  module Models
3
3
  type model =
4
- :"claude-3-7-sonnet-latest"
4
+ :"claude-opus-4-5-20251101"
5
+ | :"claude-opus-4-5"
6
+ | :"claude-3-7-sonnet-latest"
5
7
  | :"claude-3-7-sonnet-20250219"
6
8
  | :"claude-3-5-haiku-latest"
7
9
  | :"claude-3-5-haiku-20241022"
@@ -26,6 +28,12 @@ module Anthropic
26
28
 
27
29
  def self?.variants: -> ::Array[Anthropic::Models::model]
28
30
 
31
+ # Premium model combining maximum intelligence with practical performance
32
+ CLAUDE_OPUS_4_5_20251101: :"claude-opus-4-5-20251101"
33
+
34
+ # Premium model combining maximum intelligence with practical performance
35
+ CLAUDE_OPUS_4_5: :"claude-opus-4-5"
36
+
29
37
  # High-performance model with early extended thinking
30
38
  CLAUDE_3_7_SONNET_LATEST: :"claude-3-7-sonnet-latest"
31
39
 
@@ -12,6 +12,7 @@ module Anthropic
12
12
  ?context_management: Anthropic::Beta::BetaContextManagementConfig?,
13
13
  ?mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
14
14
  ?metadata: Anthropic::Beta::BetaMetadata,
15
+ ?output_config: Anthropic::Beta::BetaOutputConfig,
15
16
  ?output_format: Anthropic::Beta::BetaJSONOutputFormat?,
16
17
  ?service_tier: Anthropic::Models::Beta::MessageCreateParams::service_tier,
17
18
  ?stop_sequences: ::Array[String],
@@ -34,6 +35,7 @@ module Anthropic
34
35
  ?context_management: Anthropic::Beta::BetaContextManagementConfig?,
35
36
  ?mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
36
37
  ?metadata: Anthropic::Beta::BetaMetadata,
38
+ ?output_config: Anthropic::Beta::BetaOutputConfig,
37
39
  ?output_format: Anthropic::Beta::BetaJSONOutputFormat?,
38
40
  ?service_tier: Anthropic::Models::Beta::MessageCreateParams::service_tier,
39
41
  ?stop_sequences: ::Array[String],
@@ -53,6 +55,7 @@ module Anthropic
53
55
  model: Anthropic::Models::model,
54
56
  ?context_management: Anthropic::Beta::BetaContextManagementConfig?,
55
57
  ?mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
58
+ ?output_config: Anthropic::Beta::BetaOutputConfig,
56
59
  ?output_format: Anthropic::Beta::BetaJSONOutputFormat?,
57
60
  ?system_: Anthropic::Models::Beta::MessageCountTokensParams::system_,
58
61
  ?thinking: Anthropic::Models::Beta::beta_thinking_config_param,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anthropic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.2
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthropic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-19 00:00:00.000000000 Z
11
+ date: 2025-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -56,6 +56,7 @@ files:
56
56
  - lib/anthropic/helpers/streaming/message_stream.rb
57
57
  - lib/anthropic/helpers/tools.rb
58
58
  - lib/anthropic/helpers/tools/base_tool.rb
59
+ - lib/anthropic/helpers/tools/compaction_control.rb
59
60
  - lib/anthropic/helpers/tools/runner.rb
60
61
  - lib/anthropic/helpers/vertex/client.rb
61
62
  - lib/anthropic/input_schema.rb
@@ -141,6 +142,7 @@ files:
141
142
  - lib/anthropic/models/beta/beta_context_management_config.rb
142
143
  - lib/anthropic/models/beta/beta_context_management_response.rb
143
144
  - lib/anthropic/models/beta/beta_count_tokens_context_management_response.rb
145
+ - lib/anthropic/models/beta/beta_direct_caller.rb
144
146
  - lib/anthropic/models/beta/beta_document_block.rb
145
147
  - lib/anthropic/models/beta/beta_file_document_source.rb
146
148
  - lib/anthropic/models/beta/beta_file_image_source.rb
@@ -149,9 +151,12 @@ files:
149
151
  - lib/anthropic/models/beta/beta_input_tokens_clear_at_least.rb
150
152
  - lib/anthropic/models/beta/beta_input_tokens_trigger.rb
151
153
  - lib/anthropic/models/beta/beta_json_output_format.rb
154
+ - lib/anthropic/models/beta/beta_mcp_tool_config.rb
155
+ - lib/anthropic/models/beta/beta_mcp_tool_default_config.rb
152
156
  - lib/anthropic/models/beta/beta_mcp_tool_result_block.rb
153
157
  - lib/anthropic/models/beta/beta_mcp_tool_use_block.rb
154
158
  - lib/anthropic/models/beta/beta_mcp_tool_use_block_param.rb
159
+ - lib/anthropic/models/beta/beta_mcp_toolset.rb
155
160
  - lib/anthropic/models/beta/beta_memory_tool_20250818.rb
156
161
  - lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb
157
162
  - lib/anthropic/models/beta/beta_memory_tool_20250818_create_command.rb
@@ -166,6 +171,7 @@ files:
166
171
  - lib/anthropic/models/beta/beta_message_tokens_count.rb
167
172
  - lib/anthropic/models/beta/beta_metadata.rb
168
173
  - lib/anthropic/models/beta/beta_model_info.rb
174
+ - lib/anthropic/models/beta/beta_output_config.rb
169
175
  - lib/anthropic/models/beta/beta_plain_text_source.rb
170
176
  - lib/anthropic/models/beta/beta_raw_content_block_delta.rb
171
177
  - lib/anthropic/models/beta/beta_raw_content_block_delta_event.rb
@@ -182,6 +188,7 @@ files:
182
188
  - lib/anthropic/models/beta/beta_request_mcp_server_url_definition.rb
183
189
  - lib/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rb
184
190
  - lib/anthropic/models/beta/beta_search_result_block_param.rb
191
+ - lib/anthropic/models/beta/beta_server_tool_caller.rb
185
192
  - lib/anthropic/models/beta/beta_server_tool_usage.rb
186
193
  - lib/anthropic/models/beta/beta_server_tool_use_block.rb
187
194
  - lib/anthropic/models/beta/beta_server_tool_use_block_param.rb
@@ -221,7 +228,18 @@ files:
221
228
  - lib/anthropic/models/beta/beta_tool_choice_tool.rb
222
229
  - lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb
223
230
  - lib/anthropic/models/beta/beta_tool_computer_use_20250124.rb
231
+ - lib/anthropic/models/beta/beta_tool_computer_use_20251124.rb
232
+ - lib/anthropic/models/beta/beta_tool_reference_block.rb
233
+ - lib/anthropic/models/beta/beta_tool_reference_block_param.rb
224
234
  - lib/anthropic/models/beta/beta_tool_result_block_param.rb
235
+ - lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb
236
+ - lib/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rb
237
+ - lib/anthropic/models/beta/beta_tool_search_tool_result_block.rb
238
+ - lib/anthropic/models/beta/beta_tool_search_tool_result_block_param.rb
239
+ - lib/anthropic/models/beta/beta_tool_search_tool_result_error.rb
240
+ - lib/anthropic/models/beta/beta_tool_search_tool_result_error_param.rb
241
+ - lib/anthropic/models/beta/beta_tool_search_tool_search_result_block.rb
242
+ - lib/anthropic/models/beta/beta_tool_search_tool_search_result_block_param.rb
225
243
  - lib/anthropic/models/beta/beta_tool_text_editor_20241022.rb
226
244
  - lib/anthropic/models/beta/beta_tool_text_editor_20250124.rb
227
245
  - lib/anthropic/models/beta/beta_tool_text_editor_20250429.rb
@@ -535,6 +553,7 @@ files:
535
553
  - rbi/anthropic/models/beta/beta_context_management_config.rbi
536
554
  - rbi/anthropic/models/beta/beta_context_management_response.rbi
537
555
  - rbi/anthropic/models/beta/beta_count_tokens_context_management_response.rbi
556
+ - rbi/anthropic/models/beta/beta_direct_caller.rbi
538
557
  - rbi/anthropic/models/beta/beta_document_block.rbi
539
558
  - rbi/anthropic/models/beta/beta_file_document_source.rbi
540
559
  - rbi/anthropic/models/beta/beta_file_image_source.rbi
@@ -543,9 +562,12 @@ files:
543
562
  - rbi/anthropic/models/beta/beta_input_tokens_clear_at_least.rbi
544
563
  - rbi/anthropic/models/beta/beta_input_tokens_trigger.rbi
545
564
  - rbi/anthropic/models/beta/beta_json_output_format.rbi
565
+ - rbi/anthropic/models/beta/beta_mcp_tool_config.rbi
566
+ - rbi/anthropic/models/beta/beta_mcp_tool_default_config.rbi
546
567
  - rbi/anthropic/models/beta/beta_mcp_tool_result_block.rbi
547
568
  - rbi/anthropic/models/beta/beta_mcp_tool_use_block.rbi
548
569
  - rbi/anthropic/models/beta/beta_mcp_tool_use_block_param.rbi
570
+ - rbi/anthropic/models/beta/beta_mcp_toolset.rbi
549
571
  - rbi/anthropic/models/beta/beta_memory_tool_20250818.rbi
550
572
  - rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi
551
573
  - rbi/anthropic/models/beta/beta_memory_tool_20250818_create_command.rbi
@@ -560,6 +582,7 @@ files:
560
582
  - rbi/anthropic/models/beta/beta_message_tokens_count.rbi
561
583
  - rbi/anthropic/models/beta/beta_metadata.rbi
562
584
  - rbi/anthropic/models/beta/beta_model_info.rbi
585
+ - rbi/anthropic/models/beta/beta_output_config.rbi
563
586
  - rbi/anthropic/models/beta/beta_plain_text_source.rbi
564
587
  - rbi/anthropic/models/beta/beta_raw_content_block_delta.rbi
565
588
  - rbi/anthropic/models/beta/beta_raw_content_block_delta_event.rbi
@@ -576,6 +599,7 @@ files:
576
599
  - rbi/anthropic/models/beta/beta_request_mcp_server_url_definition.rbi
577
600
  - rbi/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rbi
578
601
  - rbi/anthropic/models/beta/beta_search_result_block_param.rbi
602
+ - rbi/anthropic/models/beta/beta_server_tool_caller.rbi
579
603
  - rbi/anthropic/models/beta/beta_server_tool_usage.rbi
580
604
  - rbi/anthropic/models/beta/beta_server_tool_use_block.rbi
581
605
  - rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi
@@ -615,7 +639,18 @@ files:
615
639
  - rbi/anthropic/models/beta/beta_tool_choice_tool.rbi
616
640
  - rbi/anthropic/models/beta/beta_tool_computer_use_20241022.rbi
617
641
  - rbi/anthropic/models/beta/beta_tool_computer_use_20250124.rbi
642
+ - rbi/anthropic/models/beta/beta_tool_computer_use_20251124.rbi
643
+ - rbi/anthropic/models/beta/beta_tool_reference_block.rbi
644
+ - rbi/anthropic/models/beta/beta_tool_reference_block_param.rbi
618
645
  - rbi/anthropic/models/beta/beta_tool_result_block_param.rbi
646
+ - rbi/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rbi
647
+ - rbi/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rbi
648
+ - rbi/anthropic/models/beta/beta_tool_search_tool_result_block.rbi
649
+ - rbi/anthropic/models/beta/beta_tool_search_tool_result_block_param.rbi
650
+ - rbi/anthropic/models/beta/beta_tool_search_tool_result_error.rbi
651
+ - rbi/anthropic/models/beta/beta_tool_search_tool_result_error_param.rbi
652
+ - rbi/anthropic/models/beta/beta_tool_search_tool_search_result_block.rbi
653
+ - rbi/anthropic/models/beta/beta_tool_search_tool_search_result_block_param.rbi
619
654
  - rbi/anthropic/models/beta/beta_tool_text_editor_20241022.rbi
620
655
  - rbi/anthropic/models/beta/beta_tool_text_editor_20250124.rbi
621
656
  - rbi/anthropic/models/beta/beta_tool_text_editor_20250429.rbi
@@ -917,6 +952,7 @@ files:
917
952
  - sig/anthropic/models/beta/beta_context_management_config.rbs
918
953
  - sig/anthropic/models/beta/beta_context_management_response.rbs
919
954
  - sig/anthropic/models/beta/beta_count_tokens_context_management_response.rbs
955
+ - sig/anthropic/models/beta/beta_direct_caller.rbs
920
956
  - sig/anthropic/models/beta/beta_document_block.rbs
921
957
  - sig/anthropic/models/beta/beta_file_document_source.rbs
922
958
  - sig/anthropic/models/beta/beta_file_image_source.rbs
@@ -925,9 +961,12 @@ files:
925
961
  - sig/anthropic/models/beta/beta_input_tokens_clear_at_least.rbs
926
962
  - sig/anthropic/models/beta/beta_input_tokens_trigger.rbs
927
963
  - sig/anthropic/models/beta/beta_json_output_format.rbs
964
+ - sig/anthropic/models/beta/beta_mcp_tool_config.rbs
965
+ - sig/anthropic/models/beta/beta_mcp_tool_default_config.rbs
928
966
  - sig/anthropic/models/beta/beta_mcp_tool_result_block.rbs
929
967
  - sig/anthropic/models/beta/beta_mcp_tool_use_block.rbs
930
968
  - sig/anthropic/models/beta/beta_mcp_tool_use_block_param.rbs
969
+ - sig/anthropic/models/beta/beta_mcp_toolset.rbs
931
970
  - sig/anthropic/models/beta/beta_memory_tool_20250818.rbs
932
971
  - sig/anthropic/models/beta/beta_memory_tool_20250818_command.rbs
933
972
  - sig/anthropic/models/beta/beta_memory_tool_20250818_create_command.rbs
@@ -942,6 +981,7 @@ files:
942
981
  - sig/anthropic/models/beta/beta_message_tokens_count.rbs
943
982
  - sig/anthropic/models/beta/beta_metadata.rbs
944
983
  - sig/anthropic/models/beta/beta_model_info.rbs
984
+ - sig/anthropic/models/beta/beta_output_config.rbs
945
985
  - sig/anthropic/models/beta/beta_plain_text_source.rbs
946
986
  - sig/anthropic/models/beta/beta_raw_content_block_delta.rbs
947
987
  - sig/anthropic/models/beta/beta_raw_content_block_delta_event.rbs
@@ -958,6 +998,7 @@ files:
958
998
  - sig/anthropic/models/beta/beta_request_mcp_server_url_definition.rbs
959
999
  - sig/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rbs
960
1000
  - sig/anthropic/models/beta/beta_search_result_block_param.rbs
1001
+ - sig/anthropic/models/beta/beta_server_tool_caller.rbs
961
1002
  - sig/anthropic/models/beta/beta_server_tool_usage.rbs
962
1003
  - sig/anthropic/models/beta/beta_server_tool_use_block.rbs
963
1004
  - sig/anthropic/models/beta/beta_server_tool_use_block_param.rbs
@@ -997,7 +1038,18 @@ files:
997
1038
  - sig/anthropic/models/beta/beta_tool_choice_tool.rbs
998
1039
  - sig/anthropic/models/beta/beta_tool_computer_use_20241022.rbs
999
1040
  - sig/anthropic/models/beta/beta_tool_computer_use_20250124.rbs
1041
+ - sig/anthropic/models/beta/beta_tool_computer_use_20251124.rbs
1042
+ - sig/anthropic/models/beta/beta_tool_reference_block.rbs
1043
+ - sig/anthropic/models/beta/beta_tool_reference_block_param.rbs
1000
1044
  - sig/anthropic/models/beta/beta_tool_result_block_param.rbs
1045
+ - sig/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rbs
1046
+ - sig/anthropic/models/beta/beta_tool_search_tool_regex_20251119.rbs
1047
+ - sig/anthropic/models/beta/beta_tool_search_tool_result_block.rbs
1048
+ - sig/anthropic/models/beta/beta_tool_search_tool_result_block_param.rbs
1049
+ - sig/anthropic/models/beta/beta_tool_search_tool_result_error.rbs
1050
+ - sig/anthropic/models/beta/beta_tool_search_tool_result_error_param.rbs
1051
+ - sig/anthropic/models/beta/beta_tool_search_tool_search_result_block.rbs
1052
+ - sig/anthropic/models/beta/beta_tool_search_tool_search_result_block_param.rbs
1001
1053
  - sig/anthropic/models/beta/beta_tool_text_editor_20241022.rbs
1002
1054
  - sig/anthropic/models/beta/beta_tool_text_editor_20250124.rbs
1003
1055
  - sig/anthropic/models/beta/beta_tool_text_editor_20250429.rbs