anthropic 1.82.0 → 2.1.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 (893) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/LICENSE +197 -4
  4. data/LICENSE-MIT +11 -0
  5. data/README.md +2 -2
  6. data/lib/anthropic/client.rb +65 -72
  7. data/lib/anthropic/credentials.rb +4 -4
  8. data/lib/anthropic/helpers/aws/client.rb +2 -2
  9. data/lib/anthropic/helpers/aws_auth.rb +3 -10
  10. data/lib/anthropic/helpers/bedrock/client.rb +7 -12
  11. data/lib/anthropic/helpers/bedrock/mantle_client.rb +3 -11
  12. data/lib/anthropic/helpers/google_cloud/client.rb +6 -17
  13. data/lib/anthropic/helpers/tools/runner.rb +8 -6
  14. data/lib/anthropic/helpers/vertex/client.rb +7 -5
  15. data/lib/anthropic/internal/tracing.rb +3 -4
  16. data/lib/anthropic/internal/transport/base_client.rb +8 -5
  17. data/lib/anthropic/models/assistant_message_param.rb +21 -0
  18. data/lib/anthropic/models/beta/agent_create_params.rb +3 -3
  19. data/lib/anthropic/models/beta/agent_update_params.rb +3 -3
  20. data/lib/anthropic/models/beta/beta_assistant_message_param.rb +25 -0
  21. data/lib/anthropic/models/beta/beta_dream.rb +5 -15
  22. data/lib/anthropic/models/beta/beta_dream_input.rb +2 -2
  23. data/lib/anthropic/models/beta/beta_dream_memory_store_input.rb +4 -14
  24. data/lib/anthropic/models/beta/beta_dream_memory_store_output.rb +4 -14
  25. data/lib/anthropic/models/beta/beta_dream_output.rb +4 -14
  26. data/lib/anthropic/models/beta/beta_dream_sessions_input.rb +4 -14
  27. data/lib/anthropic/models/beta/beta_environment_delete_response.rb +4 -16
  28. data/lib/anthropic/models/beta/beta_managed_agents_advisor.rb +4 -14
  29. data/lib/anthropic/models/beta/beta_managed_agents_advisor_params.rb +4 -14
  30. data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +10 -20
  31. data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rb +4 -15
  32. data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rb +4 -14
  33. data/lib/anthropic/models/beta/beta_managed_agents_agent_message_preview.rb +4 -14
  34. data/lib/anthropic/models/beta/beta_managed_agents_agent_params.rb +5 -15
  35. data/lib/anthropic/models/beta/beta_managed_agents_agent_reference.rb +4 -14
  36. data/lib/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rb +4 -14
  37. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rb +4 -14
  38. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rb +5 -15
  39. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +2 -2
  40. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +2 -2
  41. data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +8 -18
  42. data/lib/anthropic/models/beta/beta_managed_agents_always_allow_policy.rb +4 -14
  43. data/lib/anthropic/models/beta/beta_managed_agents_always_ask_policy.rb +4 -14
  44. data/lib/anthropic/models/beta/beta_managed_agents_anthropic_skill.rb +4 -14
  45. data/lib/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rb +5 -15
  46. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +2 -2
  47. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +2 -2
  48. data/lib/anthropic/models/beta/beta_managed_agents_branch_checkout.rb +4 -14
  49. data/lib/anthropic/models/beta/beta_managed_agents_budget_limit.rb +4 -14
  50. data/lib/anthropic/models/beta/beta_managed_agents_commit_checkout.rb +4 -14
  51. data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule.rb +5 -15
  52. data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb +4 -14
  53. data/lib/anthropic/models/beta/beta_managed_agents_custom_skill.rb +4 -14
  54. data/lib/anthropic/models/beta/beta_managed_agents_custom_skill_params.rb +5 -15
  55. data/lib/anthropic/models/beta/beta_managed_agents_custom_tool.rb +4 -14
  56. data/lib/anthropic/models/beta/beta_managed_agents_custom_tool_params.rb +4 -14
  57. data/lib/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rb +4 -14
  58. data/lib/anthropic/models/beta/beta_managed_agents_deleted_session.rb +4 -14
  59. data/lib/anthropic/models/beta/beta_managed_agents_deleted_vault.rb +4 -14
  60. data/lib/anthropic/models/beta/beta_managed_agents_delta_content.rb +5 -15
  61. data/lib/anthropic/models/beta/beta_managed_agents_delta_event.rb +4 -14
  62. data/lib/anthropic/models/beta/beta_managed_agents_deployment.rb +5 -15
  63. data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +3 -3
  64. data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +3 -3
  65. data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +2 -2
  66. data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +14 -38
  67. data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +20 -30
  68. data/lib/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rb +4 -14
  69. data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +7 -17
  70. data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +8 -18
  71. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +2 -2
  72. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +2 -2
  73. data/lib/anthropic/models/beta/beta_managed_agents_effort_high.rb +4 -14
  74. data/lib/anthropic/models/beta/beta_managed_agents_effort_low.rb +4 -14
  75. data/lib/anthropic/models/beta/beta_managed_agents_effort_max.rb +4 -14
  76. data/lib/anthropic/models/beta/beta_managed_agents_effort_medium.rb +4 -14
  77. data/lib/anthropic/models/beta/beta_managed_agents_effort_xhigh.rb +4 -14
  78. data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rb +4 -15
  79. data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rb +4 -14
  80. data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rb +4 -15
  81. data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rb +4 -14
  82. data/lib/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rb +4 -14
  83. data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rb +4 -15
  84. data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rb +4 -14
  85. data/lib/anthropic/models/beta/beta_managed_agents_file_resource_config.rb +5 -15
  86. data/lib/anthropic/models/beta/beta_managed_agents_file_resource_params.rb +5 -15
  87. data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +7 -17
  88. data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +7 -17
  89. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +2 -2
  90. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +2 -2
  91. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +2 -2
  92. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +2 -2
  93. data/lib/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rb +4 -14
  94. data/lib/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rb +4 -14
  95. data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rb +4 -15
  96. data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rb +4 -14
  97. data/lib/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rb +4 -14
  98. data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +2 -2
  99. data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +2 -2
  100. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset.rb +4 -14
  101. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +2 -2
  102. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +2 -2
  103. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb +5 -15
  104. data/lib/anthropic/models/beta/beta_managed_agents_memory_store.rb +5 -15
  105. data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rb +4 -15
  106. data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rb +4 -14
  107. data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rb +5 -15
  108. data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rb +5 -15
  109. data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +5 -5
  110. data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
  111. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +6 -16
  112. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +4 -14
  113. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -1
  114. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rb +4 -14
  115. data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rb +4 -15
  116. data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rb +4 -14
  117. data/lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb +4 -14
  118. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +2 -2
  119. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +2 -2
  120. data/lib/anthropic/models/beta/beta_managed_agents_schedule.rb +5 -15
  121. data/lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb +4 -14
  122. data/lib/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rb +4 -14
  123. data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rb +4 -15
  124. data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rb +4 -15
  125. data/lib/anthropic/models/beta/beta_managed_agents_session.rb +5 -15
  126. data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +10 -20
  127. data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +3 -3
  128. data/lib/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rb +4 -14
  129. data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent.rb +1 -1
  130. data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +6 -16
  131. data/lib/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rb +4 -14
  132. data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +3 -3
  133. data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rb +4 -15
  134. data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rb +4 -14
  135. data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +10 -20
  136. data/lib/anthropic/models/beta/beta_managed_agents_session_updated_event.rb +5 -15
  137. data/lib/anthropic/models/beta/beta_managed_agents_session_usage_event.rb +5 -15
  138. data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rb +4 -15
  139. data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rb +4 -14
  140. data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +2 -2
  141. data/lib/anthropic/models/beta/beta_managed_agents_start_event.rb +4 -14
  142. data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +2 -2
  143. data/lib/anthropic/models/beta/beta_managed_agents_system_content_block.rb +4 -14
  144. data/lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb +5 -15
  145. data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +2 -2
  146. data/lib/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rb +4 -14
  147. data/lib/anthropic/models/beta/beta_managed_agents_unknown_run_error.rb +4 -14
  148. data/lib/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rb +5 -15
  149. data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +9 -19
  150. data/lib/anthropic/models/beta/beta_managed_agents_vault.rb +5 -15
  151. data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rb +4 -15
  152. data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rb +4 -14
  153. data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rb +4 -15
  154. data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rb +4 -14
  155. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +2 -2
  156. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +2 -2
  157. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +2 -2
  158. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +2 -2
  159. data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rb +4 -15
  160. data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rb +4 -14
  161. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +2 -2
  162. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +2 -2
  163. data/lib/anthropic/models/beta/beta_message_content_param.rb +24 -0
  164. data/lib/anthropic/models/beta/beta_message_param.rb +37 -71
  165. data/lib/anthropic/models/beta/beta_output_behavior.rb +2 -2
  166. data/lib/anthropic/models/beta/beta_output_behavior_create_new.rb +4 -14
  167. data/lib/anthropic/models/beta/beta_output_behavior_update_existing.rb +4 -14
  168. data/lib/anthropic/models/beta/beta_system_message_param.rb +160 -0
  169. data/lib/anthropic/models/beta/beta_user_message_param.rb +25 -0
  170. data/lib/anthropic/models/beta/beta_user_profile.rb +4 -16
  171. data/lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb +4 -16
  172. data/lib/anthropic/models/beta/deployment_create_params.rb +3 -3
  173. data/lib/anthropic/models/beta/deployment_update_params.rb +3 -3
  174. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +3 -3
  175. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rb +4 -14
  176. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rb +4 -14
  177. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rb +5 -16
  178. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rb +4 -14
  179. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +3 -6
  180. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb +5 -15
  181. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +2 -2
  182. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +5 -15
  183. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rb +5 -16
  184. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rb +4 -14
  185. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rb +5 -15
  186. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rb +5 -15
  187. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rb +4 -14
  188. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rb +5 -15
  189. data/lib/anthropic/models/beta/message_count_tokens_params.rb +4 -5
  190. data/lib/anthropic/models/beta/message_create_params.rb +5 -59
  191. data/lib/anthropic/models/beta/messages/batch_create_params.rb +5 -59
  192. data/lib/anthropic/models/beta/organization/beta_api_key.rb +2 -15
  193. data/lib/anthropic/models/beta/organization/beta_api_key_workspace_scope.rb +3 -4
  194. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +6 -46
  195. data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +1 -12
  196. data/lib/anthropic/models/beta/organization/spend_limit_list_params.rb +16 -3
  197. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +6 -47
  198. data/lib/anthropic/models/beta/session_create_params.rb +5 -5
  199. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rb +5 -15
  200. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +9 -19
  201. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rb +5 -15
  202. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +6 -16
  203. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rb +4 -14
  204. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rb +4 -15
  205. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +9 -20
  206. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +9 -19
  207. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +9 -19
  208. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rb +5 -15
  209. data/lib/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rb +4 -14
  210. data/lib/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rb +4 -14
  211. data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +7 -17
  212. data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +8 -19
  213. data/lib/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rb +4 -14
  214. data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +10 -20
  215. data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +7 -13
  216. data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rb +4 -14
  217. data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rb +4 -14
  218. data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb +5 -15
  219. data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rb +4 -14
  220. data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rb +4 -14
  221. data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +7 -17
  222. data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +7 -17
  223. data/lib/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rb +5 -5
  224. data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +7 -18
  225. data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +7 -17
  226. data/lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb +5 -15
  227. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +7 -17
  228. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +7 -17
  229. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +7 -17
  230. data/lib/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rb +7 -30
  231. data/lib/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rb +4 -14
  232. data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error.rb +3 -3
  233. data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error.rb +3 -3
  234. data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error.rb +3 -3
  235. data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error.rb +3 -3
  236. data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb +3 -3
  237. data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rb +4 -14
  238. data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rb +4 -14
  239. data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rb +4 -14
  240. data/lib/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rb +4 -14
  241. data/lib/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rb +4 -14
  242. data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +7 -7
  243. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rb +4 -14
  244. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rb +4 -14
  245. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rb +4 -14
  246. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +12 -28
  247. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +35 -62
  248. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rb +4 -14
  249. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +3 -3
  250. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rb +4 -14
  251. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +8 -18
  252. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rb +4 -15
  253. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rb +4 -14
  254. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rb +4 -15
  255. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +7 -17
  256. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rb +5 -15
  257. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +8 -19
  258. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rb +4 -15
  259. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rb +4 -15
  260. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rb +4 -15
  261. data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rb +4 -14
  262. data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rb +4 -14
  263. data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rb +5 -16
  264. data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb +4 -15
  265. data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rb +4 -15
  266. data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +37 -64
  267. data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +37 -64
  268. data/lib/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rb +4 -14
  269. data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_block.rb +4 -14
  270. data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rb +4 -14
  271. data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rb +4 -14
  272. data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +7 -17
  273. data/lib/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rb +5 -15
  274. data/lib/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rb +5 -15
  275. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +9 -19
  276. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +9 -20
  277. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +6 -16
  278. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +7 -18
  279. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rb +5 -15
  280. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rb +5 -15
  281. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +9 -19
  282. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +8 -18
  283. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rb +5 -15
  284. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rb +5 -16
  285. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +9 -19
  286. data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +3 -3
  287. data/lib/anthropic/models/beta/sessions/resource_update_response.rb +3 -3
  288. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +8 -21
  289. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +2 -7
  290. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rb +5 -15
  291. data/lib/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rb +4 -14
  292. data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +6 -22
  293. data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb +5 -16
  294. data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb +5 -16
  295. data/lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rb +4 -15
  296. data/lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rb +4 -15
  297. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rb +5 -15
  298. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rb +5 -15
  299. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +3 -3
  300. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +3 -12
  301. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +2 -8
  302. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rb +5 -15
  303. data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rb +4 -14
  304. data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rb +4 -14
  305. data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rb +5 -15
  306. data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rb +4 -14
  307. data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rb +4 -15
  308. data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rb +5 -16
  309. data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rb +4 -14
  310. data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rb +4 -14
  311. data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rb +4 -14
  312. data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rb +4 -14
  313. data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rb +5 -16
  314. data/lib/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rb +4 -15
  315. data/lib/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rb +4 -15
  316. data/lib/anthropic/models/beta/vaults/credential_create_params.rb +3 -6
  317. data/lib/anthropic/models/beta/vaults/credential_update_params.rb +3 -6
  318. data/lib/anthropic/models/message_content_param.rb +19 -0
  319. data/lib/anthropic/models/message_count_tokens_params.rb +4 -5
  320. data/lib/anthropic/models/message_create_params.rb +5 -59
  321. data/lib/anthropic/models/message_param.rb +33 -28
  322. data/lib/anthropic/models/messages/batch_create_params.rb +5 -59
  323. data/lib/anthropic/models/model_list_params.rb +1 -13
  324. data/lib/anthropic/models/model_retrieve_params.rb +1 -13
  325. data/lib/anthropic/models/organization/api_key.rb +1 -1
  326. data/lib/anthropic/models/organization/api_key_workspace_scope.rb +3 -4
  327. data/lib/anthropic/models/organization/organization_rate_limit.rb +5 -8
  328. data/lib/anthropic/models/organization/workspaces/workspace_rate_limit.rb +5 -8
  329. data/lib/anthropic/models/system_message_param.rb +36 -0
  330. data/lib/anthropic/models/user_message_param.rb +21 -0
  331. data/lib/anthropic/models/user_profile.rb +26 -1
  332. data/lib/anthropic/models/user_profile_enforcement_action.rb +66 -0
  333. data/lib/anthropic/models/user_profile_enforcement_action_ban.rb +62 -0
  334. data/lib/anthropic/models/user_profile_enforcement_action_next_step.rb +17 -0
  335. data/lib/anthropic/models/user_profile_enforcement_action_reason.rb +23 -0
  336. data/lib/anthropic/models/user_profile_enforcement_action_restriction.rb +67 -0
  337. data/lib/anthropic/models/user_profile_enforcement_status.rb +20 -0
  338. data/lib/anthropic/models/user_profile_list_params.rb +17 -1
  339. data/lib/anthropic/models.rb +20 -4
  340. data/lib/anthropic/resources/beta/messages.rb +8 -32
  341. data/lib/anthropic/resources/beta/organization/spend_limits.rb +11 -7
  342. data/lib/anthropic/resources/beta/sessions/resources.rb +3 -3
  343. data/lib/anthropic/resources/beta/webhooks.rb +1 -0
  344. data/lib/anthropic/resources/messages.rb +7 -25
  345. data/lib/anthropic/resources/models.rb +4 -11
  346. data/lib/anthropic/resources/user_profiles.rb +5 -3
  347. data/lib/anthropic/version.rb +1 -1
  348. data/lib/anthropic.rb +14 -3
  349. data/rbi/anthropic/client.rbi +19 -7
  350. data/rbi/anthropic/helpers/bedrock/client.rbi +0 -5
  351. data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +0 -4
  352. data/rbi/anthropic/helpers/google_cloud/client.rbi +0 -4
  353. data/rbi/anthropic/helpers/tools/runner.rbi +5 -1
  354. data/rbi/anthropic/helpers/vertex/client.rbi +0 -2
  355. data/rbi/anthropic/internal/tracing.rbi +0 -1
  356. data/rbi/anthropic/models/assistant_message_param.rbi +35 -0
  357. data/rbi/anthropic/models/beta/beta_assistant_message_param.rbi +45 -0
  358. data/rbi/anthropic/models/beta/beta_dream.rbi +6 -24
  359. data/rbi/anthropic/models/beta/beta_dream_memory_store_input.rbi +6 -42
  360. data/rbi/anthropic/models/beta/beta_dream_memory_store_output.rbi +6 -42
  361. data/rbi/anthropic/models/beta/beta_dream_output.rbi +6 -38
  362. data/rbi/anthropic/models/beta/beta_dream_sessions_input.rbi +6 -38
  363. data/rbi/anthropic/models/beta/beta_environment_delete_response.rbi +4 -51
  364. data/rbi/anthropic/models/beta/beta_managed_agents_advisor.rbi +4 -45
  365. data/rbi/anthropic/models/beta/beta_managed_agents_advisor_params.rbi +4 -51
  366. data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +6 -34
  367. data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbi +4 -49
  368. data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rbi +4 -51
  369. data/rbi/anthropic/models/beta/beta_managed_agents_agent_message_preview.rbi +4 -51
  370. data/rbi/anthropic/models/beta/beta_managed_agents_agent_params.rbi +7 -46
  371. data/rbi/anthropic/models/beta/beta_managed_agents_agent_reference.rbi +6 -51
  372. data/rbi/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rbi +4 -51
  373. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbi +4 -39
  374. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbi +6 -41
  375. data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +6 -41
  376. data/rbi/anthropic/models/beta/beta_managed_agents_always_allow_policy.rbi +4 -49
  377. data/rbi/anthropic/models/beta/beta_managed_agents_always_ask_policy.rbi +4 -49
  378. data/rbi/anthropic/models/beta/beta_managed_agents_anthropic_skill.rbi +6 -49
  379. data/rbi/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rbi +6 -45
  380. data/rbi/anthropic/models/beta/beta_managed_agents_branch_checkout.rbi +4 -51
  381. data/rbi/anthropic/models/beta/beta_managed_agents_budget_limit.rbi +4 -36
  382. data/rbi/anthropic/models/beta/beta_managed_agents_commit_checkout.rbi +4 -51
  383. data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule.rbi +6 -41
  384. data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rbi +6 -47
  385. data/rbi/anthropic/models/beta/beta_managed_agents_custom_skill.rbi +6 -45
  386. data/rbi/anthropic/models/beta/beta_managed_agents_custom_skill_params.rbi +6 -45
  387. data/rbi/anthropic/models/beta/beta_managed_agents_custom_tool.rbi +4 -35
  388. data/rbi/anthropic/models/beta/beta_managed_agents_custom_tool_params.rbi +4 -39
  389. data/rbi/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rbi +4 -51
  390. data/rbi/anthropic/models/beta/beta_managed_agents_deleted_session.rbi +4 -51
  391. data/rbi/anthropic/models/beta/beta_managed_agents_deleted_vault.rbi +4 -50
  392. data/rbi/anthropic/models/beta/beta_managed_agents_delta_content.rbi +6 -41
  393. data/rbi/anthropic/models/beta/beta_managed_agents_delta_event.rbi +4 -35
  394. data/rbi/anthropic/models/beta/beta_managed_agents_deployment.rbi +6 -37
  395. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +4 -39
  396. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbi +4 -39
  397. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +6 -41
  398. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +4 -39
  399. data/rbi/anthropic/models/beta/beta_managed_agents_effort_high.rbi +4 -42
  400. data/rbi/anthropic/models/beta/beta_managed_agents_effort_low.rbi +4 -42
  401. data/rbi/anthropic/models/beta/beta_managed_agents_effort_max.rbi +4 -42
  402. data/rbi/anthropic/models/beta/beta_managed_agents_effort_medium.rbi +4 -48
  403. data/rbi/anthropic/models/beta/beta_managed_agents_effort_xhigh.rbi +4 -43
  404. data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rbi +4 -49
  405. data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rbi +4 -51
  406. data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rbi +4 -49
  407. data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rbi +4 -51
  408. data/rbi/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbi +4 -39
  409. data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rbi +4 -49
  410. data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rbi +4 -51
  411. data/rbi/anthropic/models/beta/beta_managed_agents_file_resource_config.rbi +6 -45
  412. data/rbi/anthropic/models/beta/beta_managed_agents_file_resource_params.rbi +6 -45
  413. data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbi +6 -41
  414. data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +6 -41
  415. data/rbi/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rbi +4 -49
  416. data/rbi/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rbi +4 -49
  417. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rbi +4 -49
  418. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rbi +4 -51
  419. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rbi +6 -51
  420. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset.rbi +4 -35
  421. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rbi +6 -41
  422. data/rbi/anthropic/models/beta/beta_managed_agents_memory_store.rbi +6 -37
  423. data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rbi +4 -49
  424. data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rbi +4 -51
  425. data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbi +6 -41
  426. data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbi +6 -41
  427. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +4 -39
  428. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +4 -39
  429. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rbi +4 -49
  430. data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rbi +4 -49
  431. data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rbi +4 -51
  432. data/rbi/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbi +4 -39
  433. data/rbi/anthropic/models/beta/beta_managed_agents_schedule.rbi +6 -37
  434. data/rbi/anthropic/models/beta/beta_managed_agents_schedule_params.rbi +6 -47
  435. data/rbi/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rbi +4 -49
  436. data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rbi +4 -49
  437. data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rbi +4 -51
  438. data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +6 -35
  439. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +6 -41
  440. data/rbi/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rbi +4 -51
  441. data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +4 -39
  442. data/rbi/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rbi +4 -51
  443. data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rbi +4 -49
  444. data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rbi +4 -51
  445. data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +6 -41
  446. data/rbi/anthropic/models/beta/beta_managed_agents_session_updated_event.rbi +6 -41
  447. data/rbi/anthropic/models/beta/beta_managed_agents_session_usage_event.rbi +6 -41
  448. data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rbi +4 -49
  449. data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rbi +4 -51
  450. data/rbi/anthropic/models/beta/beta_managed_agents_start_event.rbi +4 -35
  451. data/rbi/anthropic/models/beta/beta_managed_agents_system_content_block.rbi +4 -51
  452. data/rbi/anthropic/models/beta/beta_managed_agents_system_message_event.rbi +6 -41
  453. data/rbi/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rbi +4 -49
  454. data/rbi/anthropic/models/beta/beta_managed_agents_unknown_run_error.rbi +4 -51
  455. data/rbi/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rbi +7 -52
  456. data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +6 -41
  457. data/rbi/anthropic/models/beta/beta_managed_agents_vault.rbi +6 -34
  458. data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rbi +4 -49
  459. data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rbi +4 -51
  460. data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rbi +4 -49
  461. data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rbi +4 -51
  462. data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rbi +4 -49
  463. data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rbi +4 -51
  464. data/rbi/anthropic/models/beta/beta_message_content_param.rbi +37 -0
  465. data/rbi/anthropic/models/beta/beta_message_param.rbi +49 -145
  466. data/rbi/anthropic/models/beta/beta_output_behavior_create_new.rbi +4 -42
  467. data/rbi/anthropic/models/beta/beta_output_behavior_update_existing.rbi +6 -49
  468. data/rbi/anthropic/models/beta/beta_system_message_param.rbi +300 -0
  469. data/rbi/anthropic/models/beta/beta_user_message_param.rbi +45 -0
  470. data/rbi/anthropic/models/beta/beta_user_profile.rbi +7 -32
  471. data/rbi/anthropic/models/beta/beta_user_profile_enrollment_url.rbi +8 -48
  472. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbi +4 -49
  473. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbi +4 -49
  474. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbi +7 -50
  475. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbi +4 -51
  476. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbi +6 -41
  477. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbi +6 -41
  478. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbi +5 -50
  479. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbi +4 -51
  480. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbi +6 -41
  481. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbi +7 -50
  482. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbi +4 -49
  483. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbi +5 -50
  484. data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +29 -7
  485. data/rbi/anthropic/models/beta/message_create_params.rbi +29 -76
  486. data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +32 -79
  487. data/rbi/anthropic/models/beta/organization/beta_api_key.rbi +3 -16
  488. data/rbi/anthropic/models/beta/organization/beta_api_key_workspace_scope.rbi +4 -6
  489. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +5 -86
  490. data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +0 -10
  491. data/rbi/anthropic/models/beta/organization/spend_limit_list_params.rbi +21 -2
  492. data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +5 -86
  493. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbi +6 -41
  494. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbi +6 -41
  495. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbi +6 -41
  496. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +4 -39
  497. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rbi +6 -49
  498. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rbi +6 -49
  499. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +6 -41
  500. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +6 -41
  501. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +6 -41
  502. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbi +6 -41
  503. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rbi +6 -49
  504. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rbi +6 -49
  505. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +4 -39
  506. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +6 -41
  507. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rbi +4 -51
  508. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +7 -46
  509. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rbi +4 -49
  510. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rbi +4 -49
  511. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rbi +6 -41
  512. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rbi +4 -49
  513. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rbi +4 -49
  514. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbi +6 -41
  515. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +4 -39
  516. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +4 -39
  517. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +4 -39
  518. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbi +6 -41
  519. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +4 -39
  520. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +4 -39
  521. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +4 -39
  522. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rbi +8 -87
  523. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rbi +4 -49
  524. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rbi +4 -49
  525. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rbi +4 -49
  526. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rbi +4 -49
  527. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rbi +4 -39
  528. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rbi +4 -51
  529. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rbi +4 -49
  530. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rbi +6 -49
  531. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rbi +4 -49
  532. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +4 -39
  533. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rbi +6 -47
  534. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rbi +4 -49
  535. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +4 -39
  536. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rbi +6 -49
  537. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rbi +6 -49
  538. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rbi +6 -49
  539. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +6 -41
  540. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbi +6 -41
  541. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +4 -39
  542. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbi +4 -39
  543. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbi +4 -39
  544. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbi +4 -39
  545. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rbi +4 -39
  546. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rbi +6 -49
  547. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rbi +6 -41
  548. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rbi +4 -39
  549. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rbi +4 -39
  550. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rbi +4 -39
  551. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_block.rbi +4 -51
  552. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rbi +4 -49
  553. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rbi +4 -49
  554. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +4 -39
  555. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rbi +5 -52
  556. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rbi +5 -52
  557. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +6 -41
  558. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +6 -41
  559. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +4 -39
  560. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +6 -41
  561. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rbi +6 -41
  562. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rbi +7 -46
  563. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +6 -41
  564. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +4 -39
  565. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbi +6 -41
  566. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rbi +6 -41
  567. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +6 -41
  568. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +6 -41
  569. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rbi +6 -41
  570. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rbi +4 -51
  571. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +4 -39
  572. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbi +6 -41
  573. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbi +6 -41
  574. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rbi +6 -47
  575. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rbi +6 -47
  576. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rbi +6 -41
  577. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rbi +6 -41
  578. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rbi +6 -41
  579. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rbi +6 -49
  580. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rbi +6 -47
  581. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rbi +7 -50
  582. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rbi +6 -49
  583. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rbi +4 -49
  584. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rbi +7 -48
  585. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rbi +4 -49
  586. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rbi +4 -49
  587. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rbi +6 -49
  588. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rbi +4 -49
  589. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rbi +7 -48
  590. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rbi +4 -49
  591. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rbi +4 -49
  592. data/rbi/anthropic/models/message_content_param.rbi +28 -0
  593. data/rbi/anthropic/models/message_count_tokens_params.rbi +29 -7
  594. data/rbi/anthropic/models/message_create_params.rbi +29 -76
  595. data/rbi/anthropic/models/message_param.rbi +28 -52
  596. data/rbi/anthropic/models/messages/batch_create_params.rbi +32 -79
  597. data/rbi/anthropic/models/model_list_params.rbi +0 -19
  598. data/rbi/anthropic/models/model_retrieve_params.rbi +0 -19
  599. data/rbi/anthropic/models/organization/api_key.rbi +2 -3
  600. data/rbi/anthropic/models/organization/api_key_workspace_scope.rbi +4 -6
  601. data/rbi/anthropic/models/organization/organization_rate_limit.rbi +5 -8
  602. data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit.rbi +5 -8
  603. data/rbi/anthropic/models/system_message_param.rbi +59 -0
  604. data/rbi/anthropic/models/user_message_param.rbi +35 -0
  605. data/rbi/anthropic/models/user_profile.rbi +42 -0
  606. data/rbi/anthropic/models/user_profile_enforcement_action.rbi +95 -0
  607. data/rbi/anthropic/models/user_profile_enforcement_action_ban.rbi +96 -0
  608. data/rbi/anthropic/models/user_profile_enforcement_action_next_step.rbi +34 -0
  609. data/rbi/anthropic/models/user_profile_enforcement_action_reason.rbi +58 -0
  610. data/rbi/anthropic/models/user_profile_enforcement_action_restriction.rbi +106 -0
  611. data/rbi/anthropic/models/user_profile_enforcement_status.rbi +39 -0
  612. data/rbi/anthropic/models/user_profile_list_params.rbi +36 -0
  613. data/rbi/anthropic/models.rbi +24 -4
  614. data/rbi/anthropic/resources/beta/messages.rbi +46 -124
  615. data/rbi/anthropic/resources/beta/organization/spend_limits.rbi +12 -4
  616. data/rbi/anthropic/resources/beta/sessions/resources.rbi +3 -4
  617. data/rbi/anthropic/resources/messages.rbi +36 -93
  618. data/rbi/anthropic/resources/models.rbi +0 -6
  619. data/rbi/anthropic/resources/user_profiles.rbi +12 -0
  620. data/sig/anthropic/client.rbs +2 -2
  621. data/sig/anthropic/helpers/bedrock/client.rbs +0 -4
  622. data/sig/anthropic/helpers/google_cloud/client.rbs +0 -2
  623. data/sig/anthropic/helpers/vertex/client.rbs +0 -2
  624. data/sig/anthropic/internal/tracing.rbs +0 -1
  625. data/sig/anthropic/models/assistant_message_param.rbs +22 -0
  626. data/sig/anthropic/models/beta/beta_assistant_message_param.rbs +29 -0
  627. data/sig/anthropic/models/beta/beta_dream.rbs +5 -15
  628. data/sig/anthropic/models/beta/beta_dream_memory_store_input.rbs +4 -23
  629. data/sig/anthropic/models/beta/beta_dream_memory_store_output.rbs +4 -23
  630. data/sig/anthropic/models/beta/beta_dream_output.rbs +4 -24
  631. data/sig/anthropic/models/beta/beta_dream_sessions_input.rbs +4 -23
  632. data/sig/anthropic/models/beta/beta_environment_delete_response.rbs +4 -23
  633. data/sig/anthropic/models/beta/beta_managed_agents_advisor.rbs +4 -24
  634. data/sig/anthropic/models/beta/beta_managed_agents_advisor_params.rbs +4 -23
  635. data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +5 -15
  636. data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbs +4 -20
  637. data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rbs +4 -23
  638. data/sig/anthropic/models/beta/beta_managed_agents_agent_message_preview.rbs +4 -23
  639. data/sig/anthropic/models/beta/beta_managed_agents_agent_params.rbs +4 -26
  640. data/sig/anthropic/models/beta/beta_managed_agents_agent_reference.rbs +4 -26
  641. data/sig/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rbs +4 -23
  642. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbs +4 -14
  643. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbs +5 -15
  644. data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +5 -15
  645. data/sig/anthropic/models/beta/beta_managed_agents_always_allow_policy.rbs +4 -21
  646. data/sig/anthropic/models/beta/beta_managed_agents_always_ask_policy.rbs +4 -21
  647. data/sig/anthropic/models/beta/beta_managed_agents_anthropic_skill.rbs +5 -23
  648. data/sig/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rbs +5 -23
  649. data/sig/anthropic/models/beta/beta_managed_agents_branch_checkout.rbs +4 -24
  650. data/sig/anthropic/models/beta/beta_managed_agents_budget_limit.rbs +4 -17
  651. data/sig/anthropic/models/beta/beta_managed_agents_commit_checkout.rbs +4 -24
  652. data/sig/anthropic/models/beta/beta_managed_agents_cron_schedule.rbs +5 -15
  653. data/sig/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rbs +4 -22
  654. data/sig/anthropic/models/beta/beta_managed_agents_custom_skill.rbs +5 -23
  655. data/sig/anthropic/models/beta/beta_managed_agents_custom_skill_params.rbs +5 -23
  656. data/sig/anthropic/models/beta/beta_managed_agents_custom_tool.rbs +4 -14
  657. data/sig/anthropic/models/beta/beta_managed_agents_custom_tool_params.rbs +4 -14
  658. data/sig/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rbs +4 -23
  659. data/sig/anthropic/models/beta/beta_managed_agents_deleted_session.rbs +4 -23
  660. data/sig/anthropic/models/beta/beta_managed_agents_deleted_vault.rbs +4 -23
  661. data/sig/anthropic/models/beta/beta_managed_agents_delta_content.rbs +5 -15
  662. data/sig/anthropic/models/beta/beta_managed_agents_delta_event.rbs +4 -14
  663. data/sig/anthropic/models/beta/beta_managed_agents_deployment.rbs +5 -15
  664. data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +4 -14
  665. data/sig/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbs +4 -14
  666. data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbs +5 -15
  667. data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbs +4 -14
  668. data/sig/anthropic/models/beta/beta_managed_agents_effort_high.rbs +4 -19
  669. data/sig/anthropic/models/beta/beta_managed_agents_effort_low.rbs +4 -19
  670. data/sig/anthropic/models/beta/beta_managed_agents_effort_max.rbs +4 -19
  671. data/sig/anthropic/models/beta/beta_managed_agents_effort_medium.rbs +4 -19
  672. data/sig/anthropic/models/beta/beta_managed_agents_effort_xhigh.rbs +4 -19
  673. data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rbs +4 -20
  674. data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rbs +4 -20
  675. data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rbs +4 -20
  676. data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rbs +4 -20
  677. data/sig/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbs +4 -14
  678. data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rbs +4 -20
  679. data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rbs +4 -23
  680. data/sig/anthropic/models/beta/beta_managed_agents_file_resource_config.rbs +5 -23
  681. data/sig/anthropic/models/beta/beta_managed_agents_file_resource_params.rbs +5 -23
  682. data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbs +5 -15
  683. data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +5 -15
  684. data/sig/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rbs +4 -20
  685. data/sig/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rbs +4 -21
  686. data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rbs +4 -20
  687. data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rbs +4 -20
  688. data/sig/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rbs +4 -26
  689. data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset.rbs +4 -14
  690. data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rbs +5 -15
  691. data/sig/anthropic/models/beta/beta_managed_agents_memory_store.rbs +5 -15
  692. data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rbs +4 -20
  693. data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rbs +4 -20
  694. data/sig/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbs +5 -15
  695. data/sig/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbs +5 -15
  696. data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbs +4 -14
  697. data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbs +4 -14
  698. data/sig/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rbs +4 -21
  699. data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rbs +4 -20
  700. data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rbs +4 -20
  701. data/sig/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbs +4 -14
  702. data/sig/anthropic/models/beta/beta_managed_agents_schedule.rbs +5 -15
  703. data/sig/anthropic/models/beta/beta_managed_agents_schedule_params.rbs +4 -22
  704. data/sig/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rbs +4 -23
  705. data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rbs +4 -18
  706. data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rbs +4 -17
  707. data/sig/anthropic/models/beta/beta_managed_agents_session.rbs +5 -15
  708. data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +5 -15
  709. data/sig/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rbs +4 -17
  710. data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +4 -14
  711. data/sig/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rbs +4 -20
  712. data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rbs +4 -20
  713. data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rbs +4 -17
  714. data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +5 -15
  715. data/sig/anthropic/models/beta/beta_managed_agents_session_updated_event.rbs +5 -15
  716. data/sig/anthropic/models/beta/beta_managed_agents_session_usage_event.rbs +5 -15
  717. data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rbs +4 -20
  718. data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rbs +4 -23
  719. data/sig/anthropic/models/beta/beta_managed_agents_start_event.rbs +4 -14
  720. data/sig/anthropic/models/beta/beta_managed_agents_system_content_block.rbs +4 -23
  721. data/sig/anthropic/models/beta/beta_managed_agents_system_message_event.rbs +5 -15
  722. data/sig/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rbs +4 -20
  723. data/sig/anthropic/models/beta/beta_managed_agents_unknown_run_error.rbs +4 -23
  724. data/sig/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rbs +4 -26
  725. data/sig/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbs +5 -15
  726. data/sig/anthropic/models/beta/beta_managed_agents_vault.rbs +5 -15
  727. data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rbs +4 -20
  728. data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rbs +4 -23
  729. data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rbs +4 -20
  730. data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rbs +4 -23
  731. data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rbs +4 -20
  732. data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rbs +4 -20
  733. data/sig/anthropic/models/beta/beta_message_content_param.rbs +18 -0
  734. data/sig/anthropic/models/beta/beta_message_param.rbs +30 -50
  735. data/sig/anthropic/models/beta/beta_output_behavior_create_new.rbs +4 -19
  736. data/sig/anthropic/models/beta/beta_output_behavior_update_existing.rbs +4 -20
  737. data/sig/anthropic/models/beta/beta_system_message_param.rbs +116 -0
  738. data/sig/anthropic/models/beta/beta_user_message_param.rbs +29 -0
  739. data/sig/anthropic/models/beta/beta_user_profile.rbs +5 -15
  740. data/sig/anthropic/models/beta/beta_user_profile_enrollment_url.rbs +5 -23
  741. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbs +4 -23
  742. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbs +4 -23
  743. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbs +5 -21
  744. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbs +4 -23
  745. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbs +5 -15
  746. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbs +5 -15
  747. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbs +5 -18
  748. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbs +4 -23
  749. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbs +5 -15
  750. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbs +5 -21
  751. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbs +4 -23
  752. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbs +4 -23
  753. data/sig/anthropic/models/beta/message_count_tokens_params.rbs +4 -4
  754. data/sig/anthropic/models/beta/message_create_params.rbs +4 -25
  755. data/sig/anthropic/models/beta/messages/batch_create_params.rbs +7 -28
  756. data/sig/anthropic/models/beta/organization/beta_api_key.rbs +2 -7
  757. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs +0 -26
  758. data/sig/anthropic/models/beta/organization/beta_rbac_role.rbs +0 -5
  759. data/sig/anthropic/models/beta/organization/spend_limit_list_params.rbs +7 -0
  760. data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbs +0 -26
  761. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbs +5 -15
  762. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbs +5 -15
  763. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbs +5 -15
  764. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbs +4 -14
  765. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rbs +4 -18
  766. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rbs +4 -14
  767. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbs +5 -15
  768. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbs +5 -15
  769. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbs +5 -15
  770. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbs +5 -15
  771. data/sig/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rbs +4 -22
  772. data/sig/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rbs +4 -22
  773. data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +4 -14
  774. data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +5 -15
  775. data/sig/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rbs +4 -23
  776. data/sig/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbs +7 -18
  777. data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rbs +4 -23
  778. data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rbs +4 -23
  779. data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rbs +5 -15
  780. data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rbs +4 -24
  781. data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rbs +4 -23
  782. data/sig/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbs +5 -15
  783. data/sig/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbs +4 -14
  784. data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +4 -14
  785. data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +4 -14
  786. data/sig/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbs +5 -15
  787. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +4 -14
  788. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +4 -14
  789. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +4 -14
  790. data/sig/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rbs +7 -31
  791. data/sig/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rbs +4 -21
  792. data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rbs +4 -21
  793. data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rbs +4 -21
  794. data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rbs +4 -21
  795. data/sig/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rbs +4 -14
  796. data/sig/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rbs +4 -23
  797. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rbs +4 -20
  798. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rbs +4 -18
  799. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rbs +4 -21
  800. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +4 -14
  801. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rbs +4 -20
  802. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rbs +4 -20
  803. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbs +4 -14
  804. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rbs +4 -14
  805. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rbs +4 -18
  806. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rbs +4 -18
  807. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +5 -15
  808. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbs +5 -15
  809. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbs +4 -14
  810. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbs +4 -14
  811. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbs +4 -14
  812. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbs +4 -14
  813. data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rbs +4 -14
  814. data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rbs +4 -18
  815. data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rbs +5 -15
  816. data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rbs +4 -14
  817. data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rbs +4 -14
  818. data/sig/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rbs +4 -14
  819. data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_block.rbs +4 -24
  820. data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rbs +4 -24
  821. data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rbs +4 -23
  822. data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +4 -14
  823. data/sig/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rbs +4 -23
  824. data/sig/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rbs +4 -24
  825. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbs +5 -15
  826. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbs +5 -15
  827. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbs +4 -14
  828. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbs +5 -15
  829. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rbs +5 -15
  830. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rbs +5 -18
  831. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbs +5 -15
  832. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbs +4 -14
  833. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbs +5 -15
  834. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rbs +5 -15
  835. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbs +5 -15
  836. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential.rbs +5 -15
  837. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rbs +5 -15
  838. data/sig/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rbs +4 -23
  839. data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs +4 -14
  840. data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbs +5 -15
  841. data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbs +5 -15
  842. data/sig/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rbs +4 -20
  843. data/sig/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rbs +4 -20
  844. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rbs +5 -15
  845. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rbs +5 -15
  846. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rbs +5 -15
  847. data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rbs +4 -20
  848. data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rbs +4 -18
  849. data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rbs +4 -23
  850. data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rbs +4 -20
  851. data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rbs +4 -20
  852. data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rbs +5 -21
  853. data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rbs +4 -20
  854. data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rbs +4 -20
  855. data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rbs +4 -20
  856. data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rbs +4 -20
  857. data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rbs +5 -21
  858. data/sig/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rbs +4 -20
  859. data/sig/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rbs +4 -20
  860. data/sig/anthropic/models/message_content_param.rbs +14 -0
  861. data/sig/anthropic/models/message_count_tokens_params.rbs +4 -4
  862. data/sig/anthropic/models/message_create_params.rbs +4 -25
  863. data/sig/anthropic/models/message_param.rbs +26 -28
  864. data/sig/anthropic/models/messages/batch_create_params.rbs +7 -28
  865. data/sig/anthropic/models/model_list_params.rbs +0 -9
  866. data/sig/anthropic/models/model_retrieve_params.rbs +1 -13
  867. data/sig/anthropic/models/system_message_param.rbs +32 -0
  868. data/sig/anthropic/models/user_message_param.rbs +22 -0
  869. data/sig/anthropic/models/user_profile.rbs +10 -0
  870. data/sig/anthropic/models/user_profile_enforcement_action.rbs +50 -0
  871. data/sig/anthropic/models/user_profile_enforcement_action_ban.rbs +45 -0
  872. data/sig/anthropic/models/user_profile_enforcement_action_next_step.rbs +13 -0
  873. data/sig/anthropic/models/user_profile_enforcement_action_reason.rbs +24 -0
  874. data/sig/anthropic/models/user_profile_enforcement_action_restriction.rbs +45 -0
  875. data/sig/anthropic/models/user_profile_enforcement_status.rbs +17 -0
  876. data/sig/anthropic/models/user_profile_list_params.rbs +9 -0
  877. data/sig/anthropic/models.rbs +21 -5
  878. data/sig/anthropic/resources/beta/messages.rbs +4 -13
  879. data/sig/anthropic/resources/beta/organization/spend_limits.rbs +1 -0
  880. data/sig/anthropic/resources/beta/sessions/resources.rbs +1 -1
  881. data/sig/anthropic/resources/messages.rbs +4 -13
  882. data/sig/anthropic/resources/models.rbs +0 -2
  883. data/sig/anthropic/resources/user_profiles.rbs +1 -0
  884. metadata +47 -13
  885. data/lib/anthropic/models/completion.rb +0 -67
  886. data/lib/anthropic/models/completion_create_params.rb +0 -159
  887. data/lib/anthropic/resources/completions.rb +0 -149
  888. data/rbi/anthropic/models/completion.rbi +0 -95
  889. data/rbi/anthropic/models/completion_create_params.rbi +0 -236
  890. data/rbi/anthropic/resources/completions.rbi +0 -218
  891. data/sig/anthropic/models/completion.rbs +0 -40
  892. data/sig/anthropic/models/completion_create_params.rbs +0 -87
  893. data/sig/anthropic/resources/completions.rbs +0 -35
