anthropic 1.63.0 → 1.65.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 (648) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -1
  3. data/README.md +1 -1
  4. data/lib/anthropic/client.rb +8 -0
  5. data/lib/anthropic/helpers/bedrock/client.rb +8 -0
  6. data/lib/anthropic/helpers/bedrock/mantle_client.rb +12 -0
  7. data/lib/anthropic/helpers/vertex/client.rb +8 -0
  8. data/lib/anthropic/internal/page_cursor.rb +2 -2
  9. data/lib/anthropic/models/beta/agent_create_params.rb +1 -1
  10. data/lib/anthropic/models/beta/agent_update_params.rb +1 -1
  11. data/lib/anthropic/models/beta/beta_browser_close_tab_config.rb +36 -0
  12. data/lib/anthropic/models/beta/beta_browser_double_click_config.rb +36 -0
  13. data/lib/anthropic/models/beta/beta_browser_file_upload_config.rb +36 -0
  14. data/lib/anthropic/models/beta/beta_browser_find_config.rb +36 -0
  15. data/lib/anthropic/models/beta/beta_browser_form_input_config.rb +36 -0
  16. data/lib/anthropic/models/beta/beta_browser_get_page_text_config.rb +36 -0
  17. data/lib/anthropic/models/beta/beta_browser_hold_key_config.rb +36 -0
  18. data/lib/anthropic/models/beta/beta_browser_hover_config.rb +36 -0
  19. data/lib/anthropic/models/beta/beta_browser_javascript_exec_config.rb +36 -0
  20. data/lib/anthropic/models/beta/beta_browser_key_config.rb +36 -0
  21. data/lib/anthropic/models/beta/beta_browser_left_click_config.rb +36 -0
  22. data/lib/anthropic/models/beta/beta_browser_left_click_drag_config.rb +36 -0
  23. data/lib/anthropic/models/beta/beta_browser_left_mouse_down_config.rb +36 -0
  24. data/lib/anthropic/models/beta/beta_browser_left_mouse_up_config.rb +36 -0
  25. data/lib/anthropic/models/beta/beta_browser_list_tabs_config.rb +36 -0
  26. data/lib/anthropic/models/beta/beta_browser_middle_click_config.rb +36 -0
  27. data/lib/anthropic/models/beta/beta_browser_mouse_move_config.rb +36 -0
  28. data/lib/anthropic/models/beta/beta_browser_navigate_config.rb +36 -0
  29. data/lib/anthropic/models/beta/beta_browser_new_tab_config.rb +36 -0
  30. data/lib/anthropic/models/beta/beta_browser_read_console_config.rb +36 -0
  31. data/lib/anthropic/models/beta/beta_browser_read_network_config.rb +36 -0
  32. data/lib/anthropic/models/beta/beta_browser_read_page_config.rb +36 -0
  33. data/lib/anthropic/models/beta/beta_browser_right_click_config.rb +36 -0
  34. data/lib/anthropic/models/beta/beta_browser_screenshot_config.rb +36 -0
  35. data/lib/anthropic/models/beta/beta_browser_scroll_config.rb +36 -0
  36. data/lib/anthropic/models/beta/beta_browser_scroll_to_config.rb +36 -0
  37. data/lib/anthropic/models/beta/beta_browser_state_block_param.rb +58 -0
  38. data/lib/anthropic/models/beta/beta_browser_state_change.rb +84 -0
  39. data/lib/anthropic/models/beta/beta_browser_state_change_download_completed.rb +62 -0
  40. data/lib/anthropic/models/beta/beta_browser_state_change_download_failed.rb +50 -0
  41. data/lib/anthropic/models/beta/beta_browser_state_change_download_started.rb +42 -0
  42. data/lib/anthropic/models/beta/beta_browser_state_change_tab_opened.rb +34 -0
  43. data/lib/anthropic/models/beta/beta_browser_state_tab_entry.rb +55 -0
  44. data/lib/anthropic/models/beta/beta_browser_switch_tab_config.rb +36 -0
  45. data/lib/anthropic/models/beta/beta_browser_toolset_20260801.rb +73 -0
  46. data/lib/anthropic/models/beta/beta_browser_toolset_configs.rb +266 -0
  47. data/lib/anthropic/models/beta/beta_browser_triple_click_config.rb +36 -0
  48. data/lib/anthropic/models/beta/beta_browser_type_config.rb +36 -0
  49. data/lib/anthropic/models/beta/beta_browser_wait_config.rb +36 -0
  50. data/lib/anthropic/models/beta/beta_browser_zoom_config.rb +36 -0
  51. data/lib/anthropic/models/beta/beta_computer_cursor_position_config.rb +36 -0
  52. data/lib/anthropic/models/beta/beta_computer_double_click_config.rb +36 -0
  53. data/lib/anthropic/models/beta/beta_computer_hold_key_config.rb +36 -0
  54. data/lib/anthropic/models/beta/beta_computer_key_config.rb +36 -0
  55. data/lib/anthropic/models/beta/beta_computer_left_click_config.rb +36 -0
  56. data/lib/anthropic/models/beta/beta_computer_left_click_drag_config.rb +36 -0
  57. data/lib/anthropic/models/beta/beta_computer_left_mouse_down_config.rb +36 -0
  58. data/lib/anthropic/models/beta/beta_computer_left_mouse_up_config.rb +36 -0
  59. data/lib/anthropic/models/beta/beta_computer_middle_click_config.rb +36 -0
  60. data/lib/anthropic/models/beta/beta_computer_mouse_move_config.rb +36 -0
  61. data/lib/anthropic/models/beta/beta_computer_right_click_config.rb +36 -0
  62. data/lib/anthropic/models/beta/beta_computer_screenshot_config.rb +36 -0
  63. data/lib/anthropic/models/beta/beta_computer_scroll_config.rb +36 -0
  64. data/lib/anthropic/models/beta/beta_computer_toolset_20260801.rb +76 -0
  65. data/lib/anthropic/models/beta/beta_computer_toolset_configs.rb +154 -0
  66. data/lib/anthropic/models/beta/beta_computer_triple_click_config.rb +36 -0
  67. data/lib/anthropic/models/beta/beta_computer_type_config.rb +36 -0
  68. data/lib/anthropic/models/beta/beta_computer_wait_config.rb +36 -0
  69. data/lib/anthropic/models/beta/beta_computer_zoom_config.rb +36 -0
  70. data/lib/anthropic/models/beta/beta_content_block.rb +2 -0
  71. data/lib/anthropic/models/beta/beta_content_block_param.rb +5 -1
  72. data/lib/anthropic/models/beta/beta_content_block_source_content.rb +5 -0
  73. data/lib/anthropic/models/beta/{deleted_file.rb → beta_deleted_file.rb} +8 -6
  74. data/lib/anthropic/models/beta/{file_metadata.rb → beta_file_metadata.rb} +4 -2
  75. data/lib/anthropic/models/beta/beta_image_block_param.rb +15 -1
  76. data/lib/anthropic/models/beta/beta_image_transformations_param.rb +51 -0
  77. data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +1 -1
  78. data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +65 -71
  79. data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +69 -78
  80. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rb +3 -3
  81. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rb +3 -3
  82. data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +1 -1
  83. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +82 -0
  84. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +100 -0
  85. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +82 -0
  86. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +100 -0
  87. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +82 -0
  88. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +100 -0
  89. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +82 -0
  90. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +100 -0
  91. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +82 -0
  92. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +100 -0
  93. data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +1 -1
  94. data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +1 -1
  95. data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +1 -1
  96. data/lib/anthropic/models/beta/beta_managed_agents_user_location.rb +54 -0
  97. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +103 -0
  98. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +131 -0
  99. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +104 -0
  100. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +130 -0
  101. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +82 -0
  102. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +100 -0
  103. data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +2 -0
  104. data/lib/anthropic/models/beta/beta_skill.rb +2 -2
  105. data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +35 -6
  106. data/lib/anthropic/models/beta/beta_tool_union.rb +17 -1
  107. data/lib/anthropic/models/beta/beta_tool_use_block.rb +9 -1
  108. data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +9 -1
  109. data/lib/anthropic/models/beta/message_count_tokens_params.rb +19 -3
  110. data/lib/anthropic/models/beta/message_create_params.rb +2 -2
  111. data/lib/anthropic/models/beta/messages/batch_create_params.rb +2 -2
  112. data/lib/anthropic/models/browser_close_tab_config.rb +32 -0
  113. data/lib/anthropic/models/browser_double_click_config.rb +32 -0
  114. data/lib/anthropic/models/browser_file_upload_config.rb +32 -0
  115. data/lib/anthropic/models/browser_find_config.rb +32 -0
  116. data/lib/anthropic/models/browser_form_input_config.rb +32 -0
  117. data/lib/anthropic/models/browser_get_page_text_config.rb +32 -0
  118. data/lib/anthropic/models/browser_hold_key_config.rb +32 -0
  119. data/lib/anthropic/models/browser_hover_config.rb +32 -0
  120. data/lib/anthropic/models/browser_javascript_exec_config.rb +32 -0
  121. data/lib/anthropic/models/browser_key_config.rb +32 -0
  122. data/lib/anthropic/models/browser_left_click_config.rb +32 -0
  123. data/lib/anthropic/models/browser_left_click_drag_config.rb +32 -0
  124. data/lib/anthropic/models/browser_left_mouse_down_config.rb +32 -0
  125. data/lib/anthropic/models/browser_left_mouse_up_config.rb +32 -0
  126. data/lib/anthropic/models/browser_list_tabs_config.rb +32 -0
  127. data/lib/anthropic/models/browser_middle_click_config.rb +32 -0
  128. data/lib/anthropic/models/browser_mouse_move_config.rb +32 -0
  129. data/lib/anthropic/models/browser_navigate_config.rb +32 -0
  130. data/lib/anthropic/models/browser_new_tab_config.rb +32 -0
  131. data/lib/anthropic/models/browser_read_console_config.rb +32 -0
  132. data/lib/anthropic/models/browser_read_network_config.rb +32 -0
  133. data/lib/anthropic/models/browser_read_page_config.rb +32 -0
  134. data/lib/anthropic/models/browser_right_click_config.rb +32 -0
  135. data/lib/anthropic/models/browser_screenshot_config.rb +32 -0
  136. data/lib/anthropic/models/browser_scroll_config.rb +32 -0
  137. data/lib/anthropic/models/browser_scroll_to_config.rb +32 -0
  138. data/lib/anthropic/models/browser_state_block_param.rb +54 -0
  139. data/lib/anthropic/models/browser_state_change.rb +80 -0
  140. data/lib/anthropic/models/browser_state_change_download_completed.rb +57 -0
  141. data/lib/anthropic/models/browser_state_change_download_failed.rb +45 -0
  142. data/lib/anthropic/models/browser_state_change_download_started.rb +37 -0
  143. data/lib/anthropic/models/browser_state_change_tab_opened.rb +30 -0
  144. data/lib/anthropic/models/browser_state_tab_entry.rb +51 -0
  145. data/lib/anthropic/models/browser_switch_tab_config.rb +32 -0
  146. data/lib/anthropic/models/browser_toolset_20260801.rb +69 -0
  147. data/lib/anthropic/models/browser_toolset_configs.rb +262 -0
  148. data/lib/anthropic/models/browser_triple_click_config.rb +32 -0
  149. data/lib/anthropic/models/browser_type_config.rb +32 -0
  150. data/lib/anthropic/models/browser_wait_config.rb +32 -0
  151. data/lib/anthropic/models/browser_zoom_config.rb +32 -0
  152. data/lib/anthropic/models/computer_cursor_position_config.rb +32 -0
  153. data/lib/anthropic/models/computer_double_click_config.rb +32 -0
  154. data/lib/anthropic/models/computer_hold_key_config.rb +32 -0
  155. data/lib/anthropic/models/computer_key_config.rb +32 -0
  156. data/lib/anthropic/models/computer_left_click_config.rb +32 -0
  157. data/lib/anthropic/models/computer_left_click_drag_config.rb +32 -0
  158. data/lib/anthropic/models/computer_left_mouse_down_config.rb +32 -0
  159. data/lib/anthropic/models/computer_left_mouse_up_config.rb +32 -0
  160. data/lib/anthropic/models/computer_middle_click_config.rb +32 -0
  161. data/lib/anthropic/models/computer_mouse_move_config.rb +32 -0
  162. data/lib/anthropic/models/computer_right_click_config.rb +32 -0
  163. data/lib/anthropic/models/computer_screenshot_config.rb +32 -0
  164. data/lib/anthropic/models/computer_scroll_config.rb +32 -0
  165. data/lib/anthropic/models/computer_toolset_20260801.rb +72 -0
  166. data/lib/anthropic/models/computer_toolset_configs.rb +150 -0
  167. data/lib/anthropic/models/computer_triple_click_config.rb +32 -0
  168. data/lib/anthropic/models/computer_type_config.rb +32 -0
  169. data/lib/anthropic/models/computer_wait_config.rb +32 -0
  170. data/lib/anthropic/models/computer_zoom_config.rb +32 -0
  171. data/lib/anthropic/models/container.rb +9 -1
  172. data/lib/anthropic/models/container_params.rb +26 -0
  173. data/lib/anthropic/models/container_skill.rb +47 -0
  174. data/lib/anthropic/models/content_block.rb +2 -0
  175. data/lib/anthropic/models/content_block_param.rb +6 -2
  176. data/lib/anthropic/models/content_block_source_content.rb +6 -1
  177. data/lib/anthropic/models/deleted_file.rb +44 -0
  178. data/lib/anthropic/models/deleted_skill.rb +32 -0
  179. data/lib/anthropic/models/document_block_param.rb +10 -4
  180. data/lib/anthropic/models/file_delete_params.rb +22 -0
  181. data/lib/anthropic/models/file_document_source.rb +21 -0
  182. data/lib/anthropic/models/file_download_params.rb +22 -0
  183. data/lib/anthropic/models/file_image_source.rb +21 -0
  184. data/lib/anthropic/models/file_list_params.rb +48 -0
  185. data/lib/anthropic/models/file_metadata.rb +82 -0
  186. data/lib/anthropic/models/file_retrieve_metadata_params.rb +22 -0
  187. data/lib/anthropic/models/file_upload_params.rb +34 -0
  188. data/lib/anthropic/models/image_block_param.rb +25 -5
  189. data/lib/anthropic/models/image_transformations_param.rb +47 -0
  190. data/lib/anthropic/models/message_count_tokens_params.rb +2 -2
  191. data/lib/anthropic/models/message_count_tokens_tool.rb +17 -1
  192. data/lib/anthropic/models/message_create_params.rb +5 -5
  193. data/lib/anthropic/models/message_create_params_container.rb +18 -0
  194. data/lib/anthropic/models/messages/batch_create_params.rb +5 -5
  195. data/lib/anthropic/models/raw_content_block_start_event.rb +2 -0
  196. data/lib/anthropic/models/skill.rb +82 -0
  197. data/lib/anthropic/models/skill_create_params.rb +38 -0
  198. data/lib/anthropic/models/skill_delete_params.rb +27 -0
  199. data/lib/anthropic/models/skill_list_params.rb +51 -0
  200. data/lib/anthropic/models/skill_params.rb +47 -0
  201. data/lib/anthropic/models/skill_retrieve_params.rb +27 -0
  202. data/lib/anthropic/models/skill_source.rb +48 -0
  203. data/lib/anthropic/models/skills/deleted_skill_version.rb +33 -0
  204. data/lib/anthropic/models/skills/skill_version.rb +74 -0
  205. data/lib/anthropic/models/skills/version_create_params.rb +40 -0
  206. data/lib/anthropic/models/skills/version_delete_params.rb +41 -0
  207. data/lib/anthropic/models/skills/version_list_params.rb +47 -0
  208. data/lib/anthropic/models/skills/version_retrieve_params.rb +41 -0
  209. data/lib/anthropic/models/tool_result_block_param.rb +35 -7
  210. data/lib/anthropic/models/tool_union.rb +17 -1
  211. data/lib/anthropic/models/tool_use_block.rb +9 -1
  212. data/lib/anthropic/models/tool_use_block_param.rb +9 -1
  213. data/lib/anthropic/models.rb +162 -0
  214. data/lib/anthropic/resources/beta/files.rb +8 -8
  215. data/lib/anthropic/resources/beta/messages.rb +35 -14
  216. data/lib/anthropic/resources/files.rb +134 -0
  217. data/lib/anthropic/resources/messages.rb +34 -25
  218. data/lib/anthropic/resources/skills/versions.rb +135 -0
  219. data/lib/anthropic/resources/skills.rb +123 -0
  220. data/lib/anthropic/version.rb +1 -1
  221. data/lib/anthropic.rb +168 -2
  222. data/rbi/anthropic/client.rbi +6 -0
  223. data/rbi/anthropic/helpers/bedrock/client.rbi +8 -0
  224. data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +8 -0
  225. data/rbi/anthropic/helpers/vertex/client.rbi +8 -0
  226. data/rbi/anthropic/models/beta/agent_create_params.rbi +10 -1
  227. data/rbi/anthropic/models/beta/agent_update_params.rbi +10 -1
  228. data/rbi/anthropic/models/beta/beta_browser_close_tab_config.rbi +59 -0
  229. data/rbi/anthropic/models/beta/beta_browser_double_click_config.rbi +59 -0
  230. data/rbi/anthropic/models/beta/beta_browser_file_upload_config.rbi +59 -0
  231. data/rbi/anthropic/models/beta/beta_browser_find_config.rbi +59 -0
  232. data/rbi/anthropic/models/beta/beta_browser_form_input_config.rbi +59 -0
  233. data/rbi/anthropic/models/beta/beta_browser_get_page_text_config.rbi +59 -0
  234. data/rbi/anthropic/models/beta/beta_browser_hold_key_config.rbi +59 -0
  235. data/rbi/anthropic/models/beta/beta_browser_hover_config.rbi +59 -0
  236. data/rbi/anthropic/models/beta/beta_browser_javascript_exec_config.rbi +59 -0
  237. data/rbi/anthropic/models/beta/beta_browser_key_config.rbi +59 -0
  238. data/rbi/anthropic/models/beta/beta_browser_left_click_config.rbi +59 -0
  239. data/rbi/anthropic/models/beta/beta_browser_left_click_drag_config.rbi +59 -0
  240. data/rbi/anthropic/models/beta/beta_browser_left_mouse_down_config.rbi +59 -0
  241. data/rbi/anthropic/models/beta/beta_browser_left_mouse_up_config.rbi +59 -0
  242. data/rbi/anthropic/models/beta/beta_browser_list_tabs_config.rbi +59 -0
  243. data/rbi/anthropic/models/beta/beta_browser_middle_click_config.rbi +59 -0
  244. data/rbi/anthropic/models/beta/beta_browser_mouse_move_config.rbi +59 -0
  245. data/rbi/anthropic/models/beta/beta_browser_navigate_config.rbi +59 -0
  246. data/rbi/anthropic/models/beta/beta_browser_new_tab_config.rbi +59 -0
  247. data/rbi/anthropic/models/beta/beta_browser_read_console_config.rbi +59 -0
  248. data/rbi/anthropic/models/beta/beta_browser_read_network_config.rbi +59 -0
  249. data/rbi/anthropic/models/beta/beta_browser_read_page_config.rbi +59 -0
  250. data/rbi/anthropic/models/beta/beta_browser_right_click_config.rbi +59 -0
  251. data/rbi/anthropic/models/beta/beta_browser_screenshot_config.rbi +59 -0
  252. data/rbi/anthropic/models/beta/beta_browser_scroll_config.rbi +59 -0
  253. data/rbi/anthropic/models/beta/beta_browser_scroll_to_config.rbi +59 -0
  254. data/rbi/anthropic/models/beta/beta_browser_state_block_param.rbi +120 -0
  255. data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +69 -0
  256. data/rbi/anthropic/models/beta/beta_browser_state_change_download_completed.rbi +83 -0
  257. data/rbi/anthropic/models/beta/beta_browser_state_change_download_failed.rbi +70 -0
  258. data/rbi/anthropic/models/beta/beta_browser_state_change_download_started.rbi +54 -0
  259. data/rbi/anthropic/models/beta/beta_browser_state_change_tab_opened.rbi +44 -0
  260. data/rbi/anthropic/models/beta/beta_browser_state_tab_entry.rbi +74 -0
  261. data/rbi/anthropic/models/beta/beta_browser_switch_tab_config.rbi +59 -0
  262. data/rbi/anthropic/models/beta/beta_browser_toolset_20260801.rbi +169 -0
  263. data/rbi/anthropic/models/beta/beta_browser_toolset_configs.rbi +598 -0
  264. data/rbi/anthropic/models/beta/beta_browser_triple_click_config.rbi +59 -0
  265. data/rbi/anthropic/models/beta/beta_browser_type_config.rbi +59 -0
  266. data/rbi/anthropic/models/beta/beta_browser_wait_config.rbi +59 -0
  267. data/rbi/anthropic/models/beta/beta_browser_zoom_config.rbi +59 -0
  268. data/rbi/anthropic/models/beta/beta_computer_cursor_position_config.rbi +59 -0
  269. data/rbi/anthropic/models/beta/beta_computer_double_click_config.rbi +59 -0
  270. data/rbi/anthropic/models/beta/beta_computer_hold_key_config.rbi +59 -0
  271. data/rbi/anthropic/models/beta/beta_computer_key_config.rbi +59 -0
  272. data/rbi/anthropic/models/beta/beta_computer_left_click_config.rbi +59 -0
  273. data/rbi/anthropic/models/beta/beta_computer_left_click_drag_config.rbi +59 -0
  274. data/rbi/anthropic/models/beta/beta_computer_left_mouse_down_config.rbi +59 -0
  275. data/rbi/anthropic/models/beta/beta_computer_left_mouse_up_config.rbi +59 -0
  276. data/rbi/anthropic/models/beta/beta_computer_middle_click_config.rbi +59 -0
  277. data/rbi/anthropic/models/beta/beta_computer_mouse_move_config.rbi +59 -0
  278. data/rbi/anthropic/models/beta/beta_computer_right_click_config.rbi +59 -0
  279. data/rbi/anthropic/models/beta/beta_computer_screenshot_config.rbi +59 -0
  280. data/rbi/anthropic/models/beta/beta_computer_scroll_config.rbi +59 -0
  281. data/rbi/anthropic/models/beta/beta_computer_toolset_20260801.rbi +172 -0
  282. data/rbi/anthropic/models/beta/beta_computer_toolset_configs.rbi +362 -0
  283. data/rbi/anthropic/models/beta/beta_computer_triple_click_config.rbi +59 -0
  284. data/rbi/anthropic/models/beta/beta_computer_type_config.rbi +59 -0
  285. data/rbi/anthropic/models/beta/beta_computer_wait_config.rbi +59 -0
  286. data/rbi/anthropic/models/beta/beta_computer_zoom_config.rbi +59 -0
  287. data/rbi/anthropic/models/beta/beta_content_block.rbi +3 -0
  288. data/rbi/anthropic/models/beta/beta_content_block_param.rbi +10 -0
  289. data/rbi/anthropic/models/beta/beta_content_block_source_content.rbi +9 -2
  290. data/rbi/anthropic/models/beta/{deleted_file.rbi → beta_deleted_file.rbi} +20 -9
  291. data/rbi/anthropic/models/beta/{file_metadata.rbi → beta_file_metadata.rbi} +7 -2
  292. data/rbi/anthropic/models/beta/beta_image_block_param.rbi +27 -1
  293. data/rbi/anthropic/models/beta/beta_image_transformations_param.rbi +114 -0
  294. data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +10 -1
  295. data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +37 -138
  296. data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +49 -149
  297. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbi +18 -3
  298. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbi +42 -4
  299. data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +10 -1
  300. data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +105 -0
  301. data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +169 -0
  302. data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +105 -0
  303. data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +169 -0
  304. data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +105 -0
  305. data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +169 -0
  306. data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +105 -0
  307. data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +169 -0
  308. data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +105 -0
  309. data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +169 -0
  310. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +10 -1
  311. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent_update.rbi +10 -1
  312. data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +10 -1
  313. data/rbi/anthropic/models/beta/beta_managed_agents_user_location.rbi +77 -0
  314. data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +130 -0
  315. data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +213 -0
  316. data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +144 -0
  317. data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +223 -0
  318. data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +105 -0
  319. data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +169 -0
  320. data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +3 -0
  321. data/rbi/anthropic/models/beta/beta_skill.rbi +2 -2
  322. data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +41 -4
  323. data/rbi/anthropic/models/beta/beta_tool_union.rbi +2 -0
  324. data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +9 -1
  325. data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +9 -1
  326. data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +10 -0
  327. data/rbi/anthropic/models/beta/message_create_params.rbi +8 -0
  328. data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +8 -0
  329. data/rbi/anthropic/models/browser_close_tab_config.rbi +52 -0
  330. data/rbi/anthropic/models/browser_double_click_config.rbi +55 -0
  331. data/rbi/anthropic/models/browser_file_upload_config.rbi +55 -0
  332. data/rbi/anthropic/models/browser_find_config.rbi +52 -0
  333. data/rbi/anthropic/models/browser_form_input_config.rbi +52 -0
  334. data/rbi/anthropic/models/browser_get_page_text_config.rbi +55 -0
  335. data/rbi/anthropic/models/browser_hold_key_config.rbi +52 -0
  336. data/rbi/anthropic/models/browser_hover_config.rbi +52 -0
  337. data/rbi/anthropic/models/browser_javascript_exec_config.rbi +55 -0
  338. data/rbi/anthropic/models/browser_key_config.rbi +52 -0
  339. data/rbi/anthropic/models/browser_left_click_config.rbi +52 -0
  340. data/rbi/anthropic/models/browser_left_click_drag_config.rbi +55 -0
  341. data/rbi/anthropic/models/browser_left_mouse_down_config.rbi +55 -0
  342. data/rbi/anthropic/models/browser_left_mouse_up_config.rbi +55 -0
  343. data/rbi/anthropic/models/browser_list_tabs_config.rbi +52 -0
  344. data/rbi/anthropic/models/browser_middle_click_config.rbi +55 -0
  345. data/rbi/anthropic/models/browser_mouse_move_config.rbi +52 -0
  346. data/rbi/anthropic/models/browser_navigate_config.rbi +52 -0
  347. data/rbi/anthropic/models/browser_new_tab_config.rbi +52 -0
  348. data/rbi/anthropic/models/browser_read_console_config.rbi +55 -0
  349. data/rbi/anthropic/models/browser_read_network_config.rbi +55 -0
  350. data/rbi/anthropic/models/browser_read_page_config.rbi +52 -0
  351. data/rbi/anthropic/models/browser_right_click_config.rbi +55 -0
  352. data/rbi/anthropic/models/browser_screenshot_config.rbi +55 -0
  353. data/rbi/anthropic/models/browser_scroll_config.rbi +52 -0
  354. data/rbi/anthropic/models/browser_scroll_to_config.rbi +52 -0
  355. data/rbi/anthropic/models/browser_state_block_param.rbi +110 -0
  356. data/rbi/anthropic/models/browser_state_change.rbi +63 -0
  357. data/rbi/anthropic/models/browser_state_change_download_completed.rbi +78 -0
  358. data/rbi/anthropic/models/browser_state_change_download_failed.rbi +65 -0
  359. data/rbi/anthropic/models/browser_state_change_download_started.rbi +49 -0
  360. data/rbi/anthropic/models/browser_state_change_tab_opened.rbi +40 -0
  361. data/rbi/anthropic/models/browser_state_tab_entry.rbi +67 -0
  362. data/rbi/anthropic/models/browser_switch_tab_config.rbi +52 -0
  363. data/rbi/anthropic/models/browser_toolset_20260801.rbi +150 -0
  364. data/rbi/anthropic/models/browser_toolset_configs.rbi +479 -0
  365. data/rbi/anthropic/models/browser_triple_click_config.rbi +55 -0
  366. data/rbi/anthropic/models/browser_type_config.rbi +52 -0
  367. data/rbi/anthropic/models/browser_wait_config.rbi +52 -0
  368. data/rbi/anthropic/models/browser_zoom_config.rbi +52 -0
  369. data/rbi/anthropic/models/computer_cursor_position_config.rbi +55 -0
  370. data/rbi/anthropic/models/computer_double_click_config.rbi +55 -0
  371. data/rbi/anthropic/models/computer_hold_key_config.rbi +52 -0
  372. data/rbi/anthropic/models/computer_key_config.rbi +52 -0
  373. data/rbi/anthropic/models/computer_left_click_config.rbi +55 -0
  374. data/rbi/anthropic/models/computer_left_click_drag_config.rbi +55 -0
  375. data/rbi/anthropic/models/computer_left_mouse_down_config.rbi +55 -0
  376. data/rbi/anthropic/models/computer_left_mouse_up_config.rbi +55 -0
  377. data/rbi/anthropic/models/computer_middle_click_config.rbi +55 -0
  378. data/rbi/anthropic/models/computer_mouse_move_config.rbi +55 -0
  379. data/rbi/anthropic/models/computer_right_click_config.rbi +55 -0
  380. data/rbi/anthropic/models/computer_screenshot_config.rbi +55 -0
  381. data/rbi/anthropic/models/computer_scroll_config.rbi +52 -0
  382. data/rbi/anthropic/models/computer_toolset_20260801.rbi +160 -0
  383. data/rbi/anthropic/models/computer_toolset_configs.rbi +284 -0
  384. data/rbi/anthropic/models/computer_triple_click_config.rbi +55 -0
  385. data/rbi/anthropic/models/computer_type_config.rbi +52 -0
  386. data/rbi/anthropic/models/computer_wait_config.rbi +52 -0
  387. data/rbi/anthropic/models/computer_zoom_config.rbi +52 -0
  388. data/rbi/anthropic/models/container.rbi +23 -3
  389. data/rbi/anthropic/models/container_params.rbi +46 -0
  390. data/rbi/anthropic/models/container_skill.rbi +75 -0
  391. data/rbi/anthropic/models/content_block.rbi +3 -0
  392. data/rbi/anthropic/models/content_block_param.rbi +14 -2
  393. data/rbi/anthropic/models/content_block_source_content.rbi +11 -3
  394. data/rbi/anthropic/models/deleted_file.rbi +69 -0
  395. data/rbi/anthropic/models/deleted_skill.rbi +41 -0
  396. data/rbi/anthropic/models/document_block_param.rbi +18 -6
  397. data/rbi/anthropic/models/file_delete_params.rbi +40 -0
  398. data/rbi/anthropic/models/file_document_source.rbi +26 -0
  399. data/rbi/anthropic/models/file_download_params.rbi +40 -0
  400. data/rbi/anthropic/models/file_image_source.rbi +26 -0
  401. data/rbi/anthropic/models/file_list_params.rbi +76 -0
  402. data/rbi/anthropic/models/file_metadata.rbi +108 -0
  403. data/rbi/anthropic/models/file_retrieve_metadata_params.rbi +43 -0
  404. data/rbi/anthropic/models/file_upload_params.rbi +56 -0
  405. data/rbi/anthropic/models/image_block_param.rbi +46 -7
  406. data/rbi/anthropic/models/image_transformations_param.rbi +107 -0
  407. data/rbi/anthropic/models/message_count_tokens_params.rbi +8 -0
  408. data/rbi/anthropic/models/message_count_tokens_tool.rbi +2 -0
  409. data/rbi/anthropic/models/message_create_params.rbi +12 -3
  410. data/rbi/anthropic/models/message_create_params_container.rbi +20 -0
  411. data/rbi/anthropic/models/messages/batch_create_params.rbi +15 -3
  412. data/rbi/anthropic/models/raw_content_block_start_event.rbi +3 -0
  413. data/rbi/anthropic/models/skill.rbi +114 -0
  414. data/rbi/anthropic/models/skill_create_params.rbi +61 -0
  415. data/rbi/anthropic/models/skill_delete_params.rbi +44 -0
  416. data/rbi/anthropic/models/skill_list_params.rbi +82 -0
  417. data/rbi/anthropic/models/skill_params.rbi +76 -0
  418. data/rbi/anthropic/models/skill_retrieve_params.rbi +44 -0
  419. data/rbi/anthropic/models/skill_source.rbi +76 -0
  420. data/rbi/anthropic/models/skills/deleted_skill_version.rbi +44 -0
  421. data/rbi/anthropic/models/skills/skill_version.rbi +101 -0
  422. data/rbi/anthropic/models/skills/version_create_params.rbi +66 -0
  423. data/rbi/anthropic/models/skills/version_delete_params.rbi +68 -0
  424. data/rbi/anthropic/models/skills/version_list_params.rbi +72 -0
  425. data/rbi/anthropic/models/skills/version_retrieve_params.rbi +68 -0
  426. data/rbi/anthropic/models/tool_result_block_param.rbi +42 -6
  427. data/rbi/anthropic/models/tool_union.rbi +2 -0
  428. data/rbi/anthropic/models/tool_use_block.rbi +9 -1
  429. data/rbi/anthropic/models/tool_use_block_param.rbi +9 -1
  430. data/rbi/anthropic/models.rbi +165 -0
  431. data/rbi/anthropic/resources/beta/files.rbi +6 -4
  432. data/rbi/anthropic/resources/beta/messages.rbi +410 -0
  433. data/rbi/anthropic/resources/files.rbi +99 -0
  434. data/rbi/anthropic/resources/messages.rbi +114 -89
  435. data/rbi/anthropic/resources/skills/versions.rbi +108 -0
  436. data/rbi/anthropic/resources/skills.rbi +99 -0
  437. data/sig/anthropic/client.rbs +4 -0
  438. data/sig/anthropic/helpers/bedrock/client.rbs +4 -0
  439. data/sig/anthropic/helpers/vertex/client.rbs +4 -0
  440. data/sig/anthropic/models/beta/agent_create_params.rbs +2 -2
  441. data/sig/anthropic/models/beta/agent_update_params.rbs +2 -2
  442. data/sig/anthropic/models/beta/beta_browser_close_tab_config.rbs +20 -0
  443. data/sig/anthropic/models/beta/beta_browser_double_click_config.rbs +20 -0
  444. data/sig/anthropic/models/beta/beta_browser_file_upload_config.rbs +20 -0
  445. data/sig/anthropic/models/beta/beta_browser_find_config.rbs +19 -0
  446. data/sig/anthropic/models/beta/beta_browser_form_input_config.rbs +20 -0
  447. data/sig/anthropic/models/beta/beta_browser_get_page_text_config.rbs +20 -0
  448. data/sig/anthropic/models/beta/beta_browser_hold_key_config.rbs +20 -0
  449. data/sig/anthropic/models/beta/beta_browser_hover_config.rbs +19 -0
  450. data/sig/anthropic/models/beta/beta_browser_javascript_exec_config.rbs +20 -0
  451. data/sig/anthropic/models/beta/beta_browser_key_config.rbs +19 -0
  452. data/sig/anthropic/models/beta/beta_browser_left_click_config.rbs +20 -0
  453. data/sig/anthropic/models/beta/beta_browser_left_click_drag_config.rbs +20 -0
  454. data/sig/anthropic/models/beta/beta_browser_left_mouse_down_config.rbs +20 -0
  455. data/sig/anthropic/models/beta/beta_browser_left_mouse_up_config.rbs +20 -0
  456. data/sig/anthropic/models/beta/beta_browser_list_tabs_config.rbs +20 -0
  457. data/sig/anthropic/models/beta/beta_browser_middle_click_config.rbs +20 -0
  458. data/sig/anthropic/models/beta/beta_browser_mouse_move_config.rbs +20 -0
  459. data/sig/anthropic/models/beta/beta_browser_navigate_config.rbs +20 -0
  460. data/sig/anthropic/models/beta/beta_browser_new_tab_config.rbs +20 -0
  461. data/sig/anthropic/models/beta/beta_browser_read_console_config.rbs +20 -0
  462. data/sig/anthropic/models/beta/beta_browser_read_network_config.rbs +20 -0
  463. data/sig/anthropic/models/beta/beta_browser_read_page_config.rbs +20 -0
  464. data/sig/anthropic/models/beta/beta_browser_right_click_config.rbs +20 -0
  465. data/sig/anthropic/models/beta/beta_browser_screenshot_config.rbs +20 -0
  466. data/sig/anthropic/models/beta/beta_browser_scroll_config.rbs +19 -0
  467. data/sig/anthropic/models/beta/beta_browser_scroll_to_config.rbs +20 -0
  468. data/sig/anthropic/models/beta/beta_browser_state_block_param.rbs +39 -0
  469. data/sig/anthropic/models/beta/beta_browser_state_change.rbs +52 -0
  470. data/sig/anthropic/models/beta/beta_browser_state_change_download_completed.rbs +44 -0
  471. data/sig/anthropic/models/beta/beta_browser_state_change_download_failed.rbs +39 -0
  472. data/sig/anthropic/models/beta/beta_browser_state_change_download_started.rbs +30 -0
  473. data/sig/anthropic/models/beta/beta_browser_state_change_tab_opened.rbs +20 -0
  474. data/sig/anthropic/models/beta/beta_browser_state_tab_entry.rbs +36 -0
  475. data/sig/anthropic/models/beta/beta_browser_switch_tab_config.rbs +20 -0
  476. data/sig/anthropic/models/beta/beta_browser_toolset_20260801.rbs +60 -0
  477. data/sig/anthropic/models/beta/beta_browser_toolset_configs.rbs +174 -0
  478. data/sig/anthropic/models/beta/beta_browser_triple_click_config.rbs +20 -0
  479. data/sig/anthropic/models/beta/beta_browser_type_config.rbs +19 -0
  480. data/sig/anthropic/models/beta/beta_browser_wait_config.rbs +19 -0
  481. data/sig/anthropic/models/beta/beta_browser_zoom_config.rbs +19 -0
  482. data/sig/anthropic/models/beta/beta_computer_cursor_position_config.rbs +20 -0
  483. data/sig/anthropic/models/beta/beta_computer_double_click_config.rbs +20 -0
  484. data/sig/anthropic/models/beta/beta_computer_hold_key_config.rbs +20 -0
  485. data/sig/anthropic/models/beta/beta_computer_key_config.rbs +19 -0
  486. data/sig/anthropic/models/beta/beta_computer_left_click_config.rbs +20 -0
  487. data/sig/anthropic/models/beta/beta_computer_left_click_drag_config.rbs +20 -0
  488. data/sig/anthropic/models/beta/beta_computer_left_mouse_down_config.rbs +20 -0
  489. data/sig/anthropic/models/beta/beta_computer_left_mouse_up_config.rbs +20 -0
  490. data/sig/anthropic/models/beta/beta_computer_middle_click_config.rbs +20 -0
  491. data/sig/anthropic/models/beta/beta_computer_mouse_move_config.rbs +20 -0
  492. data/sig/anthropic/models/beta/beta_computer_right_click_config.rbs +20 -0
  493. data/sig/anthropic/models/beta/beta_computer_screenshot_config.rbs +20 -0
  494. data/sig/anthropic/models/beta/beta_computer_scroll_config.rbs +20 -0
  495. data/sig/anthropic/models/beta/beta_computer_toolset_20260801.rbs +60 -0
  496. data/sig/anthropic/models/beta/beta_computer_toolset_configs.rbs +104 -0
  497. data/sig/anthropic/models/beta/beta_computer_triple_click_config.rbs +20 -0
  498. data/sig/anthropic/models/beta/beta_computer_type_config.rbs +19 -0
  499. data/sig/anthropic/models/beta/beta_computer_wait_config.rbs +19 -0
  500. data/sig/anthropic/models/beta/beta_computer_zoom_config.rbs +19 -0
  501. data/sig/anthropic/models/beta/beta_content_block.rbs +3 -1
  502. data/sig/anthropic/models/beta/beta_content_block_param.rbs +8 -3
  503. data/sig/anthropic/models/beta/beta_content_block_source_content.rbs +4 -2
  504. data/sig/anthropic/models/beta/beta_deleted_file.rbs +40 -0
  505. data/sig/anthropic/models/beta/{file_metadata.rbs → beta_file_metadata.rbs} +4 -2
  506. data/sig/anthropic/models/beta/beta_image_block_param.rbs +7 -2
  507. data/sig/anthropic/models/beta/beta_image_transformations_param.rbs +39 -0
  508. data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +2 -2
  509. data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbs +91 -68
  510. data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbs +91 -68
  511. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbs +4 -4
  512. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbs +6 -6
  513. data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +2 -2
  514. data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +60 -0
  515. data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +74 -0
  516. data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +60 -0
  517. data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +74 -0
  518. data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +60 -0
  519. data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +74 -0
  520. data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +60 -0
  521. data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +74 -0
  522. data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +60 -0
  523. data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +74 -0
  524. data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +2 -2
  525. data/sig/anthropic/models/beta/beta_managed_agents_session_agent_update.rbs +2 -2
  526. data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +2 -2
  527. data/sig/anthropic/models/beta/beta_managed_agents_user_location.rbs +44 -0
  528. data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +79 -0
  529. data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +93 -0
  530. data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +79 -0
  531. data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +93 -0
  532. data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +60 -0
  533. data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +74 -0
  534. data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +3 -1
  535. data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +20 -4
  536. data/sig/anthropic/models/beta/beta_tool_union.rbs +2 -0
  537. data/sig/anthropic/models/beta/beta_tool_use_block.rbs +7 -2
  538. data/sig/anthropic/models/beta/beta_tool_use_block_param.rbs +7 -2
  539. data/sig/anthropic/models/beta/message_count_tokens_params.rbs +2 -0
  540. data/sig/anthropic/models/browser_close_tab_config.rbs +15 -0
  541. data/sig/anthropic/models/browser_double_click_config.rbs +15 -0
  542. data/sig/anthropic/models/browser_file_upload_config.rbs +15 -0
  543. data/sig/anthropic/models/browser_find_config.rbs +15 -0
  544. data/sig/anthropic/models/browser_form_input_config.rbs +15 -0
  545. data/sig/anthropic/models/browser_get_page_text_config.rbs +15 -0
  546. data/sig/anthropic/models/browser_hold_key_config.rbs +15 -0
  547. data/sig/anthropic/models/browser_hover_config.rbs +15 -0
  548. data/sig/anthropic/models/browser_javascript_exec_config.rbs +16 -0
  549. data/sig/anthropic/models/browser_key_config.rbs +15 -0
  550. data/sig/anthropic/models/browser_left_click_config.rbs +15 -0
  551. data/sig/anthropic/models/browser_left_click_drag_config.rbs +16 -0
  552. data/sig/anthropic/models/browser_left_mouse_down_config.rbs +16 -0
  553. data/sig/anthropic/models/browser_left_mouse_up_config.rbs +15 -0
  554. data/sig/anthropic/models/browser_list_tabs_config.rbs +15 -0
  555. data/sig/anthropic/models/browser_middle_click_config.rbs +15 -0
  556. data/sig/anthropic/models/browser_mouse_move_config.rbs +15 -0
  557. data/sig/anthropic/models/browser_navigate_config.rbs +15 -0
  558. data/sig/anthropic/models/browser_new_tab_config.rbs +15 -0
  559. data/sig/anthropic/models/browser_read_console_config.rbs +15 -0
  560. data/sig/anthropic/models/browser_read_network_config.rbs +15 -0
  561. data/sig/anthropic/models/browser_read_page_config.rbs +15 -0
  562. data/sig/anthropic/models/browser_right_click_config.rbs +15 -0
  563. data/sig/anthropic/models/browser_screenshot_config.rbs +15 -0
  564. data/sig/anthropic/models/browser_scroll_config.rbs +15 -0
  565. data/sig/anthropic/models/browser_scroll_to_config.rbs +15 -0
  566. data/sig/anthropic/models/browser_state_block_param.rbs +35 -0
  567. data/sig/anthropic/models/browser_state_change.rbs +48 -0
  568. data/sig/anthropic/models/browser_state_change_download_completed.rbs +40 -0
  569. data/sig/anthropic/models/browser_state_change_download_failed.rbs +35 -0
  570. data/sig/anthropic/models/browser_state_change_download_started.rbs +26 -0
  571. data/sig/anthropic/models/browser_state_change_tab_opened.rbs +15 -0
  572. data/sig/anthropic/models/browser_state_tab_entry.rbs +32 -0
  573. data/sig/anthropic/models/browser_switch_tab_config.rbs +15 -0
  574. data/sig/anthropic/models/browser_toolset_20260801.rbs +56 -0
  575. data/sig/anthropic/models/browser_toolset_configs.rbs +170 -0
  576. data/sig/anthropic/models/browser_triple_click_config.rbs +15 -0
  577. data/sig/anthropic/models/browser_type_config.rbs +15 -0
  578. data/sig/anthropic/models/browser_wait_config.rbs +15 -0
  579. data/sig/anthropic/models/browser_zoom_config.rbs +15 -0
  580. data/sig/anthropic/models/computer_cursor_position_config.rbs +16 -0
  581. data/sig/anthropic/models/computer_double_click_config.rbs +15 -0
  582. data/sig/anthropic/models/computer_hold_key_config.rbs +15 -0
  583. data/sig/anthropic/models/computer_key_config.rbs +15 -0
  584. data/sig/anthropic/models/computer_left_click_config.rbs +15 -0
  585. data/sig/anthropic/models/computer_left_click_drag_config.rbs +16 -0
  586. data/sig/anthropic/models/computer_left_mouse_down_config.rbs +16 -0
  587. data/sig/anthropic/models/computer_left_mouse_up_config.rbs +16 -0
  588. data/sig/anthropic/models/computer_middle_click_config.rbs +15 -0
  589. data/sig/anthropic/models/computer_mouse_move_config.rbs +15 -0
  590. data/sig/anthropic/models/computer_right_click_config.rbs +15 -0
  591. data/sig/anthropic/models/computer_screenshot_config.rbs +15 -0
  592. data/sig/anthropic/models/computer_scroll_config.rbs +15 -0
  593. data/sig/anthropic/models/computer_toolset_20260801.rbs +56 -0
  594. data/sig/anthropic/models/computer_toolset_configs.rbs +100 -0
  595. data/sig/anthropic/models/computer_triple_click_config.rbs +15 -0
  596. data/sig/anthropic/models/computer_type_config.rbs +15 -0
  597. data/sig/anthropic/models/computer_wait_config.rbs +15 -0
  598. data/sig/anthropic/models/computer_zoom_config.rbs +15 -0
  599. data/sig/anthropic/models/container.rbs +18 -3
  600. data/sig/anthropic/models/container_params.rbs +19 -0
  601. data/sig/anthropic/models/container_skill.rbs +41 -0
  602. data/sig/anthropic/models/content_block.rbs +3 -1
  603. data/sig/anthropic/models/content_block_param.rbs +8 -3
  604. data/sig/anthropic/models/content_block_source_content.rbs +4 -2
  605. data/sig/anthropic/models/deleted_file.rbs +36 -0
  606. data/sig/anthropic/models/deleted_skill.rbs +15 -0
  607. data/sig/anthropic/models/document_block_param.rbs +7 -1
  608. data/sig/anthropic/models/file_delete_params.rbs +23 -0
  609. data/sig/anthropic/models/file_document_source.rbs +15 -0
  610. data/sig/anthropic/models/file_download_params.rbs +23 -0
  611. data/sig/anthropic/models/file_image_source.rbs +15 -0
  612. data/sig/anthropic/models/file_list_params.rbs +34 -0
  613. data/sig/anthropic/models/file_metadata.rbs +57 -0
  614. data/sig/anthropic/models/file_retrieve_metadata_params.rbs +23 -0
  615. data/sig/anthropic/models/file_upload_params.rbs +30 -0
  616. data/sig/anthropic/models/image_block_param.rbs +17 -4
  617. data/sig/anthropic/models/image_transformations_param.rbs +35 -0
  618. data/sig/anthropic/models/message_count_tokens_tool.rbs +2 -0
  619. data/sig/anthropic/models/message_create_params.rbs +4 -4
  620. data/sig/anthropic/models/message_create_params_container.rbs +11 -0
  621. data/sig/anthropic/models/messages/batch_create_params.rbs +4 -4
  622. data/sig/anthropic/models/raw_content_block_start_event.rbs +3 -1
  623. data/sig/anthropic/models/skill.rbs +50 -0
  624. data/sig/anthropic/models/skill_create_params.rbs +28 -0
  625. data/sig/anthropic/models/skill_delete_params.rbs +23 -0
  626. data/sig/anthropic/models/skill_list_params.rbs +34 -0
  627. data/sig/anthropic/models/skill_params.rbs +43 -0
  628. data/sig/anthropic/models/skill_retrieve_params.rbs +23 -0
  629. data/sig/anthropic/models/skill_source.rbs +26 -0
  630. data/sig/anthropic/models/skills/deleted_skill_version.rbs +17 -0
  631. data/sig/anthropic/models/skills/skill_version.rbs +49 -0
  632. data/sig/anthropic/models/skills/version_create_params.rbs +30 -0
  633. data/sig/anthropic/models/skills/version_delete_params.rbs +30 -0
  634. data/sig/anthropic/models/skills/version_list_params.rbs +34 -0
  635. data/sig/anthropic/models/skills/version_retrieve_params.rbs +30 -0
  636. data/sig/anthropic/models/tool_result_block_param.rbs +20 -4
  637. data/sig/anthropic/models/tool_union.rbs +2 -0
  638. data/sig/anthropic/models/tool_use_block.rbs +7 -2
  639. data/sig/anthropic/models/tool_use_block_param.rbs +7 -2
  640. data/sig/anthropic/models.rbs +162 -0
  641. data/sig/anthropic/resources/beta/files.rbs +4 -4
  642. data/sig/anthropic/resources/beta/messages.rbs +30 -0
  643. data/sig/anthropic/resources/files.rbs +35 -0
  644. data/sig/anthropic/resources/messages.rbs +24 -2
  645. data/sig/anthropic/resources/skills/versions.rbs +34 -0
  646. data/sig/anthropic/resources/skills.rbs +32 -0
  647. metadata +505 -7
  648. data/sig/anthropic/models/beta/deleted_file.rbs +0 -38
