anthropic 1.70.0 → 1.72.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 (1132) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +65 -0
  3. data/README.md +1 -1
  4. data/lib/anthropic/client.rb +6 -0
  5. data/lib/anthropic/helpers/bedrock/event_stream.rb +14 -4
  6. data/lib/anthropic/internal/transport/base_client.rb +12 -8
  7. data/lib/anthropic/internal/transport/pooled_net_requester.rb +63 -4
  8. data/lib/anthropic/internal/type/union.rb +6 -2
  9. data/lib/anthropic/internal/util.rb +3 -1
  10. data/lib/anthropic/models/anthropic_beta.rb +7 -4
  11. data/lib/anthropic/models/beta/agent_archive_params.rb +2 -2
  12. data/lib/anthropic/models/beta/agent_create_params.rb +9 -9
  13. data/lib/anthropic/models/beta/agent_list_params.rb +2 -2
  14. data/lib/anthropic/models/beta/agent_retrieve_params.rb +2 -2
  15. data/lib/anthropic/models/beta/agent_update_params.rb +9 -9
  16. data/lib/anthropic/models/beta/agents/version_list_params.rb +2 -2
  17. data/lib/anthropic/models/beta/beta_browser_state_change.rb +1 -7
  18. data/lib/anthropic/models/beta/beta_citations_delta.rb +1 -1
  19. data/lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rb +1 -1
  20. data/lib/anthropic/models/beta/beta_cloud_config.rb +1 -1
  21. data/lib/anthropic/models/beta/beta_cloud_config_params.rb +1 -1
  22. data/lib/anthropic/models/beta/beta_code_execution_tool_result_block.rb +1 -4
  23. data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb +0 -1
  24. data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param.rb +1 -2
  25. data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rb +0 -1
  26. data/lib/anthropic/models/beta/beta_compaction_block.rb +9 -1
  27. data/lib/anthropic/models/beta/beta_compaction_block_param.rb +9 -1
  28. data/lib/anthropic/models/beta/beta_compaction_capability.rb +32 -0
  29. data/lib/anthropic/models/beta/beta_compaction_config.rb +40 -0
  30. data/lib/anthropic/models/beta/beta_content_block.rb +4 -5
  31. data/lib/anthropic/models/beta/beta_content_block_param.rb +5 -6
  32. data/lib/anthropic/models/beta/beta_content_block_source_content.rb +1 -1
  33. data/lib/anthropic/models/beta/beta_context_management_config.rb +1 -3
  34. data/lib/anthropic/models/beta/beta_context_management_response.rb +1 -1
  35. data/lib/anthropic/models/beta/beta_diagnostics.rb +1 -1
  36. data/lib/anthropic/models/beta/beta_document_block.rb +1 -1
  37. data/lib/anthropic/models/beta/beta_dream.rb +1 -4
  38. data/lib/anthropic/models/beta/beta_dream_input.rb +1 -4
  39. data/lib/anthropic/models/beta/beta_dream_status.rb +15 -0
  40. data/lib/anthropic/models/beta/beta_dreaming_error.rb +1 -8
  41. data/lib/anthropic/models/beta/beta_environment.rb +1 -1
  42. data/lib/anthropic/models/beta/beta_fallback_credit_usage.rb +1 -1
  43. data/lib/anthropic/models/beta/beta_fallback_message_iteration_usage.rb +5 -4
  44. data/lib/anthropic/models/beta/beta_fallback_param.rb +1 -1
  45. data/lib/anthropic/models/beta/beta_fallbacks_param.rb +3 -3
  46. data/lib/anthropic/models/beta/beta_image_block_param.rb +1 -1
  47. data/lib/anthropic/models/beta/beta_input_transformation.rb +62 -0
  48. data/lib/anthropic/models/beta/beta_iterations_usage.rb +8 -7
  49. data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +2 -2
  50. data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +1 -1
  51. data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +1 -1
  52. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +1 -1
  53. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
  54. data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +7 -7
  55. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
  56. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
  57. data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +1 -1
  58. data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +1 -1
  59. data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +1 -1
  60. data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +1 -1
  61. data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +1 -1
  62. data/lib/anthropic/models/beta/beta_managed_agents_deployment_status.rb +3 -0
  63. data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +1 -1
  64. data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +1 -1
  65. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +1 -1
  66. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
  67. data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +1 -1
  68. data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +1 -1
  69. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +1 -1
  70. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
  71. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
  72. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
  73. data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +1 -1
  74. data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
  75. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
  76. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
  77. data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +1 -1
  78. data/lib/anthropic/models/beta/beta_managed_agents_model_config_params.rb +9 -0
  79. data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
  80. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +1 -1
  81. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +2 -2
  82. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +2 -2
  83. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rb +3 -3
  84. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +1 -1
  85. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
  86. data/lib/anthropic/models/beta/beta_managed_agents_session.rb +7 -0
  87. data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +2 -2
  88. data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +1 -1
  89. data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +1 -1
  90. data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +1 -1
  91. data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +2 -2
  92. data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +1 -1
  93. data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +1 -1
  94. data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +1 -1
  95. data/lib/anthropic/models/beta/beta_managed_agents_trigger_type.rb +3 -0
  96. data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +4 -4
  97. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +1 -1
  98. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
  99. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
  100. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
  101. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +1 -1
  102. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
  103. data/lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb +1 -1
  104. data/lib/anthropic/models/beta/beta_message.rb +21 -18
  105. data/lib/anthropic/models/beta/beta_message_iteration_usage.rb +3 -3
  106. data/lib/anthropic/models/beta/beta_model_capabilities.rb +14 -1
  107. data/lib/anthropic/models/beta/beta_output_behavior.rb +1 -4
  108. data/lib/anthropic/models/beta/beta_raw_content_block_delta.rb +1 -1
  109. data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +5 -10
  110. data/lib/anthropic/models/beta/beta_raw_message_delta_event.rb +20 -17
  111. data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +3 -3
  112. data/lib/anthropic/models/beta/beta_request_document_block.rb +1 -1
  113. data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +3 -13
  114. data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +3 -13
  115. data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +2 -9
  116. data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +2 -5
  117. data/lib/anthropic/models/beta/beta_summarize_compaction.rb +40 -0
  118. data/lib/anthropic/models/beta/beta_text_citation.rb +1 -1
  119. data/lib/anthropic/models/beta/beta_text_citation_param.rb +1 -1
  120. data/lib/anthropic/models/beta/beta_thinking_config_param.rb +1 -1
  121. data/lib/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rb +73 -0
  122. data/lib/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rb +1 -1
  123. data/lib/anthropic/models/beta/beta_tool_choice.rb +1 -1
  124. data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +1 -2
  125. data/lib/anthropic/models/beta/beta_tool_union.rb +0 -2
  126. data/lib/anthropic/models/beta/beta_tool_use_block.rb +2 -5
  127. data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +2 -5
  128. data/lib/anthropic/models/beta/beta_web_fetch_tool_20250910.rb +14 -1
  129. data/lib/anthropic/models/beta/beta_web_fetch_tool_20260209.rb +14 -1
  130. data/lib/anthropic/models/beta/beta_web_fetch_tool_20260309.rb +14 -1
  131. data/lib/anthropic/models/beta/beta_web_fetch_tool_20260318.rb +14 -1
  132. data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb +2 -8
  133. data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb +2 -5
  134. data/lib/anthropic/models/beta/beta_web_fetch_url_source_all.rb +22 -0
  135. data/lib/anthropic/models/beta/beta_web_fetch_url_source_except.rb +29 -0
  136. data/lib/anthropic/models/beta/beta_web_fetch_url_source_none.rb +22 -0
  137. data/lib/anthropic/models/beta/beta_web_fetch_url_source_only.rb +28 -0
  138. data/lib/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rb +28 -0
  139. data/lib/anthropic/models/beta/beta_web_fetch_url_sources.rb +234 -0
  140. data/lib/anthropic/models/beta/beta_web_search_tool_result_block.rb +2 -8
  141. data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb +4 -7
  142. data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rb +3 -3
  143. data/lib/anthropic/models/beta/beta_webhook_event_data.rb +1 -1
  144. data/lib/anthropic/models/beta/deployment_archive_params.rb +2 -2
  145. data/lib/anthropic/models/beta/deployment_create_params.rb +8 -8
  146. data/lib/anthropic/models/beta/deployment_list_params.rb +2 -2
  147. data/lib/anthropic/models/beta/deployment_pause_params.rb +2 -2
  148. data/lib/anthropic/models/beta/deployment_retrieve_params.rb +2 -2
  149. data/lib/anthropic/models/beta/deployment_run_list_params.rb +2 -2
  150. data/lib/anthropic/models/beta/deployment_run_params.rb +2 -2
  151. data/lib/anthropic/models/beta/deployment_run_retrieve_params.rb +2 -2
  152. data/lib/anthropic/models/beta/deployment_unpause_params.rb +2 -2
  153. data/lib/anthropic/models/beta/deployment_update_params.rb +8 -8
  154. data/lib/anthropic/models/beta/dream_archive_params.rb +2 -2
  155. data/lib/anthropic/models/beta/dream_cancel_params.rb +2 -2
  156. data/lib/anthropic/models/beta/dream_create_params.rb +8 -16
  157. data/lib/anthropic/models/beta/dream_list_params.rb +2 -2
  158. data/lib/anthropic/models/beta/dream_retrieve_params.rb +2 -2
  159. data/lib/anthropic/models/beta/environment_archive_params.rb +2 -2
  160. data/lib/anthropic/models/beta/environment_create_params.rb +3 -3
  161. data/lib/anthropic/models/beta/environment_delete_params.rb +2 -2
  162. data/lib/anthropic/models/beta/environment_list_params.rb +2 -2
  163. data/lib/anthropic/models/beta/environment_retrieve_params.rb +2 -2
  164. data/lib/anthropic/models/beta/environment_update_params.rb +3 -3
  165. data/lib/anthropic/models/beta/environments/work_ack_params.rb +2 -2
  166. data/lib/anthropic/models/beta/environments/work_heartbeat_params.rb +2 -2
  167. data/lib/anthropic/models/beta/environments/work_list_params.rb +2 -2
  168. data/lib/anthropic/models/beta/environments/work_poll_params.rb +2 -2
  169. data/lib/anthropic/models/beta/environments/work_retrieve_params.rb +2 -2
  170. data/lib/anthropic/models/beta/environments/work_stats_params.rb +2 -2
  171. data/lib/anthropic/models/beta/environments/work_stop_params.rb +2 -2
  172. data/lib/anthropic/models/beta/environments/work_update_params.rb +2 -2
  173. data/lib/anthropic/models/beta/file_delete_params.rb +2 -2
  174. data/lib/anthropic/models/beta/file_download_params.rb +2 -2
  175. data/lib/anthropic/models/beta/file_list_params.rb +2 -2
  176. data/lib/anthropic/models/beta/file_retrieve_metadata_params.rb +2 -2
  177. data/lib/anthropic/models/beta/file_upload_params.rb +2 -2
  178. data/lib/anthropic/models/beta/memory_store_archive_params.rb +2 -2
  179. data/lib/anthropic/models/beta/memory_store_create_params.rb +2 -2
  180. data/lib/anthropic/models/beta/memory_store_delete_params.rb +2 -2
  181. data/lib/anthropic/models/beta/memory_store_list_params.rb +2 -2
  182. data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +2 -2
  183. data/lib/anthropic/models/beta/memory_store_update_params.rb +2 -2
  184. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +1 -1
  185. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +1 -1
  186. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +1 -1
  187. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb +5 -0
  188. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rb +3 -0
  189. data/lib/anthropic/models/beta/memory_stores/memory_create_params.rb +2 -2
  190. data/lib/anthropic/models/beta/memory_stores/memory_delete_params.rb +2 -2
  191. data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +2 -2
  192. data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +2 -2
  193. data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +2 -2
  194. data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +2 -2
  195. data/lib/anthropic/models/beta/memory_stores/memory_version_redact_params.rb +2 -2
  196. data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +2 -2
  197. data/lib/anthropic/models/beta/message_count_tokens_params.rb +18 -5
  198. data/lib/anthropic/models/beta/message_create_params.rb +26 -11
  199. data/lib/anthropic/models/beta/messages/batch_cancel_params.rb +2 -2
  200. data/lib/anthropic/models/beta/messages/batch_create_params.rb +26 -11
  201. data/lib/anthropic/models/beta/messages/batch_delete_params.rb +2 -2
  202. data/lib/anthropic/models/beta/messages/batch_list_params.rb +2 -2
  203. data/lib/anthropic/models/beta/messages/batch_results_params.rb +2 -2
  204. data/lib/anthropic/models/beta/messages/batch_retrieve_params.rb +2 -2
  205. data/lib/anthropic/models/beta/messages/beta_message_batch_result.rb +1 -1
  206. data/lib/anthropic/models/beta/model_list_params.rb +2 -2
  207. data/lib/anthropic/models/beta/model_retrieve_params.rb +2 -2
  208. data/lib/anthropic/models/beta/organization/beta_api_key.rb +2 -2
  209. data/lib/anthropic/models/beta/organization/beta_compliance_settings_state.rb +1 -1
  210. data/lib/anthropic/models/beta/organization/beta_compliance_settings_state_param.rb +1 -1
  211. data/lib/anthropic/models/beta/organization/beta_data_residency.rb +41 -12
  212. data/lib/anthropic/models/beta/organization/beta_data_residency_create_config.rb +5 -5
  213. data/lib/anthropic/models/beta/organization/beta_data_residency_update_config.rb +5 -5
  214. data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -2
  215. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +103 -10
  216. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rb +34 -0
  217. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rb +34 -0
  218. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rb +43 -0
  219. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb +34 -0
  220. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rb +34 -0
  221. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rb +34 -0
  222. data/lib/anthropic/models/beta/organization/external_key_create_params.rb +1 -1
  223. data/lib/anthropic/models/beta/organization/external_key_update_params.rb +1 -1
  224. data/lib/anthropic/models/beta/organization/federation/beta_federation_issuer.rb +1 -1
  225. data/lib/anthropic/models/beta/organization/federation/issuer_archive_params.rb +2 -2
  226. data/lib/anthropic/models/beta/organization/federation/issuer_create_params.rb +3 -3
  227. data/lib/anthropic/models/beta/organization/federation/issuer_list_params.rb +2 -2
  228. data/lib/anthropic/models/beta/organization/federation/issuer_retrieve_params.rb +2 -2
  229. data/lib/anthropic/models/beta/organization/federation/issuer_update_params.rb +3 -3
  230. data/lib/anthropic/models/beta/organization/federation/rule_archive_params.rb +2 -2
  231. data/lib/anthropic/models/beta/organization/federation/rule_create_params.rb +2 -2
  232. data/lib/anthropic/models/beta/organization/federation/rule_list_params.rb +2 -2
  233. data/lib/anthropic/models/beta/organization/federation/rule_retrieve_params.rb +2 -2
  234. data/lib/anthropic/models/beta/organization/federation/rule_update_params.rb +2 -2
  235. data/lib/anthropic/models/beta/organization/federation/rules/workspace_add_params.rb +2 -2
  236. data/lib/anthropic/models/beta/organization/federation/rules/workspace_list_params.rb +2 -2
  237. data/lib/anthropic/models/beta/organization/federation/rules/workspace_remove_params.rb +2 -2
  238. data/lib/anthropic/models/beta/organization/service_account_archive_params.rb +2 -2
  239. data/lib/anthropic/models/beta/organization/service_account_create_params.rb +2 -2
  240. data/lib/anthropic/models/beta/organization/service_account_list_params.rb +2 -2
  241. data/lib/anthropic/models/beta/organization/service_account_retrieve_params.rb +2 -2
  242. data/lib/anthropic/models/beta/organization/service_account_update_params.rb +2 -2
  243. data/lib/anthropic/models/beta/organization/service_accounts/workspace_add_params.rb +2 -2
  244. data/lib/anthropic/models/beta/organization/service_accounts/workspace_list_params.rb +2 -2
  245. data/lib/anthropic/models/beta/organization/service_accounts/workspace_remove_params.rb +2 -2
  246. data/lib/anthropic/models/beta/organization/workspace_create_params.rb +2 -2
  247. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +102 -10
  248. data/lib/anthropic/models/beta/organization/workspaces/service_account_add_params.rb +2 -2
  249. data/lib/anthropic/models/beta/organization/workspaces/service_account_list_params.rb +2 -2
  250. data/lib/anthropic/models/beta/organization/workspaces/service_account_remove_params.rb +2 -2
  251. data/lib/anthropic/models/beta/organization/workspaces/service_account_retrieve_params.rb +2 -2
  252. data/lib/anthropic/models/beta/organization/workspaces/service_account_update_params.rb +2 -2
  253. data/lib/anthropic/models/beta/session_archive_params.rb +2 -2
  254. data/lib/anthropic/models/beta/session_create_params.rb +9 -9
  255. data/lib/anthropic/models/beta/session_delete_params.rb +2 -2
  256. data/lib/anthropic/models/beta/session_list_params.rb +9 -2
  257. data/lib/anthropic/models/beta/session_retrieve_params.rb +2 -2
  258. data/lib/anthropic/models/beta/session_update_params.rb +2 -2
  259. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
  260. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rb +3 -1
  261. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +1 -1
  262. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rb +2 -2
  263. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +1 -1
  264. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +1 -1
  265. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +1 -1
  266. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rb +1 -1
  267. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +1 -1
  268. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rb +3 -2
  269. data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +1 -1
  270. data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +1 -1
  271. data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +1 -1
  272. data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +1 -1
  273. data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +1 -1
  274. data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +1 -1
  275. data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +1 -1
  276. data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +1 -1
  277. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +1 -1
  278. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +1 -1
  279. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +1 -1
  280. data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +1 -1
  281. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +2 -13
  282. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +3 -3
  283. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +1 -3
  284. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +2 -5
  285. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +1 -1
  286. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +2 -5
  287. data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +3 -3
  288. data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +3 -3
  289. data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +1 -1
  290. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +4 -4
  291. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +1 -1
  292. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +1 -1
  293. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +1 -1
  294. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +1 -1
  295. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +1 -1
  296. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rb +3 -4
  297. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +1 -1
  298. data/lib/anthropic/models/beta/sessions/event_list_params.rb +2 -2
  299. data/lib/anthropic/models/beta/sessions/event_send_params.rb +2 -2
  300. data/lib/anthropic/models/beta/sessions/event_stream_params.rb +2 -2
  301. data/lib/anthropic/models/beta/sessions/resource_add_params.rb +2 -2
  302. data/lib/anthropic/models/beta/sessions/resource_delete_params.rb +2 -2
  303. data/lib/anthropic/models/beta/sessions/resource_list_params.rb +2 -2
  304. data/lib/anthropic/models/beta/sessions/resource_retrieve_params.rb +2 -2
  305. data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +1 -1
  306. data/lib/anthropic/models/beta/sessions/resource_update_params.rb +2 -2
  307. data/lib/anthropic/models/beta/sessions/resource_update_response.rb +1 -1
  308. data/lib/anthropic/models/beta/sessions/thread_archive_params.rb +2 -2
  309. data/lib/anthropic/models/beta/sessions/thread_list_params.rb +2 -2
  310. data/lib/anthropic/models/beta/sessions/thread_retrieve_params.rb +2 -2
  311. data/lib/anthropic/models/beta/sessions/threads/event_list_params.rb +2 -2
  312. data/lib/anthropic/models/beta/sessions/threads/event_stream_params.rb +2 -2
  313. data/lib/anthropic/models/beta/skill_create_params.rb +2 -2
  314. data/lib/anthropic/models/beta/skill_delete_params.rb +2 -2
  315. data/lib/anthropic/models/beta/skill_list_params.rb +2 -2
  316. data/lib/anthropic/models/beta/skill_retrieve_params.rb +2 -2
  317. data/lib/anthropic/models/beta/skills/version_create_params.rb +2 -2
  318. data/lib/anthropic/models/beta/skills/version_delete_params.rb +2 -2
  319. data/lib/anthropic/models/beta/skills/version_download_params.rb +2 -2
  320. data/lib/anthropic/models/beta/skills/version_list_params.rb +2 -2
  321. data/lib/anthropic/models/beta/skills/version_retrieve_params.rb +2 -2
  322. data/lib/anthropic/models/beta/tunnel_archive_params.rb +2 -2
  323. data/lib/anthropic/models/beta/tunnel_create_params.rb +2 -2
  324. data/lib/anthropic/models/beta/tunnel_list_params.rb +2 -2
  325. data/lib/anthropic/models/beta/tunnel_retrieve_params.rb +2 -2
  326. data/lib/anthropic/models/beta/tunnel_reveal_token_params.rb +2 -2
  327. data/lib/anthropic/models/beta/tunnel_rotate_token_params.rb +2 -2
  328. data/lib/anthropic/models/beta/tunnels/certificate_archive_params.rb +2 -2
  329. data/lib/anthropic/models/beta/tunnels/certificate_create_params.rb +2 -2
  330. data/lib/anthropic/models/beta/tunnels/certificate_list_params.rb +2 -2
  331. data/lib/anthropic/models/beta/tunnels/certificate_retrieve_params.rb +2 -2
  332. data/lib/anthropic/models/beta/user_profile_create_enrollment_url_params.rb +10 -3
  333. data/lib/anthropic/models/beta/user_profile_create_params.rb +10 -3
  334. data/lib/anthropic/models/beta/user_profile_list_params.rb +10 -3
  335. data/lib/anthropic/models/beta/user_profile_retrieve_params.rb +10 -3
  336. data/lib/anthropic/models/beta/user_profile_update_params.rb +10 -3
  337. data/lib/anthropic/models/beta/vault_archive_params.rb +2 -2
  338. data/lib/anthropic/models/beta/vault_create_params.rb +2 -2
  339. data/lib/anthropic/models/beta/vault_delete_params.rb +2 -2
  340. data/lib/anthropic/models/beta/vault_list_params.rb +2 -2
  341. data/lib/anthropic/models/beta/vault_retrieve_params.rb +2 -2
  342. data/lib/anthropic/models/beta/vault_update_params.rb +2 -2
  343. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +1 -1
  344. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +1 -4
  345. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rb +5 -0
  346. data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +1 -1
  347. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +2 -5
  348. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +2 -5
  349. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +2 -5
  350. data/lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb +7 -0
  351. data/lib/anthropic/models/beta/vaults/credential_archive_params.rb +2 -2
  352. data/lib/anthropic/models/beta/vaults/credential_create_params.rb +3 -3
  353. data/lib/anthropic/models/beta/vaults/credential_delete_params.rb +2 -2
  354. data/lib/anthropic/models/beta/vaults/credential_list_params.rb +2 -2
  355. data/lib/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rb +2 -2
  356. data/lib/anthropic/models/beta/vaults/credential_retrieve_params.rb +2 -2
  357. data/lib/anthropic/models/beta/vaults/credential_update_params.rb +3 -3
  358. data/lib/anthropic/models/beta_error.rb +1 -1
  359. data/lib/anthropic/models/browser_state_change.rb +1 -7
  360. data/lib/anthropic/models/citations_delta.rb +1 -1
  361. data/lib/anthropic/models/code_execution_tool_result_block.rb +1 -4
  362. data/lib/anthropic/models/code_execution_tool_result_block_content.rb +0 -1
  363. data/lib/anthropic/models/code_execution_tool_result_block_param.rb +1 -2
  364. data/lib/anthropic/models/code_execution_tool_result_block_param_content.rb +0 -1
  365. data/lib/anthropic/models/completion_create_params.rb +3 -3
  366. data/lib/anthropic/models/content_block.rb +3 -4
  367. data/lib/anthropic/models/content_block_param.rb +3 -4
  368. data/lib/anthropic/models/content_block_source_content.rb +1 -1
  369. data/lib/anthropic/models/document_block.rb +1 -1
  370. data/lib/anthropic/models/document_block_param.rb +1 -1
  371. data/lib/anthropic/models/error_object.rb +1 -1
  372. data/lib/anthropic/models/image_block_param.rb +1 -1
  373. data/lib/anthropic/models/message_count_tokens_tool.rb +0 -2
  374. data/lib/anthropic/models/message_create_params.rb +1 -1
  375. data/lib/anthropic/models/messages/batch_create_params.rb +1 -1
  376. data/lib/anthropic/models/messages/message_batch_result.rb +1 -1
  377. data/lib/anthropic/models/model_list_params.rb +2 -2
  378. data/lib/anthropic/models/model_retrieve_params.rb +2 -2
  379. data/lib/anthropic/models/raw_content_block_delta.rb +1 -1
  380. data/lib/anthropic/models/raw_content_block_start_event.rb +4 -9
  381. data/lib/anthropic/models/raw_message_stream_event.rb +2 -2
  382. data/lib/anthropic/models/server_tool_use_block.rb +2 -9
  383. data/lib/anthropic/models/server_tool_use_block_param.rb +2 -5
  384. data/lib/anthropic/models/text_citation.rb +1 -1
  385. data/lib/anthropic/models/text_citation_param.rb +1 -1
  386. data/lib/anthropic/models/thinking_config_param.rb +1 -1
  387. data/lib/anthropic/models/tool_choice.rb +1 -1
  388. data/lib/anthropic/models/tool_result_block_param.rb +1 -2
  389. data/lib/anthropic/models/tool_union.rb +0 -2
  390. data/lib/anthropic/models/tool_use_block.rb +3 -5
  391. data/lib/anthropic/models/tool_use_block_param.rb +2 -5
  392. data/lib/anthropic/models/web_fetch_tool_20250910.rb +14 -1
  393. data/lib/anthropic/models/web_fetch_tool_20260209.rb +14 -1
  394. data/lib/anthropic/models/web_fetch_tool_20260309.rb +14 -1
  395. data/lib/anthropic/models/web_fetch_tool_20260318.rb +14 -1
  396. data/lib/anthropic/models/web_fetch_tool_result_block.rb +2 -8
  397. data/lib/anthropic/models/web_fetch_tool_result_block_param.rb +2 -5
  398. data/lib/anthropic/models/web_fetch_url_source_all.rb +18 -0
  399. data/lib/anthropic/models/web_fetch_url_source_except.rb +24 -0
  400. data/lib/anthropic/models/web_fetch_url_source_none.rb +18 -0
  401. data/lib/anthropic/models/web_fetch_url_source_only.rb +23 -0
  402. data/lib/anthropic/models/web_fetch_url_source_tool_reference.rb +24 -0
  403. data/lib/anthropic/models/web_fetch_url_sources.rb +230 -0
  404. data/lib/anthropic/models/web_search_tool_result_block.rb +2 -8
  405. data/lib/anthropic/models/web_search_tool_result_block_param.rb +4 -7
  406. data/lib/anthropic/models/web_search_tool_result_block_param_content.rb +3 -3
  407. data/lib/anthropic/models.rb +12 -0
  408. data/lib/anthropic/resources/beta/agents/versions.rb +2 -2
  409. data/lib/anthropic/resources/beta/agents.rb +10 -10
  410. data/lib/anthropic/resources/beta/deployment_runs.rb +3 -3
  411. data/lib/anthropic/resources/beta/deployments.rb +16 -16
  412. data/lib/anthropic/resources/beta/dreams.rb +7 -7
  413. data/lib/anthropic/resources/beta/environments/work.rb +8 -8
  414. data/lib/anthropic/resources/beta/environments.rb +6 -6
  415. data/lib/anthropic/resources/beta/files.rb +5 -5
  416. data/lib/anthropic/resources/beta/memory_stores/memories.rb +5 -5
  417. data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +3 -3
  418. data/lib/anthropic/resources/beta/memory_stores.rb +10 -10
  419. data/lib/anthropic/resources/beta/messages/batches.rb +6 -6
  420. data/lib/anthropic/resources/beta/messages.rb +22 -14
  421. data/lib/anthropic/resources/beta/models.rb +2 -2
  422. data/lib/anthropic/resources/beta/organization/federation/issuers.rb +5 -5
  423. data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +3 -3
  424. data/lib/anthropic/resources/beta/organization/federation/rules.rb +5 -5
  425. data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +3 -3
  426. data/lib/anthropic/resources/beta/organization/service_accounts.rb +5 -5
  427. data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +5 -5
  428. data/lib/anthropic/resources/beta/organization/workspaces.rb +1 -1
  429. data/lib/anthropic/resources/beta/sessions/events.rb +3 -3
  430. data/lib/anthropic/resources/beta/sessions/resources.rb +5 -5
  431. data/lib/anthropic/resources/beta/sessions/threads/events.rb +2 -2
  432. data/lib/anthropic/resources/beta/sessions/threads.rb +3 -3
  433. data/lib/anthropic/resources/beta/sessions.rb +7 -7
  434. data/lib/anthropic/resources/beta/skills/versions.rb +5 -5
  435. data/lib/anthropic/resources/beta/skills.rb +4 -4
  436. data/lib/anthropic/resources/beta/tunnels/certificates.rb +10 -10
  437. data/lib/anthropic/resources/beta/tunnels.rb +10 -10
  438. data/lib/anthropic/resources/beta/user_profiles.rb +38 -15
  439. data/lib/anthropic/resources/beta/vaults/credentials.rb +19 -19
  440. data/lib/anthropic/resources/beta/vaults.rb +10 -10
  441. data/lib/anthropic/resources/completions.rb +2 -2
  442. data/lib/anthropic/resources/models.rb +2 -2
  443. data/lib/anthropic/version.rb +1 -1
  444. data/lib/anthropic.rb +23 -1
  445. data/manifest.yaml +0 -1
  446. data/rbi/anthropic/client.rbi +5 -0
  447. data/rbi/anthropic/internal/transport/base_client.rbi +2 -0
  448. data/rbi/anthropic/internal/transport/pooled_net_requester.rbi +27 -5
  449. data/rbi/anthropic/models/anthropic_beta.rbi +3 -1
  450. data/rbi/anthropic/models/beta/agent_archive_params.rbi +4 -4
  451. data/rbi/anthropic/models/beta/agent_create_params.rbi +13 -13
  452. data/rbi/anthropic/models/beta/agent_list_params.rbi +4 -4
  453. data/rbi/anthropic/models/beta/agent_retrieve_params.rbi +4 -4
  454. data/rbi/anthropic/models/beta/agent_update_params.rbi +15 -15
  455. data/rbi/anthropic/models/beta/agents/version_list_params.rbi +4 -4
  456. data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +1 -7
  457. data/rbi/anthropic/models/beta/beta_citations_delta.rbi +2 -1
  458. data/rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbi +5 -1
  459. data/rbi/anthropic/models/beta/beta_cloud_config.rbi +2 -1
  460. data/rbi/anthropic/models/beta/beta_cloud_config_params.rbi +2 -1
  461. data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block.rbi +1 -7
  462. data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_content.rbi +0 -1
  463. data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_param.rbi +0 -2
  464. data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rbi +0 -1
  465. data/rbi/anthropic/models/beta/beta_compaction_block.rbi +9 -1
  466. data/rbi/anthropic/models/beta/beta_compaction_block_param.rbi +9 -1
  467. data/rbi/anthropic/models/beta/beta_compaction_capability.rbi +60 -0
  468. data/rbi/anthropic/models/beta/beta_compaction_config.rbi +54 -0
  469. data/rbi/anthropic/models/beta/beta_content_block.rbi +3 -5
  470. data/rbi/anthropic/models/beta/beta_content_block_param.rbi +5 -10
  471. data/rbi/anthropic/models/beta/beta_content_block_source_content.rbi +2 -1
  472. data/rbi/anthropic/models/beta/beta_context_management_config.rbi +2 -3
  473. data/rbi/anthropic/models/beta/beta_context_management_response.rbi +2 -1
  474. data/rbi/anthropic/models/beta/beta_diagnostics.rbi +2 -1
  475. data/rbi/anthropic/models/beta/beta_document_block.rbi +1 -1
  476. data/rbi/anthropic/models/beta/beta_dream.rbi +0 -6
  477. data/rbi/anthropic/models/beta/beta_dream_input.rbi +1 -4
  478. data/rbi/anthropic/models/beta/beta_dream_status.rbi +15 -0
  479. data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +4 -10
  480. data/rbi/anthropic/models/beta/beta_environment.rbi +1 -1
  481. data/rbi/anthropic/models/beta/beta_fallback_credit_usage.rbi +2 -1
  482. data/rbi/anthropic/models/beta/beta_fallback_message_iteration_usage.rbi +5 -4
  483. data/rbi/anthropic/models/beta/beta_fallback_param.rbi +2 -1
  484. data/rbi/anthropic/models/beta/beta_fallbacks_param.rbi +1 -1
  485. data/rbi/anthropic/models/beta/beta_image_block_param.rbi +2 -1
  486. data/rbi/anthropic/models/beta/beta_input_transformation.rbi +99 -0
  487. data/rbi/anthropic/models/beta/beta_iterations_usage.rbi +6 -3
  488. data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +4 -2
  489. data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +2 -1
  490. data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +2 -1
  491. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbi +4 -1
  492. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbi +4 -1
  493. data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +12 -11
  494. data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +4 -1
  495. data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +4 -1
  496. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbi +2 -1
  497. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbi +2 -1
  498. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbi +2 -1
  499. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbi +4 -1
  500. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +5 -1
  501. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_status.rbi +3 -0
  502. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +2 -1
  503. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +2 -1
  504. data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +4 -1
  505. data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +4 -1
  506. data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbi +2 -1
  507. data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +2 -1
  508. data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +4 -1
  509. data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +4 -1
  510. data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +4 -1
  511. data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +4 -1
  512. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbi +4 -1
  513. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbi +4 -1
  514. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbi +4 -1
  515. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbi +4 -1
  516. data/rbi/anthropic/models/beta/beta_managed_agents_model_config.rbi +4 -1
  517. data/rbi/anthropic/models/beta/beta_managed_agents_model_config_params.rbi +9 -0
  518. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent.rbi +2 -1
  519. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +2 -1
  520. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +6 -6
  521. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_params.rbi +6 -6
  522. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rbi +2 -2
  523. data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +4 -1
  524. data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +4 -1
  525. data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +7 -0
  526. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +4 -2
  527. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent_update.rbi +2 -1
  528. data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +2 -1
  529. data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_config.rbi +2 -1
  530. data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +4 -2
  531. data/rbi/anthropic/models/beta/beta_managed_agents_skill_params.rbi +1 -1
  532. data/rbi/anthropic/models/beta/beta_managed_agents_start_event_preview.rbi +5 -1
  533. data/rbi/anthropic/models/beta/beta_managed_agents_trigger_context.rbi +5 -3
  534. data/rbi/anthropic/models/beta/beta_managed_agents_trigger_type.rbi +3 -0
  535. data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +6 -5
  536. data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +4 -1
  537. data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +4 -1
  538. data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +4 -1
  539. data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +4 -1
  540. data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +4 -1
  541. data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +4 -1
  542. data/rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi +2 -1
  543. data/rbi/anthropic/models/beta/beta_message.rbi +40 -29
  544. data/rbi/anthropic/models/beta/beta_message_iteration_usage.rbi +3 -3
  545. data/rbi/anthropic/models/beta/beta_model_capabilities.rbi +21 -0
  546. data/rbi/anthropic/models/beta/beta_output_behavior.rbi +4 -6
  547. data/rbi/anthropic/models/beta/beta_raw_content_block_delta.rbi +1 -1
  548. data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +5 -12
  549. data/rbi/anthropic/models/beta/beta_raw_message_delta_event.rbi +40 -29
  550. data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +22 -15
  551. data/rbi/anthropic/models/beta/beta_request_document_block.rbi +2 -1
  552. data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +2 -10
  553. data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +2 -10
  554. data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +6 -13
  555. data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +5 -4
  556. data/rbi/anthropic/models/beta/beta_summarize_compaction.rbi +54 -0
  557. data/rbi/anthropic/models/beta/beta_text_citation.rbi +1 -1
  558. data/rbi/anthropic/models/beta/beta_text_citation_param.rbi +1 -1
  559. data/rbi/anthropic/models/beta/beta_thinking_config_param.rbi +1 -1
  560. data/rbi/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rbi +140 -0
  561. data/rbi/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rbi +1 -1
  562. data/rbi/anthropic/models/beta/beta_tool_choice.rbi +1 -1
  563. data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +2 -2
  564. data/rbi/anthropic/models/beta/beta_tool_union.rbi +0 -2
  565. data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +4 -6
  566. data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +5 -6
  567. data/rbi/anthropic/models/beta/beta_web_fetch_tool_20250910.rbi +28 -1
  568. data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260209.rbi +28 -1
  569. data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260309.rbi +27 -0
  570. data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260318.rbi +27 -0
  571. data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi +5 -4
  572. data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi +5 -4
  573. data/rbi/anthropic/models/beta/beta_web_fetch_url_source_all.rbi +32 -0
  574. data/rbi/anthropic/models/beta/beta_web_fetch_url_source_except.rbi +53 -0
  575. data/rbi/anthropic/models/beta/beta_web_fetch_url_source_none.rbi +32 -0
  576. data/rbi/anthropic/models/beta/beta_web_fetch_url_source_only.rbi +52 -0
  577. data/rbi/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rbi +36 -0
  578. data/rbi/anthropic/models/beta/beta_web_fetch_url_sources.rbi +417 -0
  579. data/rbi/anthropic/models/beta/beta_web_search_tool_result_block.rbi +5 -4
  580. data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param.rbi +11 -12
  581. data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rbi +2 -2
  582. data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +1 -1
  583. data/rbi/anthropic/models/beta/deployment_archive_params.rbi +4 -4
  584. data/rbi/anthropic/models/beta/deployment_create_params.rbi +11 -10
  585. data/rbi/anthropic/models/beta/deployment_list_params.rbi +4 -4
  586. data/rbi/anthropic/models/beta/deployment_pause_params.rbi +4 -4
  587. data/rbi/anthropic/models/beta/deployment_retrieve_params.rbi +4 -4
  588. data/rbi/anthropic/models/beta/deployment_run_list_params.rbi +4 -4
  589. data/rbi/anthropic/models/beta/deployment_run_params.rbi +4 -4
  590. data/rbi/anthropic/models/beta/deployment_run_retrieve_params.rbi +4 -4
  591. data/rbi/anthropic/models/beta/deployment_unpause_params.rbi +4 -4
  592. data/rbi/anthropic/models/beta/deployment_update_params.rbi +13 -12
  593. data/rbi/anthropic/models/beta/dream_archive_params.rbi +4 -4
  594. data/rbi/anthropic/models/beta/dream_cancel_params.rbi +4 -4
  595. data/rbi/anthropic/models/beta/dream_create_params.rbi +8 -17
  596. data/rbi/anthropic/models/beta/dream_list_params.rbi +4 -4
  597. data/rbi/anthropic/models/beta/dream_retrieve_params.rbi +4 -4
  598. data/rbi/anthropic/models/beta/environment_archive_params.rbi +4 -4
  599. data/rbi/anthropic/models/beta/environment_create_params.rbi +6 -5
  600. data/rbi/anthropic/models/beta/environment_delete_params.rbi +4 -4
  601. data/rbi/anthropic/models/beta/environment_list_params.rbi +4 -4
  602. data/rbi/anthropic/models/beta/environment_retrieve_params.rbi +4 -4
  603. data/rbi/anthropic/models/beta/environment_update_params.rbi +6 -5
  604. data/rbi/anthropic/models/beta/environments/work_ack_params.rbi +4 -4
  605. data/rbi/anthropic/models/beta/environments/work_heartbeat_params.rbi +4 -4
  606. data/rbi/anthropic/models/beta/environments/work_list_params.rbi +4 -4
  607. data/rbi/anthropic/models/beta/environments/work_poll_params.rbi +4 -4
  608. data/rbi/anthropic/models/beta/environments/work_retrieve_params.rbi +4 -4
  609. data/rbi/anthropic/models/beta/environments/work_stats_params.rbi +4 -4
  610. data/rbi/anthropic/models/beta/environments/work_stop_params.rbi +4 -4
  611. data/rbi/anthropic/models/beta/environments/work_update_params.rbi +4 -4
  612. data/rbi/anthropic/models/beta/file_delete_params.rbi +4 -4
  613. data/rbi/anthropic/models/beta/file_download_params.rbi +4 -4
  614. data/rbi/anthropic/models/beta/file_list_params.rbi +4 -4
  615. data/rbi/anthropic/models/beta/file_retrieve_metadata_params.rbi +4 -4
  616. data/rbi/anthropic/models/beta/file_upload_params.rbi +4 -4
  617. data/rbi/anthropic/models/beta/memory_store_archive_params.rbi +4 -4
  618. data/rbi/anthropic/models/beta/memory_store_create_params.rbi +4 -4
  619. data/rbi/anthropic/models/beta/memory_store_delete_params.rbi +4 -4
  620. data/rbi/anthropic/models/beta/memory_store_list_params.rbi +4 -4
  621. data/rbi/anthropic/models/beta/memory_store_retrieve_params.rbi +4 -4
  622. data/rbi/anthropic/models/beta/memory_store_update_params.rbi +4 -4
  623. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbi +2 -1
  624. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +2 -1
  625. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbi +2 -1
  626. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbi +5 -0
  627. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbi +3 -0
  628. data/rbi/anthropic/models/beta/memory_stores/memory_create_params.rbi +4 -4
  629. data/rbi/anthropic/models/beta/memory_stores/memory_delete_params.rbi +4 -4
  630. data/rbi/anthropic/models/beta/memory_stores/memory_list_params.rbi +4 -4
  631. data/rbi/anthropic/models/beta/memory_stores/memory_retrieve_params.rbi +4 -4
  632. data/rbi/anthropic/models/beta/memory_stores/memory_update_params.rbi +4 -4
  633. data/rbi/anthropic/models/beta/memory_stores/memory_version_list_params.rbi +4 -4
  634. data/rbi/anthropic/models/beta/memory_stores/memory_version_redact_params.rbi +4 -4
  635. data/rbi/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rbi +4 -4
  636. data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +34 -6
  637. data/rbi/anthropic/models/beta/message_create_params.rbi +43 -13
  638. data/rbi/anthropic/models/beta/messages/batch_cancel_params.rbi +4 -4
  639. data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +47 -15
  640. data/rbi/anthropic/models/beta/messages/batch_delete_params.rbi +4 -4
  641. data/rbi/anthropic/models/beta/messages/batch_list_params.rbi +4 -4
  642. data/rbi/anthropic/models/beta/messages/batch_results_params.rbi +4 -4
  643. data/rbi/anthropic/models/beta/messages/batch_retrieve_params.rbi +4 -4
  644. data/rbi/anthropic/models/beta/messages/beta_message_batch_result.rbi +2 -1
  645. data/rbi/anthropic/models/beta/model_list_params.rbi +4 -4
  646. data/rbi/anthropic/models/beta/model_retrieve_params.rbi +4 -4
  647. data/rbi/anthropic/models/beta/organization/beta_api_key.rbi +7 -2
  648. data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state.rbi +4 -1
  649. data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbi +4 -1
  650. data/rbi/anthropic/models/beta/organization/beta_data_residency.rbi +103 -10
  651. data/rbi/anthropic/models/beta/organization/beta_data_residency_create_config.rbi +8 -8
  652. data/rbi/anthropic/models/beta/organization/beta_data_residency_update_config.rbi +8 -8
  653. data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +6 -2
  654. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +145 -11
  655. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbi +44 -0
  656. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbi +44 -0
  657. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbi +58 -0
  658. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbi +44 -0
  659. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbi +44 -0
  660. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbi +44 -0
  661. data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +2 -1
  662. data/rbi/anthropic/models/beta/organization/external_key_update_params.rbi +2 -1
  663. data/rbi/anthropic/models/beta/organization/federation/beta_federation_issuer.rbi +2 -1
  664. data/rbi/anthropic/models/beta/organization/federation/issuer_archive_params.rbi +4 -4
  665. data/rbi/anthropic/models/beta/organization/federation/issuer_create_params.rbi +6 -5
  666. data/rbi/anthropic/models/beta/organization/federation/issuer_list_params.rbi +4 -4
  667. data/rbi/anthropic/models/beta/organization/federation/issuer_retrieve_params.rbi +4 -4
  668. data/rbi/anthropic/models/beta/organization/federation/issuer_update_params.rbi +6 -5
  669. data/rbi/anthropic/models/beta/organization/federation/rule_archive_params.rbi +4 -4
  670. data/rbi/anthropic/models/beta/organization/federation/rule_create_params.rbi +4 -4
  671. data/rbi/anthropic/models/beta/organization/federation/rule_list_params.rbi +4 -4
  672. data/rbi/anthropic/models/beta/organization/federation/rule_retrieve_params.rbi +4 -4
  673. data/rbi/anthropic/models/beta/organization/federation/rule_update_params.rbi +4 -4
  674. data/rbi/anthropic/models/beta/organization/federation/rules/workspace_add_params.rbi +4 -4
  675. data/rbi/anthropic/models/beta/organization/federation/rules/workspace_list_params.rbi +4 -4
  676. data/rbi/anthropic/models/beta/organization/federation/rules/workspace_remove_params.rbi +4 -4
  677. data/rbi/anthropic/models/beta/organization/service_account_archive_params.rbi +4 -4
  678. data/rbi/anthropic/models/beta/organization/service_account_create_params.rbi +4 -4
  679. data/rbi/anthropic/models/beta/organization/service_account_list_params.rbi +4 -4
  680. data/rbi/anthropic/models/beta/organization/service_account_retrieve_params.rbi +4 -4
  681. data/rbi/anthropic/models/beta/organization/service_account_update_params.rbi +4 -4
  682. data/rbi/anthropic/models/beta/organization/service_accounts/workspace_add_params.rbi +4 -4
  683. data/rbi/anthropic/models/beta/organization/service_accounts/workspace_list_params.rbi +4 -4
  684. data/rbi/anthropic/models/beta/organization/service_accounts/workspace_remove_params.rbi +4 -4
  685. data/rbi/anthropic/models/beta/organization/workspace_create_params.rbi +4 -4
  686. data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +143 -11
  687. data/rbi/anthropic/models/beta/organization/workspaces/service_account_add_params.rbi +4 -4
  688. data/rbi/anthropic/models/beta/organization/workspaces/service_account_list_params.rbi +4 -4
  689. data/rbi/anthropic/models/beta/organization/workspaces/service_account_remove_params.rbi +4 -4
  690. data/rbi/anthropic/models/beta/organization/workspaces/service_account_retrieve_params.rbi +4 -4
  691. data/rbi/anthropic/models/beta/organization/workspaces/service_account_update_params.rbi +4 -4
  692. data/rbi/anthropic/models/beta/session_archive_params.rbi +4 -4
  693. data/rbi/anthropic/models/beta/session_create_params.rbi +16 -14
  694. data/rbi/anthropic/models/beta/session_delete_params.rbi +4 -4
  695. data/rbi/anthropic/models/beta/session_list_params.rbi +11 -4
  696. data/rbi/anthropic/models/beta/session_retrieve_params.rbi +4 -4
  697. data/rbi/anthropic/models/beta/session_update_params.rbi +4 -4
  698. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbi +5 -1
  699. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbi +6 -2
  700. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbi +2 -1
  701. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbi +4 -4
  702. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +5 -1
  703. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +2 -1
  704. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +2 -1
  705. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbi +2 -1
  706. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +2 -1
  707. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbi +6 -4
  708. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +4 -1
  709. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +4 -1
  710. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +2 -1
  711. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbi +2 -1
  712. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbi +2 -1
  713. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +2 -1
  714. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +4 -1
  715. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +4 -1
  716. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +4 -1
  717. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +4 -1
  718. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +4 -1
  719. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbi +2 -1
  720. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +2 -10
  721. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +2 -5
  722. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +2 -2
  723. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +2 -4
  724. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +2 -1
  725. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +2 -4
  726. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +2 -5
  727. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +2 -5
  728. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +4 -1
  729. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +6 -5
  730. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +2 -1
  731. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +2 -1
  732. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +2 -1
  733. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +2 -1
  734. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +2 -1
  735. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbi +4 -6
  736. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +2 -1
  737. data/rbi/anthropic/models/beta/sessions/event_list_params.rbi +4 -4
  738. data/rbi/anthropic/models/beta/sessions/event_send_params.rbi +4 -4
  739. data/rbi/anthropic/models/beta/sessions/event_stream_params.rbi +4 -4
  740. data/rbi/anthropic/models/beta/sessions/resource_add_params.rbi +4 -4
  741. data/rbi/anthropic/models/beta/sessions/resource_delete_params.rbi +4 -4
  742. data/rbi/anthropic/models/beta/sessions/resource_list_params.rbi +4 -4
  743. data/rbi/anthropic/models/beta/sessions/resource_retrieve_params.rbi +4 -4
  744. data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -1
  745. data/rbi/anthropic/models/beta/sessions/resource_update_params.rbi +4 -4
  746. data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -1
  747. data/rbi/anthropic/models/beta/sessions/thread_archive_params.rbi +4 -4
  748. data/rbi/anthropic/models/beta/sessions/thread_list_params.rbi +4 -4
  749. data/rbi/anthropic/models/beta/sessions/thread_retrieve_params.rbi +4 -4
  750. data/rbi/anthropic/models/beta/sessions/threads/event_list_params.rbi +4 -4
  751. data/rbi/anthropic/models/beta/sessions/threads/event_stream_params.rbi +4 -4
  752. data/rbi/anthropic/models/beta/skill_create_params.rbi +4 -4
  753. data/rbi/anthropic/models/beta/skill_delete_params.rbi +4 -4
  754. data/rbi/anthropic/models/beta/skill_list_params.rbi +4 -4
  755. data/rbi/anthropic/models/beta/skill_retrieve_params.rbi +4 -4
  756. data/rbi/anthropic/models/beta/skills/version_create_params.rbi +4 -4
  757. data/rbi/anthropic/models/beta/skills/version_delete_params.rbi +4 -4
  758. data/rbi/anthropic/models/beta/skills/version_download_params.rbi +4 -4
  759. data/rbi/anthropic/models/beta/skills/version_list_params.rbi +4 -4
  760. data/rbi/anthropic/models/beta/skills/version_retrieve_params.rbi +4 -4
  761. data/rbi/anthropic/models/beta/tunnel_archive_params.rbi +4 -4
  762. data/rbi/anthropic/models/beta/tunnel_create_params.rbi +4 -4
  763. data/rbi/anthropic/models/beta/tunnel_list_params.rbi +4 -4
  764. data/rbi/anthropic/models/beta/tunnel_retrieve_params.rbi +4 -4
  765. data/rbi/anthropic/models/beta/tunnel_reveal_token_params.rbi +4 -4
  766. data/rbi/anthropic/models/beta/tunnel_rotate_token_params.rbi +4 -4
  767. data/rbi/anthropic/models/beta/tunnels/certificate_archive_params.rbi +4 -4
  768. data/rbi/anthropic/models/beta/tunnels/certificate_create_params.rbi +4 -4
  769. data/rbi/anthropic/models/beta/tunnels/certificate_list_params.rbi +4 -4
  770. data/rbi/anthropic/models/beta/tunnels/certificate_retrieve_params.rbi +4 -4
  771. data/rbi/anthropic/models/beta/user_profile_create_enrollment_url_params.rbi +13 -4
  772. data/rbi/anthropic/models/beta/user_profile_create_params.rbi +13 -4
  773. data/rbi/anthropic/models/beta/user_profile_list_params.rbi +13 -4
  774. data/rbi/anthropic/models/beta/user_profile_retrieve_params.rbi +13 -4
  775. data/rbi/anthropic/models/beta/user_profile_update_params.rbi +13 -4
  776. data/rbi/anthropic/models/beta/vault_archive_params.rbi +4 -4
  777. data/rbi/anthropic/models/beta/vault_create_params.rbi +4 -4
  778. data/rbi/anthropic/models/beta/vault_delete_params.rbi +4 -4
  779. data/rbi/anthropic/models/beta/vault_list_params.rbi +4 -4
  780. data/rbi/anthropic/models/beta/vault_retrieve_params.rbi +4 -4
  781. data/rbi/anthropic/models/beta/vault_update_params.rbi +4 -4
  782. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +2 -1
  783. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbi +2 -4
  784. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbi +5 -0
  785. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +2 -1
  786. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbi +2 -4
  787. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbi +4 -4
  788. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbi +2 -4
  789. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbi +7 -0
  790. data/rbi/anthropic/models/beta/vaults/credential_archive_params.rbi +4 -4
  791. data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +6 -5
  792. data/rbi/anthropic/models/beta/vaults/credential_delete_params.rbi +4 -4
  793. data/rbi/anthropic/models/beta/vaults/credential_list_params.rbi +4 -4
  794. data/rbi/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rbi +4 -4
  795. data/rbi/anthropic/models/beta/vaults/credential_retrieve_params.rbi +4 -4
  796. data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +6 -5
  797. data/rbi/anthropic/models/beta_error.rbi +4 -3
  798. data/rbi/anthropic/models/browser_state_change.rbi +1 -7
  799. data/rbi/anthropic/models/citations_delta.rbi +1 -1
  800. data/rbi/anthropic/models/code_execution_tool_result_block.rbi +1 -7
  801. data/rbi/anthropic/models/code_execution_tool_result_block_content.rbi +0 -1
  802. data/rbi/anthropic/models/code_execution_tool_result_block_param.rbi +0 -2
  803. data/rbi/anthropic/models/code_execution_tool_result_block_param_content.rbi +0 -1
  804. data/rbi/anthropic/models/completion_create_params.rbi +4 -4
  805. data/rbi/anthropic/models/content_block.rbi +1 -4
  806. data/rbi/anthropic/models/content_block_param.rbi +3 -6
  807. data/rbi/anthropic/models/content_block_source_content.rbi +1 -1
  808. data/rbi/anthropic/models/document_block.rbi +1 -1
  809. data/rbi/anthropic/models/document_block_param.rbi +1 -1
  810. data/rbi/anthropic/models/error_object.rbi +4 -3
  811. data/rbi/anthropic/models/image_block_param.rbi +1 -1
  812. data/rbi/anthropic/models/message_count_tokens_tool.rbi +0 -2
  813. data/rbi/anthropic/models/messages/message_batch_result.rbi +1 -1
  814. data/rbi/anthropic/models/model_list_params.rbi +4 -4
  815. data/rbi/anthropic/models/model_retrieve_params.rbi +4 -4
  816. data/rbi/anthropic/models/raw_content_block_delta.rbi +1 -1
  817. data/rbi/anthropic/models/raw_content_block_start_event.rbi +3 -11
  818. data/rbi/anthropic/models/raw_message_stream_event.rbi +1 -2
  819. data/rbi/anthropic/models/server_tool_use_block.rbi +5 -13
  820. data/rbi/anthropic/models/server_tool_use_block_param.rbi +4 -6
  821. data/rbi/anthropic/models/text_citation.rbi +1 -1
  822. data/rbi/anthropic/models/text_citation_param.rbi +1 -1
  823. data/rbi/anthropic/models/thinking_config_param.rbi +1 -1
  824. data/rbi/anthropic/models/tool_choice.rbi +1 -1
  825. data/rbi/anthropic/models/tool_result_block_param.rbi +2 -2
  826. data/rbi/anthropic/models/tool_union.rbi +0 -2
  827. data/rbi/anthropic/models/tool_use_block.rbi +4 -6
  828. data/rbi/anthropic/models/tool_use_block_param.rbi +4 -6
  829. data/rbi/anthropic/models/web_fetch_tool_20250910.rbi +26 -1
  830. data/rbi/anthropic/models/web_fetch_tool_20260209.rbi +26 -1
  831. data/rbi/anthropic/models/web_fetch_tool_20260309.rbi +25 -0
  832. data/rbi/anthropic/models/web_fetch_tool_20260318.rbi +25 -0
  833. data/rbi/anthropic/models/web_fetch_tool_result_block.rbi +4 -6
  834. data/rbi/anthropic/models/web_fetch_tool_result_block_param.rbi +5 -6
  835. data/rbi/anthropic/models/web_fetch_url_source_all.rbi +25 -0
  836. data/rbi/anthropic/models/web_fetch_url_source_except.rbi +43 -0
  837. data/rbi/anthropic/models/web_fetch_url_source_none.rbi +25 -0
  838. data/rbi/anthropic/models/web_fetch_url_source_only.rbi +39 -0
  839. data/rbi/anthropic/models/web_fetch_url_source_tool_reference.rbi +31 -0
  840. data/rbi/anthropic/models/web_fetch_url_sources.rbi +388 -0
  841. data/rbi/anthropic/models/web_search_tool_result_block.rbi +4 -6
  842. data/rbi/anthropic/models/web_search_tool_result_block_param.rbi +11 -12
  843. data/rbi/anthropic/models/web_search_tool_result_block_param_content.rbi +2 -2
  844. data/rbi/anthropic/models.rbi +13 -0
  845. data/rbi/anthropic/resources/beta/agents/versions.rbi +2 -2
  846. data/rbi/anthropic/resources/beta/agents.rbi +12 -12
  847. data/rbi/anthropic/resources/beta/deployment_runs.rbi +3 -3
  848. data/rbi/anthropic/resources/beta/deployments.rbi +18 -18
  849. data/rbi/anthropic/resources/beta/dreams.rbi +8 -10
  850. data/rbi/anthropic/resources/beta/environments/work.rbi +8 -8
  851. data/rbi/anthropic/resources/beta/environments.rbi +6 -6
  852. data/rbi/anthropic/resources/beta/files.rbi +5 -5
  853. data/rbi/anthropic/resources/beta/memory_stores/memories.rbi +5 -5
  854. data/rbi/anthropic/resources/beta/memory_stores/memory_versions.rbi +3 -3
  855. data/rbi/anthropic/resources/beta/memory_stores.rbi +17 -10
  856. data/rbi/anthropic/resources/beta/messages/batches.rbi +6 -6
  857. data/rbi/anthropic/resources/beta/messages.rbi +60 -16
  858. data/rbi/anthropic/resources/beta/models.rbi +2 -2
  859. data/rbi/anthropic/resources/beta/organization/federation/issuers.rbi +5 -5
  860. data/rbi/anthropic/resources/beta/organization/federation/rules/workspaces.rbi +3 -3
  861. data/rbi/anthropic/resources/beta/organization/federation/rules.rbi +5 -5
  862. data/rbi/anthropic/resources/beta/organization/service_accounts/workspaces.rbi +3 -3
  863. data/rbi/anthropic/resources/beta/organization/service_accounts.rbi +5 -5
  864. data/rbi/anthropic/resources/beta/organization/workspaces/service_accounts.rbi +5 -5
  865. data/rbi/anthropic/resources/beta/organization/workspaces.rbi +1 -1
  866. data/rbi/anthropic/resources/beta/sessions/events.rbi +3 -3
  867. data/rbi/anthropic/resources/beta/sessions/resources.rbi +5 -5
  868. data/rbi/anthropic/resources/beta/sessions/threads/events.rbi +2 -2
  869. data/rbi/anthropic/resources/beta/sessions/threads.rbi +3 -3
  870. data/rbi/anthropic/resources/beta/sessions.rbi +8 -8
  871. data/rbi/anthropic/resources/beta/skills/versions.rbi +5 -5
  872. data/rbi/anthropic/resources/beta/skills.rbi +4 -4
  873. data/rbi/anthropic/resources/beta/tunnels/certificates.rbi +10 -10
  874. data/rbi/anthropic/resources/beta/tunnels.rbi +10 -10
  875. data/rbi/anthropic/resources/beta/user_profiles.rbi +45 -5
  876. data/rbi/anthropic/resources/beta/vaults/credentials.rbi +19 -19
  877. data/rbi/anthropic/resources/beta/vaults.rbi +10 -10
  878. data/rbi/anthropic/resources/completions.rbi +2 -2
  879. data/rbi/anthropic/resources/models.rbi +2 -2
  880. data/sig/anthropic/client.rbs +1 -0
  881. data/sig/anthropic/internal/transport/base_client.rbs +1 -0
  882. data/sig/anthropic/internal/transport/pooled_net_requester.rbs +10 -2
  883. data/sig/anthropic/models/anthropic_beta.rbs +4 -2
  884. data/sig/anthropic/models/beta/agent_create_params.rbs +4 -3
  885. data/sig/anthropic/models/beta/agent_update_params.rbs +4 -3
  886. data/sig/anthropic/models/beta/beta_browser_state_change.rbs +2 -1
  887. data/sig/anthropic/models/beta/beta_citations_delta.rbs +2 -1
  888. data/sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbs +2 -1
  889. data/sig/anthropic/models/beta/beta_cloud_config.rbs +2 -1
  890. data/sig/anthropic/models/beta/beta_cloud_config_params.rbs +2 -1
  891. data/sig/anthropic/models/beta/beta_compaction_block.rbs +11 -2
  892. data/sig/anthropic/models/beta/beta_compaction_block_param.rbs +7 -2
  893. data/sig/anthropic/models/beta/beta_compaction_capability.rbs +26 -0
  894. data/sig/anthropic/models/beta/beta_compaction_config.rbs +19 -0
  895. data/sig/anthropic/models/beta/beta_content_block.rbs +4 -3
  896. data/sig/anthropic/models/beta/beta_content_block_param.rbs +5 -3
  897. data/sig/anthropic/models/beta/beta_content_block_source_content.rbs +2 -1
  898. data/sig/anthropic/models/beta/beta_context_management_config.rbs +2 -1
  899. data/sig/anthropic/models/beta/beta_context_management_response.rbs +2 -1
  900. data/sig/anthropic/models/beta/beta_diagnostics.rbs +2 -1
  901. data/sig/anthropic/models/beta/beta_document_block.rbs +2 -1
  902. data/sig/anthropic/models/beta/beta_dream_input.rbs +1 -1
  903. data/sig/anthropic/models/beta/beta_dream_status.rbs +15 -0
  904. data/sig/anthropic/models/beta/beta_dreaming_error.rbs +1 -1
  905. data/sig/anthropic/models/beta/beta_environment.rbs +2 -1
  906. data/sig/anthropic/models/beta/beta_fallback_credit_usage.rbs +2 -1
  907. data/sig/anthropic/models/beta/beta_fallback_param.rbs +2 -1
  908. data/sig/anthropic/models/beta/beta_fallbacks_param.rbs +1 -1
  909. data/sig/anthropic/models/beta/beta_image_block_param.rbs +2 -1
  910. data/sig/anthropic/models/beta/beta_input_transformation.rbs +47 -0
  911. data/sig/anthropic/models/beta/beta_iterations_usage.rbs +4 -3
  912. data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +4 -2
  913. data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbs +2 -1
  914. data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbs +2 -1
  915. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbs +2 -1
  916. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbs +2 -1
  917. data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +4 -3
  918. data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +2 -1
  919. data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +2 -1
  920. data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbs +2 -1
  921. data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbs +2 -1
  922. data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbs +2 -1
  923. data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbs +2 -1
  924. data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +2 -1
  925. data/sig/anthropic/models/beta/beta_managed_agents_deployment_status.rbs +3 -0
  926. data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbs +2 -1
  927. data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbs +2 -1
  928. data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +2 -1
  929. data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +2 -1
  930. data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbs +2 -1
  931. data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +2 -1
  932. data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +2 -1
  933. data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +2 -1
  934. data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +2 -1
  935. data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +2 -1
  936. data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbs +2 -1
  937. data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbs +2 -1
  938. data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbs +2 -1
  939. data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbs +2 -1
  940. data/sig/anthropic/models/beta/beta_managed_agents_model_config.rbs +2 -1
  941. data/sig/anthropic/models/beta/beta_managed_agents_model_config_params.rbs +9 -0
  942. data/sig/anthropic/models/beta/beta_managed_agents_multiagent.rbs +2 -1
  943. data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbs +2 -1
  944. data/sig/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rbs +2 -2
  945. data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +2 -1
  946. data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +2 -1
  947. data/sig/anthropic/models/beta/beta_managed_agents_session.rbs +7 -0
  948. data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +4 -2
  949. data/sig/anthropic/models/beta/beta_managed_agents_session_agent_update.rbs +2 -1
  950. data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +2 -1
  951. data/sig/anthropic/models/beta/beta_managed_agents_session_resource_config.rbs +2 -1
  952. data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +4 -2
  953. data/sig/anthropic/models/beta/beta_managed_agents_skill_params.rbs +2 -1
  954. data/sig/anthropic/models/beta/beta_managed_agents_start_event_preview.rbs +2 -1
  955. data/sig/anthropic/models/beta/beta_managed_agents_trigger_context.rbs +2 -1
  956. data/sig/anthropic/models/beta/beta_managed_agents_trigger_type.rbs +3 -0
  957. data/sig/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbs +2 -1
  958. data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +2 -1
  959. data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +2 -1
  960. data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +2 -1
  961. data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +2 -1
  962. data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +2 -1
  963. data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +2 -1
  964. data/sig/anthropic/models/beta/beta_memory_tool_20250818_command.rbs +2 -1
  965. data/sig/anthropic/models/beta/beta_message.rbs +4 -4
  966. data/sig/anthropic/models/beta/beta_message_iteration_usage.rbs +4 -4
  967. data/sig/anthropic/models/beta/beta_model_capabilities.rbs +5 -0
  968. data/sig/anthropic/models/beta/beta_output_behavior.rbs +1 -1
  969. data/sig/anthropic/models/beta/beta_raw_content_block_delta.rbs +2 -1
  970. data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +5 -3
  971. data/sig/anthropic/models/beta/beta_raw_message_delta_event.rbs +4 -4
  972. data/sig/anthropic/models/beta/beta_raw_message_stream_event.rbs +4 -3
  973. data/sig/anthropic/models/beta/beta_request_document_block.rbs +2 -1
  974. data/sig/anthropic/models/beta/beta_request_tool_addition_block.rbs +2 -1
  975. data/sig/anthropic/models/beta/beta_request_tool_removal_block.rbs +2 -1
  976. data/sig/anthropic/models/beta/beta_server_tool_use_block.rbs +2 -1
  977. data/sig/anthropic/models/beta/beta_server_tool_use_block_param.rbs +2 -1
  978. data/sig/anthropic/models/beta/beta_summarize_compaction.rbs +20 -0
  979. data/sig/anthropic/models/beta/beta_text_citation.rbs +1 -1
  980. data/sig/anthropic/models/beta/beta_text_citation_param.rbs +2 -1
  981. data/sig/anthropic/models/beta/beta_thinking_config_param.rbs +2 -1
  982. data/sig/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rbs +51 -0
  983. data/sig/anthropic/models/beta/beta_tool_choice.rbs +1 -1
  984. data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +2 -1
  985. data/sig/anthropic/models/beta/beta_tool_use_block.rbs +2 -1
  986. data/sig/anthropic/models/beta/beta_tool_use_block_param.rbs +2 -1
  987. data/sig/anthropic/models/beta/beta_web_fetch_tool_20250910.rbs +7 -2
  988. data/sig/anthropic/models/beta/beta_web_fetch_tool_20260209.rbs +7 -2
  989. data/sig/anthropic/models/beta/beta_web_fetch_tool_20260309.rbs +5 -0
  990. data/sig/anthropic/models/beta/beta_web_fetch_tool_20260318.rbs +5 -0
  991. data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block.rbs +2 -1
  992. data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbs +2 -1
  993. data/sig/anthropic/models/beta/beta_web_fetch_url_source_all.rbs +17 -0
  994. data/sig/anthropic/models/beta/beta_web_fetch_url_source_except.rbs +29 -0
  995. data/sig/anthropic/models/beta/beta_web_fetch_url_source_none.rbs +17 -0
  996. data/sig/anthropic/models/beta/beta_web_fetch_url_source_only.rbs +29 -0
  997. data/sig/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rbs +20 -0
  998. data/sig/anthropic/models/beta/beta_web_fetch_url_sources.rbs +165 -0
  999. data/sig/anthropic/models/beta/beta_web_search_tool_result_block.rbs +2 -1
  1000. data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param.rbs +2 -1
  1001. data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rbs +2 -2
  1002. data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +1 -1
  1003. data/sig/anthropic/models/beta/deployment_create_params.rbs +3 -2
  1004. data/sig/anthropic/models/beta/deployment_update_params.rbs +3 -2
  1005. data/sig/anthropic/models/beta/dream_create_params.rbs +1 -1
  1006. data/sig/anthropic/models/beta/environment_create_params.rbs +2 -1
  1007. data/sig/anthropic/models/beta/environment_update_params.rbs +2 -1
  1008. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbs +2 -1
  1009. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbs +2 -1
  1010. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbs +2 -1
  1011. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbs +5 -0
  1012. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbs +3 -0
  1013. data/sig/anthropic/models/beta/message_count_tokens_params.rbs +5 -0
  1014. data/sig/anthropic/models/beta/message_create_params.rbs +6 -1
  1015. data/sig/anthropic/models/beta/messages/batch_create_params.rbs +6 -1
  1016. data/sig/anthropic/models/beta/messages/beta_message_batch_result.rbs +2 -1
  1017. data/sig/anthropic/models/beta/organization/beta_api_key.rbs +4 -2
  1018. data/sig/anthropic/models/beta/organization/beta_compliance_settings_state.rbs +2 -1
  1019. data/sig/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbs +2 -1
  1020. data/sig/anthropic/models/beta/organization/beta_data_residency.rbs +33 -10
  1021. data/sig/anthropic/models/beta/organization/beta_data_residency_create_config.rbs +2 -2
  1022. data/sig/anthropic/models/beta/organization/beta_data_residency_update_config.rbs +2 -2
  1023. data/sig/anthropic/models/beta/organization/beta_external_key.rbs +4 -2
  1024. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs +73 -0
  1025. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbs +20 -0
  1026. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbs +20 -0
  1027. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbs +30 -0
  1028. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbs +20 -0
  1029. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbs +20 -0
  1030. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbs +20 -0
  1031. data/sig/anthropic/models/beta/organization/external_key_create_params.rbs +2 -1
  1032. data/sig/anthropic/models/beta/organization/external_key_update_params.rbs +2 -1
  1033. data/sig/anthropic/models/beta/organization/federation/beta_federation_issuer.rbs +2 -1
  1034. data/sig/anthropic/models/beta/organization/federation/issuer_create_params.rbs +2 -1
  1035. data/sig/anthropic/models/beta/organization/federation/issuer_update_params.rbs +2 -1
  1036. data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbs +73 -0
  1037. data/sig/anthropic/models/beta/session_create_params.rbs +6 -4
  1038. data/sig/anthropic/models/beta/session_list_params.rbs +7 -0
  1039. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbs +2 -1
  1040. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbs +2 -1
  1041. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbs +2 -1
  1042. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbs +2 -1
  1043. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbs +2 -1
  1044. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbs +2 -1
  1045. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbs +2 -1
  1046. data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +2 -1
  1047. data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +2 -1
  1048. data/sig/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbs +2 -1
  1049. data/sig/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbs +2 -1
  1050. data/sig/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbs +2 -1
  1051. data/sig/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbs +2 -1
  1052. data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +2 -1
  1053. data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +2 -1
  1054. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +2 -1
  1055. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +2 -1
  1056. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +2 -1
  1057. data/sig/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbs +2 -1
  1058. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +2 -1
  1059. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +2 -1
  1060. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbs +2 -1
  1061. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbs +2 -1
  1062. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +2 -1
  1063. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbs +2 -1
  1064. data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +2 -1
  1065. data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +2 -1
  1066. data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +2 -1
  1067. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbs +2 -1
  1068. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbs +2 -1
  1069. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbs +2 -1
  1070. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbs +2 -1
  1071. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbs +2 -1
  1072. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbs +2 -1
  1073. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbs +2 -1
  1074. data/sig/anthropic/models/beta/sessions/resource_retrieve_response.rbs +2 -1
  1075. data/sig/anthropic/models/beta/sessions/resource_update_response.rbs +2 -1
  1076. data/sig/anthropic/models/beta/user_profile_create_enrollment_url_params.rbs +8 -1
  1077. data/sig/anthropic/models/beta/user_profile_create_params.rbs +8 -1
  1078. data/sig/anthropic/models/beta/user_profile_list_params.rbs +8 -1
  1079. data/sig/anthropic/models/beta/user_profile_retrieve_params.rbs +8 -1
  1080. data/sig/anthropic/models/beta/user_profile_update_params.rbs +8 -1
  1081. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential.rbs +2 -1
  1082. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbs +2 -1
  1083. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbs +5 -0
  1084. data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs +2 -1
  1085. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbs +2 -1
  1086. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbs +2 -1
  1087. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbs +2 -1
  1088. data/sig/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbs +7 -0
  1089. data/sig/anthropic/models/beta/vaults/credential_create_params.rbs +2 -1
  1090. data/sig/anthropic/models/beta/vaults/credential_update_params.rbs +2 -1
  1091. data/sig/anthropic/models/beta_error.rbs +1 -1
  1092. data/sig/anthropic/models/browser_state_change.rbs +1 -1
  1093. data/sig/anthropic/models/citations_delta.rbs +1 -1
  1094. data/sig/anthropic/models/content_block.rbs +1 -1
  1095. data/sig/anthropic/models/content_block_param.rbs +1 -1
  1096. data/sig/anthropic/models/content_block_source_content.rbs +1 -1
  1097. data/sig/anthropic/models/document_block.rbs +1 -1
  1098. data/sig/anthropic/models/document_block_param.rbs +1 -1
  1099. data/sig/anthropic/models/error_object.rbs +1 -1
  1100. data/sig/anthropic/models/image_block_param.rbs +1 -1
  1101. data/sig/anthropic/models/messages/message_batch_result.rbs +2 -1
  1102. data/sig/anthropic/models/raw_content_block_delta.rbs +1 -1
  1103. data/sig/anthropic/models/raw_content_block_start_event.rbs +2 -1
  1104. data/sig/anthropic/models/raw_message_stream_event.rbs +1 -1
  1105. data/sig/anthropic/models/server_tool_use_block.rbs +1 -1
  1106. data/sig/anthropic/models/server_tool_use_block_param.rbs +2 -1
  1107. data/sig/anthropic/models/text_citation.rbs +1 -1
  1108. data/sig/anthropic/models/text_citation_param.rbs +1 -1
  1109. data/sig/anthropic/models/thinking_config_param.rbs +1 -1
  1110. data/sig/anthropic/models/tool_choice.rbs +1 -1
  1111. data/sig/anthropic/models/tool_result_block_param.rbs +2 -1
  1112. data/sig/anthropic/models/tool_use_block.rbs +1 -1
  1113. data/sig/anthropic/models/tool_use_block_param.rbs +1 -1
  1114. data/sig/anthropic/models/web_fetch_tool_20250910.rbs +7 -2
  1115. data/sig/anthropic/models/web_fetch_tool_20260209.rbs +7 -2
  1116. data/sig/anthropic/models/web_fetch_tool_20260309.rbs +5 -0
  1117. data/sig/anthropic/models/web_fetch_tool_20260318.rbs +5 -0
  1118. data/sig/anthropic/models/web_fetch_tool_result_block.rbs +2 -1
  1119. data/sig/anthropic/models/web_fetch_tool_result_block_param.rbs +2 -1
  1120. data/sig/anthropic/models/web_fetch_url_source_all.rbs +13 -0
  1121. data/sig/anthropic/models/web_fetch_url_source_except.rbs +25 -0
  1122. data/sig/anthropic/models/web_fetch_url_source_none.rbs +13 -0
  1123. data/sig/anthropic/models/web_fetch_url_source_only.rbs +22 -0
  1124. data/sig/anthropic/models/web_fetch_url_source_tool_reference.rbs +16 -0
  1125. data/sig/anthropic/models/web_fetch_url_sources.rbs +154 -0
  1126. data/sig/anthropic/models/web_search_tool_result_block.rbs +2 -1
  1127. data/sig/anthropic/models/web_search_tool_result_block_param.rbs +2 -1
  1128. data/sig/anthropic/models/web_search_tool_result_block_param_content.rbs +2 -2
  1129. data/sig/anthropic/models.rbs +12 -0
  1130. data/sig/anthropic/resources/beta/messages.rbs +4 -0
  1131. data/sig/anthropic/resources/beta/user_profiles.rbs +5 -0
  1132. metadata +71 -16