@@ -96,11 +96,20 @@ module Anthropic
96
96
  #
97
97
  # Note that if you want to include a
98
98
  # [system prompt](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role),
99
- # you can use the top-level `system` parameter — there is no `"system"` role for
100
- # input messages in the Messages API.
99
+ # you can use the top-level `system` parameter.
101
100
  #
102
101
  # There is a limit of 100,000 messages in a single request.
103
- sig { returns(T::Array[Anthropic::Beta::BetaMessageParam]) }
102
+ sig do
103
+ returns(
104
+ T::Array[
105
+ T.any(
106
+ Anthropic::Beta::BetaUserMessageParam,
107
+ Anthropic::Beta::BetaAssistantMessageParam,
108
+ Anthropic::Beta::BetaSystemMessageParam
109
+ )
110
+ ]
111
+ )
112
+ end
104
113
  attr_accessor :messages
105
114
 
106
115
  # The model that will complete your prompt.
@@ -352,20 +361,6 @@ module Anthropic
352
361
  end
353
362
  attr_writer :system_
354
363
 
355
- # Amount of randomness injected into the response.
356
- #
357
- # Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
358
- # for analytical / multiple choice, and closer to `1.0` for creative and
359
- # generative tasks.
360
- #
361
- # Note that even with `temperature` of `0.0`, the results will not be fully
362
- # deterministic.
363
- sig { returns(T.nilable(Float)) }
364
- attr_reader :temperature
365
-
366
- sig { params(temperature: Float).void }
367
- attr_writer :temperature
368
-
369
364
  # Configuration for Claude's thinking.