@@ -0,0 +1,154 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ class BetaComputerToolsetConfigs < Anthropic::Internal::Type::BaseModel
7
+ # @!attribute cursor_position
8
+ # `cursor_position`'s config overrides.
9
+ #
10
+ # @return [Anthropic::Models::Beta::BetaComputerCursorPositionConfig, nil]
11
+ optional :cursor_position, -> { Anthropic::Beta::BetaComputerCursorPositionConfig }, nil?: true
12
+
13
+ # @!attribute double_click
14
+ # `double_click`'s config overrides.
15
+ #
16
+ # @return [Anthropic::Models::Beta::BetaComputerDoubleClickConfig, nil]
17
+ optional :double_click, -> { Anthropic::Beta::BetaComputerDoubleClickConfig }, nil?: true
18
+
19
+ # @!attribute hold_key
20
+ # `hold_key`'s config overrides.
21
+ #
22
+ # @return [Anthropic::Models::Beta::BetaComputerHoldKeyConfig, nil]
23
+ optional :hold_key, -> { Anthropic::Beta::BetaComputerHoldKeyConfig }, nil?: true
24
+
25
+ # @!attribute key
26
+ # `key`'s config overrides.
27
+ #
28
+ # @return [Anthropic::Models::Beta::BetaComputerKeyConfig, nil]
29
+ optional :key, -> { Anthropic::Beta::BetaComputerKeyConfig }, nil?: true
30
+
31
+ # @!attribute left_click
32
+ # `left_click`'s config overrides.
33
+ #
34
+ # @return [Anthropic::Models::Beta::BetaComputerLeftClickConfig, nil]
35
+ optional :left_click, -> { Anthropic::Beta::BetaComputerLeftClickConfig }, nil?: true
36
+
37
+ # @!attribute left_click_drag
38
+ # `left_click_drag`'s config overrides.
39
+ #
40
+ # @return [Anthropic::Models::Beta::BetaComputerLeftClickDragConfig, nil]
41
+ optional :left_click_drag, -> { Anthropic::Beta::BetaComputerLeftClickDragConfig }, nil?: true
42
+
43
+ # @!attribute left_mouse_down
44
+ # `left_mouse_down`'s config overrides.
45
+ #
46
+ # @return [Anthropic::Models::Beta::BetaComputerLeftMouseDownConfig, nil]
47
+ optional :left_mouse_down, -> { Anthropic::Beta::BetaComputerLeftMouseDownConfig }, nil?: true
48
+
49
+ # @!attribute left_mouse_up
50
+ # `left_mouse_up`'s config overrides.
51
+ #
52
+ # @return [Anthropic::Models::Beta::BetaComputerLeftMouseUpConfig, nil]
53
+ optional :left_mouse_up, -> { Anthropic::Beta::BetaComputerLeftMouseUpConfig }, nil?: true
54
+
55
+ # @!attribute middle_click
56
+ # `middle_click`'s config overrides.
57
+ #
58
+ # @return [Anthropic::Models::Beta::BetaComputerMiddleClickConfig, nil]
59
+ optional :middle_click, -> { Anthropic::Beta::BetaComputerMiddleClickConfig }, nil?: true
60
+
61
+ # @!attribute mouse_move
62
+ # `mouse_move`'s config overrides.
63
+ #
64
+ # @return [Anthropic::Models::Beta::BetaComputerMouseMoveConfig, nil]
65
+ optional :mouse_move, -> { Anthropic::Beta::BetaComputerMouseMoveConfig }, nil?: true
66
+
67
+ # @!attribute right_click
68
+ # `right_click`'s config overrides.
69
+ #
70
+ # @return [Anthropic::Models::Beta::BetaComputerRightClickConfig, nil]
71
+ optional :right_click, -> { Anthropic::Beta::BetaComputerRightClickConfig }, nil?: true
72
+
73
+ # @!attribute screenshot
74
+ # `screenshot`'s config overrides.
75
+ #
76
+ # @return [Anthropic::Models::Beta::BetaComputerScreenshotConfig, nil]
77
+ optional :screenshot, -> { Anthropic::Beta::BetaComputerScreenshotConfig }, nil?: true
78
+
79
+ # @!attribute scroll
80
+ # `scroll`'s config overrides.
81
+ #
82
+ # @return [Anthropic::Models::Beta::BetaComputerScrollConfig, nil]
83
+ optional :scroll, -> { Anthropic::Beta::BetaComputerScrollConfig }, nil?: true
84
+
85
+ # @!attribute triple_click
86
+ # `triple_click`'s config overrides.
87
+ #
88
+ # @return [Anthropic::Models::Beta::BetaComputerTripleClickConfig, nil]
89
+ optional :triple_click, -> { Anthropic::Beta::BetaComputerTripleClickConfig }, nil?: true
90
+
91
+ # @!attribute type
92
+ # `type`'s config overrides.
93
+ #
94
+ # @return [Anthropic::Models::Beta::BetaComputerTypeConfig, nil]
95
+ optional :type, -> { Anthropic::Beta::BetaComputerTypeConfig }, nil?: true
96
+
97
+ # @!attribute wait
98
+ # `wait`'s config overrides.
99
+ #
100
+ # @return [Anthropic::Models::Beta::BetaComputerWaitConfig, nil]
101
+ optional :wait, -> { Anthropic::Beta::BetaComputerWaitConfig }, nil?: true
102
+
103
+ # @!attribute zoom
104
+ # `zoom`'s config overrides.
105
+ #
106
+ # @return [Anthropic::Models::Beta::BetaComputerZoomConfig, nil]
107
+ optional :zoom, -> { Anthropic::Beta::BetaComputerZoomConfig }, nil?: true
108
+
109
+ # @!method initialize(cursor_position: nil, double_click: nil, hold_key: nil, key: nil, left_click: nil, left_click_drag: nil, left_mouse_down: nil, left_mouse_up: nil, middle_click: nil, mouse_move: nil, right_click: nil, screenshot: nil, scroll: nil, triple_click: nil, type: nil, wait: nil, zoom: nil)
110
+ # Per-member configuration for `computer_toolset_20260801`: one optional field per
111
+ # member tool, keyed by the member name — the same name the member's `tool_use`
112
+ # blocks carry. Every member is an accepted key, and a member's defaults apply
113
+ # wherever its key is absent. Unknown keys are rejected: the field set is this
114
+ # toolset version's complete member set.
115
+ #
116
+ # @param cursor_position [Anthropic::Models::Beta::BetaComputerCursorPositionConfig, nil] `cursor_position`'s config overrides.
117
+ #
118
+ # @param double_click [Anthropic::Models::Beta::BetaComputerDoubleClickConfig, nil] `double_click`'s config overrides.
119
+ #
120
+ # @param hold_key [Anthropic::Models::Beta::BetaComputerHoldKeyConfig, nil] `hold_key`'s config overrides.
121
+ #
122
+ # @param key [Anthropic::Models::Beta::BetaComputerKeyConfig, nil] `key`'s config overrides.
123
+ #
124
+ # @param left_click [Anthropic::Models::Beta::BetaComputerLeftClickConfig, nil] `left_click`'s config overrides.
125
+ #
126
+ # @param left_click_drag [Anthropic::Models::Beta::BetaComputerLeftClickDragConfig, nil] `left_click_drag`'s config overrides.
127
+ #
128
+ # @param left_mouse_down [Anthropic::Models::Beta::BetaComputerLeftMouseDownConfig, nil] `left_mouse_down`'s config overrides.
129
+ #
130
+ # @param left_mouse_up [Anthropic::Models::Beta::BetaComputerLeftMouseUpConfig, nil] `left_mouse_up`'s config overrides.
131
+ #
132
+ # @param middle_click [Anthropic::Models::Beta::BetaComputerMiddleClickConfig, nil] `middle_click`'s config overrides.
133
+ #
134
+ # @param mouse_move [Anthropic::Models::Beta::BetaComputerMouseMoveConfig, nil] `mouse_move`'s config overrides.
135
+ #
136
+ # @param right_click [Anthropic::Models::Beta::BetaComputerRightClickConfig, nil] `right_click`'s config overrides.
137
+ #
138
+ # @param screenshot [Anthropic::Models::Beta::BetaComputerScreenshotConfig, nil] `screenshot`'s config overrides.
139
+ #
140
+ # @param scroll [Anthropic::Models::Beta::BetaComputerScrollConfig, nil] `scroll`'s config overrides.
141
+ #
142
+ # @param triple_click [Anthropic::Models::Beta::BetaComputerTripleClickConfig, nil] `triple_click`'s config overrides.
143
+ #
144
+ # @param type [Anthropic::Models::Beta::BetaComputerTypeConfig, nil] `type`'s config overrides.
145
+ #
146
+ # @param wait [Anthropic::Models::Beta::BetaComputerWaitConfig, nil] `wait`'s config overrides.
147
+ #
148
+ # @param zoom [Anthropic::Models::Beta::BetaComputerZoomConfig, nil] `zoom`'s config overrides.
149
+ end
150
+ end
151
+
152
+ BetaComputerToolsetConfigs = Beta::BetaComputerToolsetConfigs
153
+ end
154
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ class BetaComputerTripleClickConfig < Anthropic::Internal::Type::BaseModel
7
+ # @!attribute defer_loading
8
+ # Defer loading for this member. Must resolve to the same value on every enabled
9
+ # member of the toolset.
10
+ #
11
+ # @return [Boolean, nil]
12
+ optional :defer_loading, Anthropic::Internal::Type::Boolean, nil?: true
13
+
14
+ # @!attribute enabled
15
+ # Whether this member is offered to the model. Default is per member, per the
16
+ # toolset's documentation. A member whose enabled resolves false is withheld from
17
+ # the served schema.
18
+ #
19
+ # @return [Boolean, nil]
20
+ optional :enabled, Anthropic::Internal::Type::Boolean, nil?: true
21
+
22
+ # @!method initialize(defer_loading: nil, enabled: nil)
23
+ # `triple_click`'s config overrides.
24
+ #
25
+ # Some parameter documentations has been truncated, see
26
+ # {Anthropic::Models::Beta::BetaComputerTripleClickConfig} for more details.
27
+ #
28
+ # @param defer_loading [Boolean, nil] Defer loading for this member. Must resolve to the same value on every enabled m
29
+ #
30
+ # @param enabled [Boolean, nil] Whether this member is offered to the model. Default is per member, per the tool
31
+ end
32
+ end
33
+
34
+ BetaComputerTripleClickConfig = Beta::BetaComputerTripleClickConfig
35
+ end
36
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ class BetaComputerTypeConfig < Anthropic::Internal::Type::BaseModel
7
+ # @!attribute defer_loading
8
+ # Defer loading for this member. Must resolve to the same value on every enabled
9
+ # member of the toolset.
10
+ #
11
+ # @return [Boolean, nil]
12
+ optional :defer_loading, Anthropic::Internal::Type::Boolean, nil?: true
13
+
14
+ # @!attribute enabled
15
+ # Whether this member is offered to the model. Default is per member, per the
16
+ # toolset's documentation. A member whose enabled resolves false is withheld from
17
+ # the served schema.
18
+ #
19
+ # @return [Boolean, nil]
20
+ optional :enabled, Anthropic::Internal::Type::Boolean, nil?: true
21
+
22
+ # @!method initialize(defer_loading: nil, enabled: nil)
23
+ # `type`'s config overrides.
24
+ #
25
+ # Some parameter documentations has been truncated, see
26
+ # {Anthropic::Models::Beta::BetaComputerTypeConfig} for more details.
27
+ #
28
+ # @param defer_loading [Boolean, nil] Defer loading for this member. Must resolve to the same value on every enabled m
29
+ #
30
+ # @param enabled [Boolean, nil] Whether this member is offered to the model. Default is per member, per the tool
31
+ end
32
+ end
33
+
34
+ BetaComputerTypeConfig = Beta::BetaComputerTypeConfig
35
+ end
36
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ class BetaComputerWaitConfig < Anthropic::Internal::Type::BaseModel
7
+ # @!attribute defer_loading
8
+ # Defer loading for this member. Must resolve to the same value on every enabled
9
+ # member of the toolset.
10
+ #
11
+ # @return [Boolean, nil]
12
+ optional :defer_loading, Anthropic::Internal::Type::Boolean, nil?: true
13
+
14
+ # @!attribute enabled
15
+ # Whether this member is offered to the model. Default is per member, per the
16
+ # toolset's documentation. A member whose enabled resolves false is withheld from
17
+ # the served schema.
18
+ #
19
+ # @return [Boolean, nil]
20
+ optional :enabled, Anthropic::Internal::Type::Boolean, nil?: true
21
+
22
+ # @!method initialize(defer_loading: nil, enabled: nil)
23
+ # `wait`'s config overrides.
24
+ #
25
+ # Some parameter documentations has been truncated, see
26
+ # {Anthropic::Models::Beta::BetaComputerWaitConfig} for more details.
27
+ #
28
+ # @param defer_loading [Boolean, nil] Defer loading for this member. Must resolve to the same value on every enabled m
29
+ #
30
+ # @param enabled [Boolean, nil] Whether this member is offered to the model. Default is per member, per the tool
31
+ end
32
+ end
33
+
34
+ BetaComputerWaitConfig = Beta::BetaComputerWaitConfig
35
+ end
36
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ class BetaComputerZoomConfig < Anthropic::Internal::Type::BaseModel
7
+ # @!attribute defer_loading
8
+ # Defer loading for this member. Must resolve to the same value on every enabled
9
+ # member of the toolset.
10
+ #
11
+ # @return [Boolean, nil]
12
+ optional :defer_loading, Anthropic::Internal::Type::Boolean, nil?: true
13
+
14
+ # @!attribute enabled
15
+ # Whether this member is offered to the model. Default is per member, per the
16
+ # toolset's documentation. A member whose enabled resolves false is withheld from
17
+ # the served schema.
18
+ #
19
+ # @return [Boolean, nil]
20
+ optional :enabled, Anthropic::Internal::Type::Boolean, nil?: true
21
+
22
+ # @!method initialize(defer_loading: nil, enabled: nil)
23
+ # `zoom`'s config overrides.
24
+ #
25
+ # Some parameter documentations has been truncated, see
26
+ # {Anthropic::Models::Beta::BetaComputerZoomConfig} for more details.
27
+ #
28
+ # @param defer_loading [Boolean, nil] Defer loading for this member. Must resolve to the same value on every enabled m
29
+ #
30
+ # @param enabled [Boolean, nil] Whether this member is offered to the model. Default is per member, per the tool
31
+ end
32
+ end
33
+
34
+ BetaComputerZoomConfig = Beta::BetaComputerZoomConfig
35
+ end
36
+ end
@@ -92,6 +92,8 @@ module Anthropic
92
92
  #