@@ -103,7 +103,7 @@ module Anthropic
103
103
  # Creates a new instance of the variant class whose `type` matches the given
104
104
  # value, passing the remaining arguments to its constructor.
105
105
  #
106
- # @param type [Symbol, String]
106
+ # @param type [Symbol, Anthropic::Models::Beta::BetaClearToolUses20250919Edit::Trigger::Type, String]
107
107
  #
108
108
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
109
109
  #
@@ -64,7 +64,7 @@ module Anthropic
64
64
  # Some parameter documentations has been truncated, see
65
65
  # {Anthropic::Models::Beta::BetaCloudConfig::Networking} for more details.
66
66
  #
67
- # @param type [Symbol, String]
67
+ # @param type [Symbol, Anthropic::Models::Beta::BetaCloudConfig::Networking::Type, String]
68
68
  #
69
69
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
70
70
  #
@@ -79,7 +79,7 @@ module Anthropic
79
79
  # Some parameter documentations has been truncated, see
80
80
  # {Anthropic::Models::Beta::BetaCloudConfigParams::Networking} for more details.
81
81
  #
82
- # @param type [Symbol, String]
82
+ # @param type [Symbol, Anthropic::Models::Beta::BetaCloudConfigParams::Networking::Type, String]
83
83
  #
84
84
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
85
85
  #