370
365
  #
371
366
  # With `{"type": "adaptive"}`, Claude decides when and how much to think. With
@@ -588,31 +583,6 @@ module Anthropic
588
583
  end
589
584
  attr_writer :tools
590
585
 
591
- # Only sample from the top K options for each subsequent token.
592
- #
593
- # Used to remove "long tail" low probability responses.
594
- # [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
595
- #
596
- # Recommended for advanced use cases only.
597
- sig { returns(T.nilable(Integer)) }
598
- attr_reader :top_k
599
-
600
- sig { params(top_k: Integer).void }
601
- attr_writer :top_k
602
-
603
- # Use nucleus sampling.
604
- #
605
- # In nucleus sampling, we compute the cumulative distribution over all the options
606
- # for each subsequent token in decreasing probability order and cut it off once it
607
- # reaches a particular probability specified by `top_p`.
608
- #
609
- # Recommended for advanced use cases only.
610
- sig { returns(T.nilable(Float)) }
611
- attr_reader :top_p
612
-
613
- sig { params(top_p: Float).void }
614
- attr_writer :top_p
615
-
616
586
  # Optional header to specify the beta version(s) you want to use.
617
587
  sig do
618
588
  returns(
@@ -653,7 +623,14 @@ module Anthropic
653
623
  sig do
654
624
  params(
655
625
  max_tokens: Integer,
656
- messages: T::Array[Anthropic::Beta::BetaMessageParam::OrHash],
626
+ messages:
627
+ T::Array[
628
+ T.any(
629
+ Anthropic::Beta::BetaUserMessageParam::OrHash,
630
+ Anthropic::Beta::BetaAssistantMessageParam::OrHash,
631
+ Anthropic::Beta::BetaSystemMessageParam::OrHash
632
+ )
633
+ ],
657
634
  model: T.any(Anthropic::Model::OrSymbol, String),
658
635
  cache_control:
659
636
  T.nilable(Anthropic::Beta::BetaCacheControlEphemeral::OrHash),
@@ -696,7 +673,6 @@ module Anthropic
696
673
  T.nilable(Anthropic::Beta::MessageCreateParams::Speed::OrSymbol),
697
674
  stop_sequences: T::Array[String],
698
675
  system_: Anthropic::Beta::MessageCreateParams::System::Variants,
699
- temperature: Float,
700
676
  thinking:
701
677
  T.any(
702
678
  Anthropic::Beta::BetaThinkingConfigEnabled::OrHash,
@@ -744,8 +720,6 @@ module Anthropic
744
720
  Anthropic::Beta::BetaMCPToolset::OrHash
745
721
  )
746
722
  ],
747
- top_k: Integer,
748
- top_p: Float,
749
723
  betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
750
724
  user_profile_id: String,
751
725
  workspace_id: String,
@@ -832,8 +806,7 @@ module Anthropic
832
806
  #
833
807
  # Note that if you want to include a
834
808
  # [system prompt](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role),
835
- # you can use the top-level `system` parameter — there is no `"system"` role for
836
- # input messages in the Messages API.
809
+ # you can use the top-level `system` parameter.
837
810
  #
838
811
  # There is a limit of 100,000 messages in a single request.
839
812
  messages:,
@@ -941,15 +914,6 @@ module Anthropic
941
914
  # as specifying a particular goal or role. See our
942
915
  # [guide to system prompts](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role).
943
916
  system_: nil,
944
- # Amount of randomness injected into the response.
945
- #
946
- # Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
947
- # for analytical / multiple choice, and closer to `1.0` for creative and
948
- # generative tasks.
949
- #
950
- # Note that even with `temperature` of `0.0`, the results will not be fully
951
- # deterministic.
952
- temperature: nil,
953
917
  # Configuration for Claude's thinking.
954
918
  #
955
919
  # With `{"type": "adaptive"}`, Claude decides when and how much to think. With
@@ -1042,21 +1006,6 @@ module Anthropic
1042
1006
  # [guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview)
1043
1007
  # for more details.
1044
1008
  tools: nil,
1045
- # Only sample from the top K options for each subsequent token.
1046
- #
1047
- # Used to remove "long tail" low probability responses.
1048
- # [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
1049
- #
1050
- # Recommended for advanced use cases only.
1051
- top_k: nil,
1052
- # Use nucleus sampling.
1053
- #
1054
- # In nucleus sampling, we compute the cumulative distribution over all the options
1055
- # for each subsequent token in decreasing probability order and cut it off once it
1056
- # reaches a particular probability specified by `top_p`.
1057
- #
1058
- # Recommended for advanced use cases only.
1059
- top_p: nil,
1060
1009
  # Optional header to specify the beta version(s) you want to use.
1061
1010
  betas: nil,
1062
1011
  # The user profile ID to attribute this request to. Use when acting on behalf of a
@@ -1077,7 +1026,14 @@ module Anthropic
1077
1026
  override.returns(
1078
1027
  {
1079
1028
  max_tokens: Integer,
1080
- messages: T::Array[Anthropic::Beta::BetaMessageParam],
1029
+ messages:
1030
+ T::Array[
1031
+ T.any(
1032
+ Anthropic::Beta::BetaUserMessageParam,
1033
+ Anthropic::Beta::BetaAssistantMessageParam,
1034
+ Anthropic::Beta::BetaSystemMessageParam
1035
+ )
1036
+ ],
1081
1037
  model: T.any(Anthropic::Model::OrSymbol, String),
1082
1038
  cache_control:
1083
1039
  T.nilable(Anthropic::Beta::BetaCacheControlEphemeral),
@@ -1109,7 +1065,6 @@ module Anthropic
1109
1065
  ),
1110
1066
  stop_sequences: T::Array[String],
1111
1067
  system_: Anthropic::Beta::MessageCreateParams::System::Variants,
1112
- temperature: Float,
1113
1068
  thinking:
1114
1069
  T.any(
1115
1070
  Anthropic::Beta::BetaThinkingConfigEnabled,
@@ -1157,8 +1112,6 @@ module Anthropic
1157
1112
  Anthropic::Beta::BetaMCPToolset
1158
1113
  )
1159
1114
  ],
1160
- top_k: Integer,
1161
- top_p: Float,
1162
1115
  betas:
1163
1116
  T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
1164
1117
  user_profile_id: String,
@@ -277,11 +277,20 @@ module Anthropic
277
277
  #
278
278
  # Note that if you want to include a
279
279
  # [system prompt](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role),
280
- # you can use the top-level `system` parameter — there is no `"system"` role for
281
- # input messages in the Messages API.
280
+ # you can use the top-level `system` parameter.
282
281
  #
283
282
  # There is a limit of 100,000 messages in a single request.
284
- sig { returns(T::Array[Anthropic::Beta::BetaMessageParam]) }
283
+ sig do
284
+ returns(
285
+ T::Array[
286
+ T.any(
287
+ Anthropic::Beta::BetaUserMessageParam,
288
+ Anthropic::Beta::BetaAssistantMessageParam,
289
+ Anthropic::Beta::BetaSystemMessageParam
290
+ )
291
+ ]
292
+ )
293
+ end
285
294
  attr_accessor :messages
286
295
 
287
296
  # The model that will complete your prompt.
@@ -565,20 +574,6 @@ module Anthropic
565
574
  end
566
575
  attr_writer :system_
567
576
 
568
- # Amount of randomness injected into the response.
569
- #
570
- # Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
571
- # for analytical / multiple choice, and closer to `1.0` for creative and
572
- # generative tasks.
573
- #
574
- # Note that even with `temperature` of `0.0`, the results will not be fully
575
- # deterministic.
576
- sig { returns(T.nilable(Float)) }
577
- attr_reader :temperature
578
-
579
- sig { params(temperature: Float).void }
580
- attr_writer :temperature
581
-
582
577
  # Configuration for Claude's thinking.
583
578
  #
584
579
  # With `{"type": "adaptive"}`, Claude decides when and how much to think. With
@@ -801,31 +796,6 @@ module Anthropic
801
796
  end
802
797
  attr_writer :tools
803
798
 
804
- # Only sample from the top K options for each subsequent token.
805
- #
806
- # Used to remove "long tail" low probability responses.
807
- # [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
808
- #
809
- # Recommended for advanced use cases only.
810
- sig { returns(T.nilable(Integer)) }
811
- attr_reader :top_k
812
-
813
- sig { params(top_k: Integer).void }
814
- attr_writer :top_k
815
-
816
- # Use nucleus sampling.
817
- #
818
- # In nucleus sampling, we compute the cumulative distribution over all the options
819
- # for each subsequent token in decreasing probability order and cut it off once it
820
- # reaches a particular probability specified by `top_p`.
821
- #
822
- # Recommended for advanced use cases only.
823
- sig { returns(T.nilable(Float)) }
824
- attr_reader :top_p
825
-
826
- sig { params(top_p: Float).void }
827
- attr_writer :top_p
828
-
829
799
  # Messages API creation parameters for the individual request.
830
800
  #
831
801
  # See the
@@ -834,7 +804,14 @@ module Anthropic
834
804
  sig do
835
805
  params(
836
806
  max_tokens: Integer,
837
- messages: T::Array[Anthropic::Beta::BetaMessageParam::OrHash],
807
+ messages:
808
+ T::Array[
809
+ T.any(
810
+ Anthropic::Beta::BetaUserMessageParam::OrHash,
811
+ Anthropic::Beta::BetaAssistantMessageParam::OrHash,
812
+ Anthropic::Beta::BetaSystemMessageParam::OrHash
813
+ )
814
+ ],
838
815
  model: T.any(Anthropic::Model::OrSymbol, String),
839
816
  cache_control:
840
817
  T.nilable(
@@ -888,7 +865,6 @@ module Anthropic
888
865
  stream: T::Boolean,
889
866
  system_:
890
867
  Anthropic::Beta::Messages::BatchCreateParams::Request::Params::System::Variants,
891
- temperature: Float,
892
868
  thinking:
893
869
  T.any(
894
870
  Anthropic::Beta::BetaThinkingConfigEnabled::OrHash,
@@ -935,9 +911,7 @@ module Anthropic
935
911
  Anthropic::Beta::BetaToolSearchToolRegex20251119::OrHash,
936
912
  Anthropic::Beta::BetaMCPToolset::OrHash
937
913
  )
938
- ],
939
- top_k: Integer,
940
- top_p: Float
914
+ ]
941
915
  ).returns(T.attached_class)