93
93
  # @option args [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] :caller_ Tool invocation directly from the model.
94
94
  #
95
+ # @option args [String, nil] :toolset_name For a toolset member tool_use, the toolset family.
96
+ #
95
97
  # @option args [Anthropic::Models::Beta::BetaWebSearchToolResultError, Array<Anthropic::Models::Beta::BetaWebSearchResultBlock>, Anthropic::Models::Beta::BetaWebFetchToolResultErrorBlock, Anthropic::Models::Beta::BetaWebFetchBlock, Anthropic::Models::Beta::BetaAdvisorToolResultError, Anthropic::Models::Beta::BetaAdvisorResultBlock, Anthropic::Models::Beta::BetaAdvisorRedactedResultBlock, Anthropic::Models::Beta::BetaCodeExecutionToolResultError, Anthropic::Models::Beta::BetaCodeExecutionResultBlock, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlock, Anthropic::Models::Beta::BetaBashCodeExecutionToolResultError, Anthropic::Models::Beta::BetaBashCodeExecutionResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultError, Anthropic::Models::Beta::BetaTextEditorCodeExecutionViewResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionCreateResultBlock, Anthropic::Models::Beta::BetaTextEditorCodeExecutionStrReplaceResultBlock, Anthropic::Models::Beta::BetaToolSearchToolResultError, Anthropic::Models::Beta::BetaToolSearchToolSearchResultBlock, String, Array<Anthropic::Models::Beta::BetaTextBlock>, String, nil] :content Code execution result with encrypted stdout for PFC + web_search results.