@@ -5,7 +5,6 @@ module Anthropic
5
5
  module Beta
6
6
  class BetaCodeExecutionToolResultBlock < Anthropic::Internal::Type::BaseModel
7
7
  # @!attribute content
8
- # Code execution result with encrypted stdout for PFC + web_search results.
9
8
  #
10
9
  # @return [Anthropic::Models::Beta::BetaCodeExecutionToolResultError, Anthropic::Models::Beta::BetaCodeExecutionResultBlock, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlock]
11
10
  required :content, union: -> { Anthropic::Beta::BetaCodeExecutionToolResultBlockContent }
@@ -21,10 +20,8 @@ module Anthropic
21
20
  required :type, const: :code_execution_tool_result
22
21
 
23
22
  # @!method initialize(content:, tool_use_id:, type: :code_execution_tool_result)
24
- # @param content [Anthropic::Models::Beta::BetaCodeExecutionToolResultError, Anthropic::Models::Beta::BetaCodeExecutionResultBlock, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlock] Code execution result with encrypted stdout for PFC + web_search results.
25
- #
23
+ # @param content [Anthropic::Models::Beta::BetaCodeExecutionToolResultError, Anthropic::Models::Beta::BetaCodeExecutionResultBlock, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlock]
26
24
  # @param tool_use_id [String]