942
916
  end
943
917
  def self.new(
@@ -1020,8 +994,7 @@ module Anthropic
1020
994
  #
1021
995
  # Note that if you want to include a
1022
996
  # [system prompt](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role),
1023
- # you can use the top-level `system` parameter — there is no `"system"` role for
1024
- # input messages in the Messages API.
997
+ # you can use the top-level `system` parameter.
1025
998
  #
1026
999
  # There is a limit of 100,000 messages in a single request.
1027
1000
  messages:,
@@ -1138,15 +1111,6 @@ module Anthropic
1138
1111
  # as specifying a particular goal or role. See our
1139
1112
  # [guide to system prompts](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role).
1140
1113
  system_: nil,
1141
- # Amount of randomness injected into the response.
1142
- #
1143
- # Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
1144
- # for analytical / multiple choice, and closer to `1.0` for creative and
1145
- # generative tasks.
1146
- #
1147
- # Note that even with `temperature` of `0.0`, the results will not be fully
1148
- # deterministic.
1149
- temperature: nil,
1150
1114
  # Configuration for Claude's thinking.
1151
1115
  #
1152
1116
  # With `{"type": "adaptive"}`, Claude decides when and how much to think. With
@@ -1238,22 +1202,7 @@ module Anthropic
1238
1202
  # See our
1239
1203
  # [guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview)
1240
1204
  # for more details.
1241
- tools: nil,
1242
- # Only sample from the top K options for each subsequent token.
1243
- #
1244
- # Used to remove "long tail" low probability responses.
1245
- # [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
1246
- #
1247
- # Recommended for advanced use cases only.
1248
- top_k: nil,
1249
- # Use nucleus sampling.
1250
- #
1251
- # In nucleus sampling, we compute the cumulative distribution over all the options
1252
- # for each subsequent token in decreasing probability order and cut it off once it
1253
- # reaches a particular probability specified by `top_p`.
1254
- #
1255
- # Recommended for advanced use cases only.
1256
- top_p: nil
1205
+ tools: nil
1257
1206
  )