96
98
  #
97
99
  # @option args [String] :tool_use_id
@@ -118,11 +118,13 @@ module Anthropic
118
118
  #
119
119
  # @option args [Anthropic::Models::Beta::BetaBase64ImageSource, Anthropic::Models::Beta::BetaURLImageSource, Anthropic::Models::Beta::BetaFileImageSource, Anthropic::Models::Beta::BetaBase64PDFSource, Anthropic::Models::Beta::BetaPlainTextSource, Anthropic::Models::Beta::BetaContentBlockSource, Anthropic::Models::Beta::BetaURLPDFSource, Anthropic::Models::Beta::BetaFileDocumentSource, String] :source
120
120
  #
121
+ # @option args [Anthropic::Models::Beta::BetaImageTransformationsParam, nil] :transformations Configures the transformations the server applies to this image before the model
122
+ #
121
123
  # @option args [String, nil] :context
122
124
  #
123
125
  # @option args [String, nil, String] :title
124
126
  #
125
- # @option args [Array<Anthropic::Models::Beta::BetaTextBlockParam>, String, Array<Anthropic::Models::Beta::BetaTextBlockParam, Anthropic::Models::Beta::BetaImageBlockParam, Anthropic::Models::Beta::BetaSearchResultBlockParam, Anthropic::Models::Beta::BetaRequestDocumentBlock, Anthropic::Models::Beta::BetaToolReferenceBlockParam>, Array<Anthropic::Models::Beta::BetaWebSearchResultBlockParam>, Anthropic::Models::Beta::BetaWebSearchToolRequestError, Anthropic::Models::Beta::BetaWebFetchToolResultErrorBlockParam, Anthropic::Models::Beta::BetaWebFetchBlockParam, Anthropic::Models::Beta::BetaAdvisorToolResultErrorParam, Anthropic::Models::Beta::BetaAdvisorResultBlockParam, Anthropic::Models::Beta::BetaAdvisorRedactedResultBlockParam, Anthropic::Models::Beta::BetaCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaBashCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaBashCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionViewResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionCreateResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionStrReplaceResultBlockParam, Anthropic::Models::Beta::BetaToolSearchToolResultErrorParam, Anthropic::Models::Beta::BetaToolSearchToolSearchResultBlockParam, String, Array<Anthropic::Models::Beta::BetaTextBlockParam>, String, nil] :content Code execution result with encrypted stdout for PFC + web_search results.
127
+ # @option args [Array<Anthropic::Models::Beta::BetaTextBlockParam>, String, Array<Anthropic::Models::Beta::BetaTextBlockParam, Anthropic::Models::Beta::BetaImageBlockParam, Anthropic::Models::Beta::BetaSearchResultBlockParam, Anthropic::Models::Beta::BetaRequestDocumentBlock, Anthropic::Models::Beta::BetaToolReferenceBlockParam, Anthropic::Models::Beta::BetaBrowserStateBlockParam>, Array<Anthropic::Models::Beta::BetaWebSearchResultBlockParam>, Anthropic::Models::Beta::BetaWebSearchToolRequestError, Anthropic::Models::Beta::BetaWebFetchToolResultErrorBlockParam, Anthropic::Models::Beta::BetaWebFetchBlockParam, Anthropic::Models::Beta::BetaAdvisorToolResultErrorParam, Anthropic::Models::Beta::BetaAdvisorResultBlockParam, Anthropic::Models::Beta::BetaAdvisorRedactedResultBlockParam, Anthropic::Models::Beta::BetaCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaEncryptedCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaBashCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaBashCodeExecutionResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultErrorParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionViewResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionCreateResultBlockParam, Anthropic::Models::Beta::BetaTextEditorCodeExecutionStrReplaceResultBlockParam, Anthropic::Models::Beta::BetaToolSearchToolResultErrorParam, Anthropic::Models::Beta::BetaToolSearchToolSearchResultBlockParam, String, Array<Anthropic::Models::Beta::BetaTextBlockParam>, String, nil] :content Code execution result with encrypted stdout for PFC + web_search results.
126
128
  #