27
- #
28
25
  # @param type [Symbol, :code_execution_tool_result]
29
26
  end
30
27
  end
@@ -3,7 +3,6 @@
3
3
  module Anthropic
4
4
  module Models
5
5
  module Beta
6
- # Code execution result with encrypted stdout for PFC + web_search results.
7
6
  module BetaCodeExecutionToolResultBlockContent
8
7
  extend Anthropic::Internal::Type::Union
9
8
 
@@ -5,7 +5,6 @@ module Anthropic
5
5
  module Beta
6
6
  class BetaCodeExecutionToolResultBlockParam < Anthropic::Internal::Type::BaseModel
7
7
  # @!attribute content
8
- # Code execution result with encrypted stdout for PFC + web_search results.
9
8
  #
10
9
  # @return [Anthropic::Models::Beta::BetaCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlockParam]
11
10
  required :content, union: -> { Anthropic::Beta::BetaCodeExecutionToolResultBlockParamContent }
@@ -27,7 +26,7 @@ module Anthropic
27
26
  optional :cache_control, -> { Anthropic::Beta::BetaCacheControlEphemeral }, nil?: true
28
27
 
29
28
  # @!method initialize(content:, tool_use_id:, cache_control: nil, type: :code_execution_tool_result)
30
- # @param content [Anthropic::Models::Beta::BetaCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlockParam] Code execution result with encrypted stdout for PFC + web_search results.
29
+ # @param content [Anthropic::Models::Beta::BetaCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlockParam]
31
30
  #