1258
1207
  end
1259
1208
 
@@ -1261,7 +1210,14 @@ module Anthropic
1261
1210
  override.returns(
1262
1211
  {
1263
1212
  max_tokens: Integer,
1264
- messages: T::Array[Anthropic::Beta::BetaMessageParam],
1213
+ messages:
1214
+ T::Array[
1215
+ T.any(
1216
+ Anthropic::Beta::BetaUserMessageParam,
1217
+ Anthropic::Beta::BetaAssistantMessageParam,
1218
+ Anthropic::Beta::BetaSystemMessageParam
1219
+ )
1220
+ ],
1265
1221
  model: T.any(Anthropic::Model::OrSymbol, String),
1266
1222
  cache_control:
1267
1223
  T.nilable(Anthropic::Beta::BetaCacheControlEphemeral),
@@ -1308,7 +1264,6 @@ module Anthropic
1308
1264
  stream: T::Boolean,
1309
1265
  system_:
1310
1266
  Anthropic::Beta::Messages::BatchCreateParams::Request::Params::System::Variants,
1311
- temperature: Float,
1312
1267
  thinking:
1313
1268
  T.any(
1314
1269
  Anthropic::Beta::BetaThinkingConfigEnabled,
@@ -1355,9 +1310,7 @@ module Anthropic
1355
1310
  Anthropic::Beta::BetaToolSearchToolRegex20251119,
1356
1311
  Anthropic::Beta::BetaMCPToolset
1357
1312
  )
1358
- ],
1359
- top_k: Integer,
1360
- top_p: Float
1313
+ ]
1361
1314
  }