127
129
  # @option args [String] :signature The `signature` value of this thinking block, exactly as returned by the API in
128
130
  #
@@ -138,6 +140,8 @@ module Anthropic
138
140
  #
139
141
  # @option args [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] :caller_ Tool invocation directly from the model.
140
142
  #
143
+ # @option args [String, nil] :toolset_name For a toolset member tool_use, the toolset family this member belongs to.
144
+ #
141
145
  # @option args [String] :tool_use_id
142
146
  #
143
147
  # @option args [Boolean] :is_error
@@ -18,6 +18,9 @@ module Anthropic
18
18
  # Creates a new instance of the variant class whose `type` matches the given
19
19
  # value, passing the remaining arguments to its constructor.
20
20
  #
21
+ # Some parameter documentations has been truncated, see
22
+ # {Anthropic::Models::Beta::BetaContentBlockSourceContent} for more details.
23
+ #
21
24
  # @param type [Symbol, String]
22
25
  #
23
26
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
@@ -30,6 +33,8 @@ module Anthropic
30
33
  #
31
34
  # @option args [Anthropic::Models::Beta::BetaBase64ImageSource, Anthropic::Models::Beta::BetaURLImageSource, Anthropic::Models::Beta::BetaFileImageSource] :source
32
35
  #
36
+ # @option args [Anthropic::Models::Beta::BetaImageTransformationsParam, nil] :transformations Configures the transformations the server applies to this image before the model
37
+ #
33
38
  # @raise [ArgumentError]