32
31
  # @param tool_use_id [String]
33
32
  #
@@ -3,7 +3,6 @@
3
3
  module Anthropic
4
4
  module Models
5
5
  module Beta
6
- # Code execution result with encrypted stdout for PFC + web_search results.
7
6
  module BetaCodeExecutionToolResultBlockParamContent
8
7
  extend Anthropic::Internal::Type::Union
9
8
 
@@ -21,7 +21,13 @@ module Anthropic
21
21
  # @return [Symbol, :compaction]
22
22
  required :type, const: :compaction
23
23
 
24
- # @!method initialize(content:, encrypted_content:, type: :compaction)
24
+ # @!attribute signature
25
+ # Signature over the summary, to be sent back with the block verbatim
26
+ #
27
+ # @return [String, nil]
28
+ optional :signature, String, nil?: true
29
+
30
+ # @!method initialize(content:, encrypted_content:, signature: nil, type: :compaction)
25
31
  # A compaction block returned when autocompact is triggered.
26
32
  #
27
33
  # When content is None, it indicates the compaction failed to produce a valid
@@ -32,6 +38,8 @@ module Anthropic
32
38
  #
33
39
  # @param encrypted_content [String, nil] Opaque metadata from prior compaction, to be round-tripped verbatim
34
40
  #