1362
1315
  )
1363
1316
  end
@@ -89,12 +89,6 @@ module Anthropic
89
89
  sig { returns(Symbol) }
90
90
  attr_accessor :type
91
91
 
92
- # Deprecated: use `scope` instead. ID of the Workspace associated with the API
93
- # key, or `null` if the API key belongs to the default Workspace. Also `null` for
94
- # a principal-bound API key that has no Workspace; `scope` tells the two apart.
95
- sig { returns(T.nilable(String)) }
96
- attr_accessor :workspace_id
97
-
98
92
  sig do
99
93
  params(
100
94
  id: String,
@@ -120,7 +114,6 @@ module Anthropic
120
114
  ),
121
115
  status:
122
116
  Anthropic::Beta::Organization::BetaAPIKey::Status::OrSymbol,
123
- workspace_id: T.nilable(String),
124
117
  type: Symbol
125
118
  ).returns(T.attached_class)
126
119
  end
@@ -151,10 +144,6 @@ module Anthropic
151
144
  scope:,
152
145
  # Status of the API key.
153
146
  status:,
154
- # Deprecated: use `scope` instead. ID of the Workspace associated with the API
155
- # key, or `null` if the API key belongs to the default Workspace. Also `null` for
156
- # a principal-bound API key that has no Workspace; `scope` tells the two apart.
157
- workspace_id:,
158
147
  # Object type.