34
39
  # @return [Anthropic::Models::Beta::BetaTextBlockParam, Anthropic::Models::Beta::BetaImageBlockParam]
35
40
  def self.new(type:, **args)
@@ -4,7 +4,7 @@ module Anthropic
4
4
  module Models
5
5
  module Beta
6
6
  # @see Anthropic::Resources::Beta::Files#delete
7
- class DeletedFile < Anthropic::Internal::Type::BaseModel
7
+ class BetaDeletedFile < Anthropic::Internal::Type::BaseModel
8
8
  # @!attribute id
9
9
  # ID of the deleted file.
10
10
  #
@@ -16,22 +16,22 @@ module Anthropic
16
16
  #
17
17
  # For file deletion, this is always `"file_deleted"`.
18
18
  #
19
- # @return [Symbol, Anthropic::Models::Beta::DeletedFile::Type, nil]
20
- optional :type, enum: -> { Anthropic::Beta::DeletedFile::Type }
19
+ # @return [Symbol, Anthropic::Models::Beta::BetaDeletedFile::Type, nil]
20
+ optional :type, enum: -> { Anthropic::Beta::BetaDeletedFile::Type }
21
21
 
22
22
  # @!method initialize(id:, type: nil)
23
23
  # Some parameter documentations has been truncated, see