41
+ # @param signature [String, nil] Signature over the summary, to be sent back with the block verbatim
42
+ #
35
43
  # @param type [Symbol, :compaction]
36
44
  end
37
45
  end
@@ -27,7 +27,13 @@ module Anthropic
27
27
  # @return [String, nil]
28
28
  optional :encrypted_content, String, nil?: true
29
29
 
30
- # @!method initialize(cache_control: nil, content: nil, encrypted_content: nil, type: :compaction)
30
+ # @!attribute signature
31
+ # The block's signature as returned, to be sent back verbatim
32
+ #
33
+ # @return [String, nil]
34
+ optional :signature, String, nil?: true
35
+
36
+ # @!method initialize(cache_control: nil, content: nil, encrypted_content: nil, signature: nil, type: :compaction)
31
37
  # A compaction block containing summary of previous context.
32
38
  #
33
39
  # Users should round-trip these blocks from responses to subsequent requests to
@@ -42,6 +48,8 @@ module Anthropic
42
48
  #
43
49
  # @param encrypted_content [String, nil] Opaque metadata from prior compaction, to be round-tripped verbatim
44
50
  #
51
+ # @param signature [String, nil] The block's signature as returned, to be sent back verbatim
52
+ #
45
53
  # @param type [Symbol, :compaction]