159
148
  #
160
149
  # For API Keys, this is always `"api_key"`.
@@ -180,8 +169,7 @@ module Anthropic
180
169
  Anthropic::Beta::Organization::BetaAPIKey::Scope::Variants,
181
170
  status:
182
171
  Anthropic::Beta::Organization::BetaAPIKey::Status::TaggedSymbol,
183
- type: Symbol,
184
- workspace_id: T.nilable(String)
172
+ type: Symbol
185
173
  }
186
174
  )
187
175
  end
@@ -340,9 +328,8 @@ module Anthropic
340
328
  end
341
329
  def self.new(
342
330
  type:,
343
- # ID of the Workspace the API key belongs to. Unlike the deprecated top-level
344
- # `workspace_id`, this is the Workspace's real ID even for the organization's
345
- # default Workspace.
331
+ # ID of the Workspace the API key belongs to, including when it is the
332
+ # organization's default Workspace.
346
333
  workspace_id: nil
347
334
  )
348
335
  end
@@ -17,9 +17,8 @@ module Anthropic
17
17
  sig { returns(Symbol) }
18
18
  attr_accessor :type
19
19
 
20
- # ID of the Workspace the API key belongs to. Unlike the deprecated top-level
21
- # `workspace_id`, this is the Workspace's real ID even for the organization's
22
- # default Workspace.
20
+ # ID of the Workspace the API key belongs to, including when it is the
21
+ # organization's default Workspace.
23
22
  sig { returns(String) }