24
- # {Anthropic::Models::Beta::DeletedFile} for more details.
24
+ # {Anthropic::Models::Beta::BetaDeletedFile} for more details.
25
25
  #
26
26
  # @param id [String] ID of the deleted file.
27
27
  #
28
- # @param type [Symbol, Anthropic::Models::Beta::DeletedFile::Type] Deleted object type.
28
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDeletedFile::Type] Deleted object type.
29
29
 
30
30
  # Deleted object type.
31
31
  #
32
32
  # For file deletion, this is always `"file_deleted"`.
33
33
  #
34
- # @see Anthropic::Models::Beta::DeletedFile#type
34
+ # @see Anthropic::Models::Beta::BetaDeletedFile#type
35
35
  module Type
36
36
  extend Anthropic::Internal::Type::Enum
37
37
 
@@ -42,5 +42,7 @@ module Anthropic
42
42
  end
43
43
  end
44
44
  end
45
+
46
+ BetaDeletedFile = Beta::BetaDeletedFile
45
47
  end
46
48
  end
@@ -4,7 +4,7 @@ module Anthropic
4
4
  module Models
5
5
  module Beta
6
6
  # @see Anthropic::Resources::Beta::Files#list
7
- class FileMetadata < Anthropic::Internal::Type::BaseModel
7
+ class BetaFileMetadata < Anthropic::Internal::Type::BaseModel
8
8
  # @!attribute id