46
54
  end
47
55
  end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ class BetaCompactionCapability < Anthropic::Internal::Type::BaseModel
7
+ # @!attribute summarize
8
+ # Whether the summarize compaction type is supported.
9
+ #
10
+ # @return [Anthropic::Models::Beta::BetaCapabilitySupport]
11
+ required :summarize, -> { Anthropic::Beta::BetaCapabilitySupport }
12
+
13
+ # @!attribute supported
14
+ # Whether this capability is supported by the model.
15
+ #
16
+ # @return [Boolean]
17
+ required :supported, Anthropic::Internal::Type::Boolean
18
+
19
+ # @!method initialize(summarize:, supported:)
20
+ # Compaction capability details: whether the model accepts the top-level
21
+ # `compaction` request parameter, with one entry per supported `compaction.type`
22
+ # value.
23
+ #
24
+ # @param summarize [Anthropic::Models::Beta::BetaCapabilitySupport] Whether the summarize compaction type is supported.
25
+ #
26
+ # @param supported [Boolean] Whether this capability is supported by the model.
27
+ end
28
+ end
29
+
30
+ BetaCompactionCapability = Beta::BetaCompactionCapability
31
+ end
32
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ class BetaCompactionConfig < Anthropic::Internal::Type::BaseModel
7
+ # @!attribute type
8
+ #
9
+ # @return [Symbol, :summarize]
10
+ required :type, const: :summarize
11
+
12
+ # @!attribute instructions
13
+ # Replaces the server's default summarization prompt for this request. An empty or
14
+ # whitespace-only value counts as absent.
15
+ #
16
+ # @return [String, nil]
17
+ optional :instructions, String, nil?: true
18
+
19
+ # @!method initialize(instructions: nil, type: :summarize)
20
+ # Compact the whole conversation and return a signed `compaction` block, alone,
21
+ # that a later request sends back first in `messages`, in place of the messages it
22
+ # summarizes. There is no trigger and no pause flag: sending the parameter
23
+ # compacts, and nothing is sampled after the block.
24
+ #
25
+ # The summarization prompt is the server's own unless `instructions` are given,
26
+ # which then replace it for this request; a value that is empty or only whitespace
27
+ # counts as absent.
28
+ #
29
+ # Some parameter documentations has been truncated, see
30
+ # {Anthropic::Models::Beta::BetaCompactionConfig} for more details.
31
+ #
32
+ # @param instructions [String, nil] Replaces the server's default summarization prompt for this request. An empty or
33
+ #
34
+ # @param type [Symbol, :summarize]
35
+ end
36
+ end
37
+
38
+ BetaCompactionConfig = Beta::BetaCompactionConfig
39
+ end
40
+ end
@@ -3,7 +3,6 @@
3
3
  module Anthropic
4
4
  module Models
5
5
  module Beta
6
- # Response model for a file uploaded to the container.
7
6
  module BetaContentBlock
8
7
  extend Anthropic::Internal::Type::Union
9
8
 
@@ -95,7 +94,7 @@ module Anthropic
95
94
  # Some parameter documentations has been truncated, see
96
95
  # {Anthropic::Models::Beta::BetaContentBlock} for more details.
97
96
  #
98
- # @param type [Symbol, String]
97
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContentBlock::Type, String]
99
98
  #
100
99
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
101
100
  #
@@ -103,7 +102,7 @@ module Anthropic
103
102
  #
104
103
  # @option args [String] :text
105
104
  #
106
- # @option args [String] :signature A value used to verify that this thinking block was generated by Claude when it
105
+ # @option args [String, String, nil] :signature A value used to verify that this thinking block was generated by Claude when it
107
106
  #
108
107
  # @option args [String] :thinking The text of Claude's thinking process for this block.
109
108
  #
@@ -115,11 +114,11 @@ module Anthropic
115
114
  #
116
115
  # @option args [String, Symbol, Anthropic::Models::Beta::BetaServerToolUseBlock::Name] :name The name of the MCP tool
117
116
  #
118
- # @option args [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] :caller_ Tool invocation directly from the model.
117
+ # @option args [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] :caller_
119
118
  #
120
119
  # @option args [String, nil] :toolset_name For a toolset member tool_use, the toolset family.
121
120
  #
122
- # @option args [Anthropic::Models::Beta::BetaWebSearchToolResultError, Array<Anthropic::Models::Beta::BetaWebSearchResultBlock>, Anthropic::Models::Beta::BetaWebFetchToolResultErrorBlock, Anthropic::Models::Beta::BetaWebFetchBlock, Anthropic::Models::Beta::BetaAdvisorToolResultError, Anthropic::Models::Beta::BetaAdvisorResultBlock, Anthropic::Models::Beta::BetaAdvisorRedactedResultBlock, Anthropic::Models::Beta::BetaCodeExecutionToolResultError, Anthropic::Models::Beta::BetaCodeExecutionResultBlock, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlock, Anthropic::Models::Beta::BetaBashCodeExecutionToolResultError, Anthropic::Models::Beta::BetaBashCodeExecutionResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultError, Anthropic::Models::Beta::BetaTextEditorCodeExecutionViewResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionCreateResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionStrReplaceResultBlock, Anthropic::Models::Beta::BetaToolSearchToolResultError, Anthropic::Models::Beta::BetaToolSearchToolSearchResultBlock, String, Array<Anthropic::Models::Beta::BetaTextBlock>, String, nil] :content Code execution result with encrypted stdout for PFC + web_search results.
121
+ # @option args [Anthropic::Models::Beta::BetaWebSearchToolResultError, Array<Anthropic::Models::Beta::BetaWebSearchResultBlock>, Anthropic::Models::Beta::BetaWebFetchToolResultErrorBlock, Anthropic::Models::Beta::BetaWebFetchBlock, Anthropic::Models::Beta::BetaAdvisorToolResultError, Anthropic::Models::Beta::BetaAdvisorResultBlock, Anthropic::Models::Beta::BetaAdvisorRedactedResultBlock, Anthropic::Models::Beta::BetaCodeExecutionToolResultError, Anthropic::Models::Beta::BetaCodeExecutionResultBlock, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlock, Anthropic::Models::Beta::BetaBashCodeExecutionToolResultError, Anthropic::Models::Beta::BetaBashCodeExecutionResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultError, Anthropic::Models::Beta::BetaTextEditorCodeExecutionViewResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionCreateResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionStrReplaceResultBlock, Anthropic::Models::Beta::BetaToolSearchToolResultError, Anthropic::Models::Beta::BetaToolSearchToolSearchResultBlock, String, Array<Anthropic::Models::Beta::BetaTextBlock>, String, nil] :content Summary of compacted content, or null if compaction failed
123
122
  #
124
123
  # @option args [String] :tool_use_id
125
124
  #
@@ -3,7 +3,6 @@
3
3
  module Anthropic
4
4
  module Models
5
5
  module Beta
6
- # Regular text content.
7
6
  module BetaContentBlockParam
8
7
  extend Anthropic::Internal::Type::Union
9
8
 
@@ -137,7 +136,7 @@ module Anthropic
137
136
  # Some parameter documentations has been truncated, see
138
137
  # {Anthropic::Models::Beta::BetaContentBlockParam} for more details.
139
138
  #
140
- # @param type [Symbol, String]
139
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContentBlockParam::Type, String]
141
140
  #
142
141
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
143
142
  #
@@ -155,9 +154,9 @@ module Anthropic
155
154
  #
156
155
  # @option args [String, nil, String] :title
157
156
  #
158
- # @option args [Array<Anthropic::Models::Beta::BetaTextBlockParam>, String, Array<Anthropic::Models::Beta::BetaTextBlockParam, Anthropic::Models::Beta::BetaImageBlockParam, Anthropic::Models::Beta::BetaSearchResultBlockParam, Anthropic::Models::Beta::BetaRequestDocumentBlock, Anthropic::Models::Beta::BetaToolReferenceBlockParam, Anthropic::Models::Beta::BetaBrowserStateBlockParam>, Array<Anthropic::Models::Beta::BetaWebSearchResultBlockParam>, Anthropic::Models::Beta::BetaWebSearchToolRequestError, Anthropic::Models::Beta::BetaWebFetchToolResultErrorBlockParam, Anthropic::Models::Beta::BetaWebFetchBlockParam, Anthropic::Models::Beta::BetaAdvisorToolResultErrorParam, Anthropic::Models::Beta::BetaAdvisorResultBlockParam, Anthropic::Models::Beta::BetaAdvisorRedactedResultBlockParam, Anthropic::Models::Beta::BetaCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaBashCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaBashCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionViewResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionCreateResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionStrReplaceResultBlockParam, Anthropic::Models::Beta::BetaToolSearchToolResultErrorParam, Anthropic::Models::Beta::BetaToolSearchToolSearchResultBlockParam, String, Array<Anthropic::Models::Beta::BetaTextBlockParam>, String, nil] :content Code execution result with encrypted stdout for PFC + web_search results.
157
+ # @option args [Array<Anthropic::Models::Beta::BetaTextBlockParam>, String, Array<Anthropic::Models::Beta::BetaTextBlockParam, Anthropic::Models::Beta::BetaImageBlockParam, Anthropic::Models::Beta::BetaSearchResultBlockParam, Anthropic::Models::Beta::BetaRequestDocumentBlock, Anthropic::Models::Beta::BetaToolReferenceBlockParam, Anthropic::Models::Beta::BetaBrowserStateBlockParam>, Anthropic::Models::Beta::BetaWebSearchToolRequestError, Array<Anthropic::Models::Beta::BetaWebSearchResultBlockParam>, Anthropic::Models::Beta::BetaWebFetchToolResultErrorBlockParam, Anthropic::Models::Beta::BetaWebFetchBlockParam, Anthropic::Models::Beta::BetaAdvisorToolResultErrorParam, Anthropic::Models::Beta::BetaAdvisorResultBlockParam, Anthropic::Models::Beta::BetaAdvisorRedactedResultBlockParam, Anthropic::Models::Beta::BetaCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaBashCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaBashCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionViewResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionCreateResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionStrReplaceResultBlockParam, Anthropic::Models::Beta::BetaToolSearchToolResultErrorParam, Anthropic::Models::Beta::BetaToolSearchToolSearchResultBlockParam, String, Array<Anthropic::Models::Beta::BetaTextBlockParam>, String, nil] :content Summary of previously compacted content, or null if compaction failed
159
158
  #
160
- # @option args [String] :signature The `signature` value of this thinking block, exactly as returned by the API in
159
+ # @option args [String, String, nil] :signature The `signature` value of this thinking block, exactly as returned by the API in
161
160
  #
162
161
  # @option args [String] :thinking The `thinking` text of this block as returned by the API.
163
162
  #
@@ -169,7 +168,7 @@ module Anthropic
169
168
  #
170
169
  # @option args [String, Symbol, Anthropic::Models::Beta::BetaServerToolUseBlockParam::Name] :name
171
170
  #
172
- # @option args [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] :caller_ Tool invocation directly from the model.
171
+ # @option args [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] :caller_
173
172
  #
174
173
  # @option args [String, nil] :toolset_name For a toolset member tool_use, the toolset family this member belongs to.
175
174
  #
@@ -183,7 +182,7 @@ module Anthropic
183
182
  #
184
183
  # @option args [String, nil] :encrypted_content Opaque metadata from prior compaction, to be round-tripped verbatim
185
184
  #
186
- # @option args [Anthropic::Models::Beta::BetaToolChangeToolReference, Anthropic::Models::Beta::BetaToolChangeMCPToolReference, Anthropic::Models::Beta::BetaToolChangeMCPToolsetReference] :tool Reference to a single tool the caller declared directly in
185
+ # @option args [Anthropic::Models::Beta::BetaToolChangeToolReference, Anthropic::Models::Beta::BetaToolChangeMCPToolReference, Anthropic::Models::Beta::BetaToolChangeMCPToolsetReference] :tool
187
186
  #
188
187
  # @option args [Anthropic::Models::Beta::BetaFallbackInfoParam] :from Identifies one hop of a fallback transition.
189
188
  #
@@ -31,7 +31,7 @@ module Anthropic
31
31
  # Some parameter documentations has been truncated, see
32
32
  # {Anthropic::Models::Beta::BetaContentBlockSourceContent} for more details.
33
33
  #
34
- # @param type [Symbol, String]
34
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContentBlockSourceContent::Type, String]
35
35
  #
36
36
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
37
37
  #
@@ -14,8 +14,6 @@ module Anthropic
14
14
  # @!method initialize(edits: nil)
15
15
  # @param edits [Array<Anthropic::Models::Beta::BetaClearToolUses20250919Edit, Anthropic::Models::Beta::BetaClearThinking20251015Edit, Anthropic::Models::Beta::BetaCompact20260112Edit>] List of context management edits to apply
16
16
 
17
- # Automatically compact older context when reaching the configured trigger
18
- # threshold.
19
17
  module Edit
20
18
  extend Anthropic::Internal::Type::Union
21
19
 
@@ -48,7 +46,7 @@ module Anthropic
48
46
  # Some parameter documentations has been truncated, see
49
47
  # {Anthropic::Models::Beta::BetaContextManagementConfig::Edit} for more details.
50
48
  #
51
- # @param type [Symbol, String]
49
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContextManagementConfig::Edit::Type, String]
52
50
  #