24
23
  attr_accessor :workspace_id
25
24
 
@@ -27,9 +26,8 @@ module Anthropic
27
26
  params(workspace_id: String, type: Symbol).returns(T.attached_class)
28
27
  end
29
28
  def self.new(
30
- # ID of the Workspace the API key belongs to. Unlike the deprecated top-level
31
- # `workspace_id`, this is the Workspace's real ID even for the organization's
32
- # default Workspace.
29
+ # ID of the Workspace the API key belongs to, including when it is the
30
+ # organization's default Workspace.
33
31
  workspace_id:,
34
32
  # Scope type. Always `"workspace"`: the API key belongs to one Workspace.
35
33
  type: :workspace
@@ -19,8 +19,7 @@ module Anthropic
19
19
  sig { returns(String) }
20
20
  attr_accessor :id
21
21
 
22
- # The rate-limit group this entry's limits apply to. Its `type` equals
23
- # `group_type`.
22
+ # The rate-limit group this entry's limits apply to.
24
23
  sig do
25
24
  returns(
26
25
  Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Variants
@@ -28,17 +27,6 @@ module Anthropic
28
27
  end
29
28
  attr_accessor :group
30
29
 
31
- # Deprecated: use `group.type` instead. The kind of rate-limit group this entry
32
- # represents. `model_group` entries apply to a family of models (listed in
33
- # `models`); other values apply to an API-surface category and have `models` set
34
- # to `null`. Always equal to `group.type`.
35
- sig do
36
- returns(
37
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
38
- )
39
- end
40
- attr_accessor :group_type
41
-
42
30
  # The limiter values that apply to this group.
43
31
  sig do
44
32
  returns(
@@ -50,7 +38,7 @@ module Anthropic
50
38
  attr_accessor :limits
51
39
 
52
40
  # Model names this entry's limits apply to, including aliases. `null` when
53
- # `group_type` is not `"model_group"`.
41
+ # `group.type` is not `"model_group"`.
54
42
  sig { returns(T.nilable(T::Array[String])) }
55
43
  attr_accessor :models
56
44
 
@@ -70,8 +58,6 @@ module Anthropic
70
58
  Anthropic::Beta::Organization::BetaOrganizationRateLimitSkillsGroup::OrHash,
71
59
  Anthropic::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup::OrHash
72
60
  ),
73
- group_type:
74
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::OrSymbol,
75
61
  limits:
76
62
  T::Array[
77
63
  Anthropic::Beta::Organization::BetaOrganizationRateLimitValue::OrHash
@@ -85,18 +71,12 @@ module Anthropic
85
71
  # differs between organizations; the group's own identifier is `group.id`. Pass it
86
72
  # as `rate_limit_id` to set a workspace's overrides for this group.
87
73
  id:,
88
- # The rate-limit group this entry's limits apply to. Its `type` equals
89
- # `group_type`.
74
+ # The rate-limit group this entry's limits apply to.
90
75
  group:,
91
- # Deprecated: use `group.type` instead. The kind of rate-limit group this entry
92
- # represents. `model_group` entries apply to a family of models (listed in
93
- # `models`); other values apply to an API-surface category and have `models` set
94
- # to `null`. Always equal to `group.type`.
95
- group_type:,
96
76
  # The limiter values that apply to this group.
97
77
  limits:,
98
78
  # Model names this entry's limits apply to, including aliases. `null` when
99
- # `group_type` is not `"model_group"`.
79
+ # `group.type` is not `"model_group"`.
100
80
  models:,
101
81
  # Object type. Always `rate_limit` for organization rate-limit entries.
102
82
  type: :rate_limit
@@ -109,8 +89,6 @@ module Anthropic
109
89
  id: String,
110
90
  group:
111
91
  Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Variants,
112
- group_type:
113
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol,
114
92
  limits:
115
93
  T::Array[
116
94
  Anthropic::Beta::Organization::BetaOrganizationRateLimitValue
@@ -123,8 +101,7 @@ module Anthropic
123
101
  def to_hash
124
102
  end
125
103
 
126
- # The rate-limit group this entry's limits apply to. Its `type` equals
127
- # `group_type`.
104
+ # The rate-limit group this entry's limits apply to.
128
105
  module Group
129
106
  extend Anthropic::Internal::Type::Union
130
107
 
@@ -228,64 +205,6 @@ module Anthropic
228
205
  )
229
206
  end
230
207
  end
231
-
232
- # Deprecated: use `group.type` instead. The kind of rate-limit group this entry
233
- # represents. `model_group` entries apply to a family of models (listed in
234
- # `models`); other values apply to an API-surface category and have `models` set
235
- # to `null`. Always equal to `group.type`.
236
- module GroupType
237
- extend Anthropic::Internal::Type::Enum
238
-
239
- TaggedSymbol =
240
- T.type_alias do
241
- T.all(
242
- Symbol,
243
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType
244
- )
245
- end
246
- OrSymbol = T.type_alias { T.any(Symbol, String) }
247
-
248
- BATCH =
249
- T.let(
250
- :batch,
251
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
252
- )
253
- FILES =
254
- T.let(
255
- :files,
256
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
257
- )
258
- MODEL_GROUP =
259
- T.let(
260
- :model_group,
261
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
262
- )
263
- SKILLS =
264
- T.let(
265
- :skills,
266
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
267
- )
268
- TOKEN_COUNT =
269
- T.let(
270
- :token_count,
271
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
272
- )
273
- WEB_SEARCH =
274
- T.let(
275
- :web_search,
276
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
277
- )
278
-
279
- sig do
280
- override.returns(
281
- T::Array[
282
- Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
283
- ]
284
- )
285
- end
286
- def self.values
287
- end
288
- end
289
208
  end
290
209
  end
291
210
  end
@@ -27,11 +27,6 @@ module Anthropic
27
27
  sig { returns(String) }
28
28
  attr_accessor :display_name
29
29
 
30
- # Deprecated: use `display_name` instead. Name of the RBAC Role; always the same
31
- # value as `display_name`.
32
- sig { returns(String) }
33
- attr_accessor :name
34
-
35
30
  # Object type.
36
31
  #
37
32
  # For RBAC Roles, this is always `"rbac_role"`.
@@ -47,7 +42,6 @@ module Anthropic
47
42
  id: String,
48
43
  created_at: Time,
49
44
  display_name: String,
50
- name: String,
51
45
  updated_at: Time,
52
46
  type: Symbol
53
47
  ).returns(T.attached_class)
@@ -61,9 +55,6 @@ module Anthropic
61
55
  # from the label claude.ai shows, and Anthropic may change the name. To keep a
62
56
  # lasting reference to a role, store its `id`.
63
57
  display_name:,
64
- # Deprecated: use `display_name` instead. Name of the RBAC Role; always the same
65
- # value as `display_name`.
66
- name:,
67
58
  # RFC 3339 datetime string indicating when the RBAC Role was last updated.
68
59
  updated_at:,
69
60
  # Object type.
@@ -79,7 +70,6 @@ module Anthropic
79
70
  id: String,
80
71
  created_at: Time,
81
72
  display_name: String,
82
- name: String,
83
73
  type: Symbol,
84
74
  updated_at: Time
85
75
  }