9
9
  # Unique object identifier.
10
10
  #
@@ -60,7 +60,7 @@ module Anthropic
60
60
 
61
61
  # @!method initialize(id:, created_at:, filename:, mime_type:, size_bytes:, downloadable: nil, scope: nil, type: :file)
62
62
  # Some parameter documentations has been truncated, see
63
- # {Anthropic::Models::Beta::FileMetadata} for more details.
63
+ # {Anthropic::Models::Beta::BetaFileMetadata} for more details.
64
64
  #
65
65
  # @param id [String] Unique object identifier.
66
66
  #
@@ -79,5 +79,7 @@ module Anthropic
79
79
  # @param type [Symbol, :file] Object type.
80
80
  end
81
81
  end
82
+
83
+ BetaFileMetadata = Beta::BetaFileMetadata
82
84
  end
83
85
  end
@@ -20,11 +20,25 @@ module Anthropic
20
20
  # @return [Anthropic::Models::Beta::BetaCacheControlEphemeral, nil]
21
21
  optional :cache_control, -> { Anthropic::Beta::BetaCacheControlEphemeral }, nil?: true
22
22
 
23
- # @!method initialize(source:, cache_control: nil, type: :image)
23
+ # @!attribute transformations
24
+ # Configures the transformations the server applies to this image before the model
25
+ # observes it. Each key names a condition the server transforms images for; its
26
+ # value selects the transformation applied. Omitted keys keep their default
27
+ # behavior, and an empty object is equivalent to omitting the field.
28
+ #
29
+ # @return [Anthropic::Models::Beta::BetaImageTransformationsParam, nil]
30
+ optional :transformations, -> { Anthropic::Beta::BetaImageTransformationsParam }, nil?: true
31
+
32
+ # @!method initialize(source:, cache_control: nil, transformations: nil, type: :image)
33
+ # Some parameter documentations has been truncated, see
34
+ # {Anthropic::Models::Beta::BetaImageBlockParam} for more details.
35
+ #
24
36
  # @param source [Anthropic::Models::Beta::BetaBase64ImageSource, Anthropic::Models::Beta::BetaURLImageSource, Anthropic::Models::Beta::BetaFileImageSource]
25
37
  #
26
38
  # @param cache_control [Anthropic::Models::Beta::BetaCacheControlEphemeral, nil] Create a cache control breakpoint at this content block.
27
39
  #
40
+ # @param transformations [Anthropic::Models::Beta::BetaImageTransformationsParam, nil] Configures the transformations the server applies to this image before the model
41
+ #
28
42
  # @param type [Symbol, :image]
29
43
 
30
44
  # @see Anthropic::Models::Beta::BetaImageBlockParam#source
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Anthropic
4
+ module Models
5
+ module Beta
6
+ class BetaImageTransformationsParam < Anthropic::Internal::Type::BaseModel
7
+ # @!attribute oversized_image
8
+ # What the server does when this image exceeds the model's maximum image size.
9
+ # `"downsize"` (the default) scales the image down to fit, which changes the
10
+ # dimensions the model observes without telling you. `"error"` instead rejects the
11
+ # request with a 400 error naming the image's dimensions and the largest
12
+ # dimensions that fit, so you can scale the image deliberately — your image is
13
+ # never silently scaled down.
14
+ #
15
+ # @return [Symbol, Anthropic::Models::Beta::BetaImageTransformationsParam::OversizedImage, nil]
16
+ optional :oversized_image, enum: -> { Anthropic::Beta::BetaImageTransformationsParam::OversizedImage }
17
+
18
+ # @!method initialize(oversized_image: nil)
19
+ # Configures the transformations the server applies to this image before the model
20
+ # observes it. Each key names a condition the server transforms images for; its
21
+ # value selects the transformation applied. Omitted keys keep their default
22
+ # behavior, and an empty object is equivalent to omitting the field.
23
+ #
24
+ # Some parameter documentations has been truncated, see
25
+ # {Anthropic::Models::Beta::BetaImageTransformationsParam} for more details.
26
+ #
27
+ # @param oversized_image [Symbol, Anthropic::Models::Beta::BetaImageTransformationsParam::OversizedImage] What the server does when this image exceeds the model's maximum image size. `"d
28
+
29
+ # What the server does when this image exceeds the model's maximum image size.
30
+ # `"downsize"` (the default) scales the image down to fit, which changes the
31
+ # dimensions the model observes without telling you. `"error"` instead rejects the
32
+ # request with a 400 error naming the image's dimensions and the largest
33
+ # dimensions that fit, so you can scale the image deliberately — your image is
34
+ # never silently scaled down.
35
+ #
36
+ # @see Anthropic::Models::Beta::BetaImageTransformationsParam#oversized_image
37
+ module OversizedImage
38
+ extend Anthropic::Internal::Type::Enum
39
+
40
+ DOWNSIZE = :downsize
41
+ ERROR = :error
42
+
43
+ # @!method self.values
44
+ # @return [Array<Symbol>]
45
+ end
46
+ end
47
+ end
48
+
49
+ BetaImageTransformationsParam = Beta::BetaImageTransformationsParam
50
+ end
51
+ end
@@ -189,7 +189,7 @@ module Anthropic
189
189
  #
190
190
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
191
191
  #
192
- # @option args [Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolConfig>, Array<Anthropic::Models::Beta::BetaManagedAgentsMCPToolConfig>] :configs
192
+ # @option args [Array<Anthropic::Models::Beta::BetaManagedAgentsBashToolConfig, Anthropic::Models::Beta::BetaManagedAgentsEditToolConfig, Anthropic::Models::Beta::BetaManagedAgentsReadToolConfig, Anthropic::Models::Beta::BetaManagedAgentsWriteToolConfig, Anthropic::Models::Beta::BetaManagedAgentsGlobToolConfig, Anthropic::Models::Beta::BetaManagedAgentsGrepToolConfig, Anthropic::Models::Beta::BetaManagedAgentsWebFetchToolConfig, Anthropic::Models::Beta::BetaManagedAgentsWebSearchToolConfig>, Array<Anthropic::Models::Beta::BetaManagedAgentsMCPToolConfig>] :configs
193
193
  #
194
194
  # @option args [Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfig, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetDefaultConfig] :default_config Resolved default configuration for agent tools.
195
195
  #