53
51
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
54
52
  #
@@ -39,7 +39,7 @@ module Anthropic
39
39
  # Creates a new instance of the variant class whose `type` matches the given
40
40
  # value, passing the remaining arguments to its constructor.
41
41
  #
42
- # @param type [Symbol, String]
42
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContextManagementResponse::AppliedEdit::Type, String]
43
43
  #
44
44
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
45
45
  #
@@ -72,7 +72,7 @@ module Anthropic
72
72
  # Some parameter documentations has been truncated, see
73
73
  # {Anthropic::Models::Beta::BetaDiagnostics::CacheMissReason} for more details.
74
74
  #
75
- # @param type [Symbol, String]
75
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDiagnostics::CacheMissReason::Type, String]
76
76
  #
77
77
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
78
78
  #
@@ -61,7 +61,7 @@ module Anthropic
61
61
  # Creates a new instance of the variant class whose `type` matches the given
62
62
  # value, passing the remaining arguments to its constructor.
63
63
  #
64
- # @param type [Symbol, String]
64
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDocumentBlock::Source::Type, String]
65
65
  #
66
66
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
67
67
  #
@@ -52,9 +52,6 @@ module Anthropic
52
52
  required :model, -> { Anthropic::Beta::BetaDreamModelConfig }
53
53
 
54
54
  # @!attribute output_behavior
55
- # The default destination: the job creates a new output memory store as a clone of
56
- # the memory_store input and writes the consolidated memories into it. The input
57
- # store is never mutated.
58
55
  #
59
56
  # @return [Anthropic::Models::Beta::BetaOutputBehaviorCreateNew, Anthropic::Models::Beta::BetaOutputBehaviorUpdateExisting]
60
57
  required :output_behavior, union: -> { Anthropic::Beta::BetaOutputBehavior }
@@ -113,7 +110,7 @@ module Anthropic
113
110
  #
114
111
  # @param model [Anthropic::Models::Beta::BetaDreamModelConfig] Model identifier and configuration applied to every pipeline stage. Same wire sh
115
112
  #
116
- # @param output_behavior [Anthropic::Models::Beta::BetaOutputBehaviorCreateNew, Anthropic::Models::Beta::BetaOutputBehaviorUpdateExisting] The default destination: the job creates a new output memory store as a clone of
113
+ # @param output_behavior [Anthropic::Models::Beta::BetaOutputBehaviorCreateNew, Anthropic::Models::Beta::BetaOutputBehaviorUpdateExisting]
117
114
  #
118
115
  # @param outputs [Array<Anthropic::Models::Beta::BetaDreamOutput>]
119
116
  #
@@ -3,9 +3,6 @@
3
3
  module Anthropic
4
4
  module Models
5
5
  module Beta
6
- # An input memory store the dream reads from. The dream never mutates this store
7
- # unless it is also the destination: with output_behavior {type:
8
- # "update_existing"} the job consolidates this store in place.
9
6
  module BetaDreamInput
10
7
  extend Anthropic::Internal::Type::Union
11
8
 
@@ -33,7 +30,7 @@ module Anthropic
33
30
  # Creates a new instance of the variant class whose `type` matches the given
34
31
  # value, passing the remaining arguments to its constructor.
35
32
  #
36
- # @param type [Symbol, String]
33
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDreamInput::Type, String]
37
34
  #
38
35
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
39
36
  #
@@ -7,10 +7,25 @@ module Anthropic
7
7
  module BetaDreamStatus
8
8
  extend Anthropic::Internal::Type::Enum
9
9
 
10
+ # The dream is waiting to start and hasn't read its inputs yet.
11
+ #
12
+ # `outputs` is empty and every `usage` count is zero.
10
13
  PENDING = :pending
14
+
15
+ # The dream is reading its inputs and writing its result.
16
+ #
17
+ # `usage` updates while the dream has this status.
11
18
  RUNNING = :running
19
+
20
+ # The dream finished and its output memory store holds the complete result.
12
21
  COMPLETED = :completed
22
+
23
+ # The dream stopped with an error, which `error` describes.
24
+ #
25
+ # If `outputs` references a memory store, that memory store keeps what the dream wrote before it stopped.
13
26
  FAILED = :failed
27
+
28
+ # The caller canceled the dream before it completed.
14
29
  CANCELED = :canceled
15
30
 
16
31
  # @!method self.values
@@ -3,13 +3,6 @@
3
3
  module Anthropic
4
4
  module Models
5
5
  module Beta
6
- # The `output_behavior.memory_store_id` target is still held by a prior
7
- # `{type: "update_existing"}` dream — one that is `pending` or `running`, or was
8
- # canceled with its final writes still landing. Rarely the named dream has just
9
- # finished (`completed`/`failed`) and its execution is still closing; an immediate
10
- # retry then almost always succeeds. The message names the holding dream when the
11
- # server can identify it (rarely omitted); poll it to a terminal state or cancel
12
- # it, then retry. Carried with `x-should-retry: false`.
13
6
  module BetaDreamingError
14
7
  extend Anthropic::Internal::Type::Union
15
8
 
@@ -63,7 +56,7 @@ module Anthropic
63
56
  # Some parameter documentations has been truncated, see
64
57
  # {Anthropic::Models::Beta::BetaDreamingError} for more details.
65
58
  #
66
- # @param type [Symbol, String]
59
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDreamingError::Type, String]
67
60
  #
68
61
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
69
62
  #
@@ -122,7 +122,7 @@ module Anthropic
122
122
  # Creates a new instance of the variant class whose `type` matches the given
123
123
  # value, passing the remaining arguments to its constructor.
124
124
  #
125
- # @param type [Symbol, String]
125
+ # @param type [Symbol, Anthropic::Models::Beta::BetaEnvironment::Config::Type, String]
126
126
  #
127
127
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
128
128
  #
@@ -62,7 +62,7 @@ module Anthropic
62
62
  # Some parameter documentations has been truncated, see
63
63
  # {Anthropic::Models::Beta::BetaFallbackCreditUsage::Status} for more details.
64
64
  #
65
- # @param type [Symbol, String]
65
+ # @param type [Symbol, Anthropic::Models::Beta::BetaFallbackCreditUsage::Status::Type, String]
66
66
  #
67
67
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
68
68
  #
@@ -52,10 +52,11 @@ module Anthropic
52
52
  # @!method initialize(cache_creation:, cache_creation_input_tokens:, cache_read_input_tokens:, input_tokens:, model:, output_tokens:, type: :fallback_message)
53
53
  # Token usage for the fallback-model attempt of a server-side fallback request.
54
54
  #
55
- # Produced in place of a `message` entry for whichever hop served the response. A
56
- # declined hop produces the existing `message` entry. Whether a fallback model
57
- # served the response is signalled by the presence of this entry in
58
- # `usage.iterations`.
55
+ # The terminal entry of a fallback-served turn: when a fallback hop's output is
56
+ # the returned message, the entry for the iteration that completed it carries this
57
+ # type in place of `message`. A declined hop and the serving hop's earlier
58
+ # tool-loop iterations produce `message` entries. Whether a fallback model served
59
+ # the response is signalled by the presence of this entry in `usage.iterations`.
59
60
  #
60
61
  # Some parameter documentations has been truncated, see
61
62
  # {Anthropic::Models::Beta::BetaFallbackMessageIterationUsage} for more details.
@@ -104,7 +104,7 @@ module Anthropic
104
104
  # Some parameter documentations has been truncated, see
105
105
  # {Anthropic::Models::Beta::BetaFallbackParam::Thinking} for more details.
106
106
  #
107
- # @param type [Symbol, String]
107
+ # @param type [Symbol, Anthropic::Models::Beta::BetaFallbackParam::Thinking::Type, String]
108
108
  #
109
109
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
110
110
  #
@@ -10,12 +10,12 @@ module Anthropic
10
10
  module BetaFallbacksParam
11
11
  extend Anthropic::Internal::Type::Union
12
12
 
13
- variant -> { Anthropic::Models::Beta::BetaFallbacksParam::BetaFallbackParamArray }
14
-
15
13
  variant const: :default
16
14
 
15
+ variant -> { Anthropic::Models::Beta::BetaFallbacksParam::BetaFallbackParamArray }
16
+
17
17
  # @!method self.variants
18
- # @return [Array(Array<Anthropic::Models::Beta::BetaFallbackParam>, Symbol, :default)]
18
+ # @return [Array(Symbol, :default, Array<Anthropic::Models::Beta::BetaFallbackParam>)]
19
19
 
20
20
  # @type [Anthropic::Internal::Type::Converter]
21
21
  BetaFallbackParamArray = Anthropic::Internal::Type::ArrayOf[-> { Anthropic::Beta::BetaFallbackParam }]
@@ -70,7 +70,7 @@ module Anthropic
70
70
  # Creates a new instance of the variant class whose `type` matches the given
71
71
  # value, passing the remaining arguments to its constructor.
72
72
  #
73
- # @param type [Symbol, String]
73
+ # @param type [Symbol, Anthropic::Models::Beta::BetaImageBlockParam::Source::Type, String]
74
74
  #
75
75
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
76
76
  #
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ # One entry of `input_transformations`: either a change the API made to the
7
+ # request's input before showing it to the model, or a block that failed a binding
8
+ # check and was still shown to the model unchanged. The `type` field says which.
9
+ module BetaInputTransformation
10
+ extend Anthropic::Internal::Type::Union
11
+
12
+ discriminator :type
13
+
14
+ variant :thinking_dropped, -> { Anthropic::Beta::BetaThinkingDroppedInputTransformation }
15
+
16
+ variant :thinking_mismatch_allowed, -> { Anthropic::Beta::BetaThinkingMismatchAllowedInputTransformation }
17
+
18
+ module Type
19
+ extend Anthropic::Internal::Type::Enum
20
+
21
+ THINKING_DROPPED = :thinking_dropped
22
+ THINKING_MISMATCH_ALLOWED = :thinking_mismatch_allowed
23
+
24
+ # @!method self.values
25
+ # @return [Array<Symbol>]
26
+ end
27
+
28
+ # @!method self.variants
29
+ # @return [Array(Anthropic::Models::Beta::BetaThinkingDroppedInputTransformation, Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation)]
30
+
31
+ # Creates a new instance of the variant class whose `type` matches the given
32
+ # value, passing the remaining arguments to its constructor.
33
+ #
34
+ # Some parameter documentations has been truncated, see
35
+ # {Anthropic::Models::Beta::BetaInputTransformation} for more details.
36
+ #
37
+ # @param type [Symbol, Anthropic::Models::Beta::BetaInputTransformation::Type, String]
38
+ #
39
+ # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
40
+ #
41
+ # @option args [String] :path Where the removed block was in your request, as `messages.{i}.content.{j}`:
42
+ #
43
+ # @option args [Symbol, Anthropic::Models::Beta::BetaThinkingDroppedInputTransformation::Reason, Symbol, Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation::Reason] :reason Which binding check removed the block: `model_binding_mismatch` — it was
44
+ #
45
+ # @raise [ArgumentError]
46
+ # @return [Anthropic::Models::Beta::BetaThinkingDroppedInputTransformation, Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation]
47
+ def self.new(type:, **args)
48
+ case type.to_sym
49
+ when :thinking_dropped
50
+ Anthropic::Beta::BetaThinkingDroppedInputTransformation.new(**args)
51
+ when :thinking_mismatch_allowed
52
+ Anthropic::Beta::BetaThinkingMismatchAllowedInputTransformation.new(**args)
53
+ else
54
+ raise ArgumentError, "unknown type: #{type}"
55
+ end
56
+ end
57
+ end
58
+ end
59
+
60
+ BetaInputTransformation = Beta::BetaInputTransformation
61
+ end
62
+ end
@@ -3,7 +3,6 @@
3
3
  module Anthropic
4
4
  module Models
5
5
  module Beta
6
- # Token usage for a sampling iteration.
7
6
  module BetaIterationsUsageItem
8
7
  extend Anthropic::Internal::Type::Union
9
8
 
@@ -20,10 +19,12 @@ module Anthropic
20
19
 
21
20
  # Token usage for the fallback-model attempt of a server-side fallback request.
22
21
  #
23
- # Produced in place of a `message` entry for whichever hop served the
24
- # response. A declined hop produces the existing `message` entry. Whether
25
- # a fallback model served the response is signalled by the presence of this
26
- # entry in `usage.iterations`.
22
+ # The terminal entry of a fallback-served turn: when a fallback hop's
23
+ # output is the returned message, the entry for the iteration that
24
+ # completed it carries this type in place of `message`. A declined hop
25
+ # and the serving hop's earlier tool-loop iterations produce `message`
26
+ # entries. Whether a fallback model served the response is signalled by
27
+ # the presence of this entry in `usage.iterations`.
27
28
  variant :fallback_message, -> { Anthropic::Beta::BetaFallbackMessageIterationUsage }
28
29
 
29
30
  module Type
@@ -47,7 +48,7 @@ module Anthropic
47
48
  # Some parameter documentations has been truncated, see
48
49
  # {Anthropic::Models::Beta::BetaIterationsUsageItem} for more details.
49
50
  #
50
- # @param type [Symbol, String]
51
+ # @param type [Symbol, Anthropic::Models::Beta::BetaIterationsUsageItem::Type, String]
51
52
  #
52
53
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
53
54
  #
@@ -59,7 +60,7 @@ module Anthropic
59
60
  #
60
61
  # @option args [Integer] :input_tokens The number of input tokens which were used.
61
62
  #
62
- # @option args [Symbol, String, Anthropic::Models::Model] :model The model that will complete your prompt.
63
+ # @option args [Symbol, String, Anthropic::Models::Model, nil, Symbol, String, Anthropic::Models::Model] :model The model that will complete your prompt.
63
64
  #
64
65
  # @option args [Integer] :output_tokens The number of output tokens which were used.
65
66
  #