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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -1
- data/README.md +1 -1
- data/lib/anthropic/client.rb +8 -0
- data/lib/anthropic/helpers/bedrock/client.rb +8 -0
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +12 -0
- data/lib/anthropic/helpers/vertex/client.rb +8 -0
- data/lib/anthropic/internal/page_cursor.rb +2 -2
- data/lib/anthropic/models/beta/agent_create_params.rb +1 -1
- data/lib/anthropic/models/beta/agent_update_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_browser_close_tab_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_double_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_file_upload_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_find_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_form_input_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_get_page_text_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_hold_key_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_hover_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_javascript_exec_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_key_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_left_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_left_click_drag_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_left_mouse_down_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_left_mouse_up_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_list_tabs_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_middle_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_mouse_move_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_navigate_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_new_tab_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_read_console_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_read_network_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_read_page_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_right_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_screenshot_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_scroll_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_scroll_to_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_state_block_param.rb +58 -0
- data/lib/anthropic/models/beta/beta_browser_state_change.rb +84 -0
- data/lib/anthropic/models/beta/beta_browser_state_change_download_completed.rb +62 -0
- data/lib/anthropic/models/beta/beta_browser_state_change_download_failed.rb +50 -0
- data/lib/anthropic/models/beta/beta_browser_state_change_download_started.rb +42 -0
- data/lib/anthropic/models/beta/beta_browser_state_change_tab_opened.rb +34 -0
- data/lib/anthropic/models/beta/beta_browser_state_tab_entry.rb +55 -0
- data/lib/anthropic/models/beta/beta_browser_switch_tab_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_toolset_20260801.rb +73 -0
- data/lib/anthropic/models/beta/beta_browser_toolset_configs.rb +266 -0
- data/lib/anthropic/models/beta/beta_browser_triple_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_type_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_wait_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_browser_zoom_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_cursor_position_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_double_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_hold_key_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_key_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_left_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_left_click_drag_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_left_mouse_down_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_left_mouse_up_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_middle_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_mouse_move_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_right_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_screenshot_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_scroll_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_toolset_20260801.rb +76 -0
- data/lib/anthropic/models/beta/beta_computer_toolset_configs.rb +154 -0
- data/lib/anthropic/models/beta/beta_computer_triple_click_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_type_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_wait_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_computer_zoom_config.rb +36 -0
- data/lib/anthropic/models/beta/beta_content_block.rb +2 -0
- data/lib/anthropic/models/beta/beta_content_block_param.rb +5 -1
- data/lib/anthropic/models/beta/beta_content_block_source_content.rb +5 -0
- data/lib/anthropic/models/beta/{deleted_file.rb → beta_deleted_file.rb} +8 -6
- data/lib/anthropic/models/beta/{file_metadata.rb → beta_file_metadata.rb} +4 -2
- data/lib/anthropic/models/beta/beta_image_block_param.rb +15 -1
- data/lib/anthropic/models/beta/beta_image_transformations_param.rb +51 -0
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +65 -71
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +69 -78
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +82 -0
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +100 -0
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +82 -0
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +100 -0
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +82 -0
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +100 -0
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +82 -0
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +100 -0
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +82 -0
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +100 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_user_location.rb +54 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +103 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +131 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +104 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +130 -0
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +82 -0
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +100 -0
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +2 -0
- data/lib/anthropic/models/beta/beta_skill.rb +2 -2
- data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +35 -6
- data/lib/anthropic/models/beta/beta_tool_union.rb +17 -1
- data/lib/anthropic/models/beta/beta_tool_use_block.rb +9 -1
- data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +9 -1
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +19 -3
- data/lib/anthropic/models/beta/message_create_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +2 -2
- data/lib/anthropic/models/browser_close_tab_config.rb +32 -0
- data/lib/anthropic/models/browser_double_click_config.rb +32 -0
- data/lib/anthropic/models/browser_file_upload_config.rb +32 -0
- data/lib/anthropic/models/browser_find_config.rb +32 -0
- data/lib/anthropic/models/browser_form_input_config.rb +32 -0
- data/lib/anthropic/models/browser_get_page_text_config.rb +32 -0
- data/lib/anthropic/models/browser_hold_key_config.rb +32 -0
- data/lib/anthropic/models/browser_hover_config.rb +32 -0
- data/lib/anthropic/models/browser_javascript_exec_config.rb +32 -0
- data/lib/anthropic/models/browser_key_config.rb +32 -0
- data/lib/anthropic/models/browser_left_click_config.rb +32 -0
- data/lib/anthropic/models/browser_left_click_drag_config.rb +32 -0
- data/lib/anthropic/models/browser_left_mouse_down_config.rb +32 -0
- data/lib/anthropic/models/browser_left_mouse_up_config.rb +32 -0
- data/lib/anthropic/models/browser_list_tabs_config.rb +32 -0
- data/lib/anthropic/models/browser_middle_click_config.rb +32 -0
- data/lib/anthropic/models/browser_mouse_move_config.rb +32 -0
- data/lib/anthropic/models/browser_navigate_config.rb +32 -0
- data/lib/anthropic/models/browser_new_tab_config.rb +32 -0
- data/lib/anthropic/models/browser_read_console_config.rb +32 -0
- data/lib/anthropic/models/browser_read_network_config.rb +32 -0
- data/lib/anthropic/models/browser_read_page_config.rb +32 -0
- data/lib/anthropic/models/browser_right_click_config.rb +32 -0
- data/lib/anthropic/models/browser_screenshot_config.rb +32 -0
- data/lib/anthropic/models/browser_scroll_config.rb +32 -0
- data/lib/anthropic/models/browser_scroll_to_config.rb +32 -0
- data/lib/anthropic/models/browser_state_block_param.rb +54 -0
- data/lib/anthropic/models/browser_state_change.rb +80 -0
- data/lib/anthropic/models/browser_state_change_download_completed.rb +57 -0
- data/lib/anthropic/models/browser_state_change_download_failed.rb +45 -0
- data/lib/anthropic/models/browser_state_change_download_started.rb +37 -0
- data/lib/anthropic/models/browser_state_change_tab_opened.rb +30 -0
- data/lib/anthropic/models/browser_state_tab_entry.rb +51 -0
- data/lib/anthropic/models/browser_switch_tab_config.rb +32 -0
- data/lib/anthropic/models/browser_toolset_20260801.rb +69 -0
- data/lib/anthropic/models/browser_toolset_configs.rb +262 -0
- data/lib/anthropic/models/browser_triple_click_config.rb +32 -0
- data/lib/anthropic/models/browser_type_config.rb +32 -0
- data/lib/anthropic/models/browser_wait_config.rb +32 -0
- data/lib/anthropic/models/browser_zoom_config.rb +32 -0
- data/lib/anthropic/models/computer_cursor_position_config.rb +32 -0
- data/lib/anthropic/models/computer_double_click_config.rb +32 -0
- data/lib/anthropic/models/computer_hold_key_config.rb +32 -0
- data/lib/anthropic/models/computer_key_config.rb +32 -0
- data/lib/anthropic/models/computer_left_click_config.rb +32 -0
- data/lib/anthropic/models/computer_left_click_drag_config.rb +32 -0
- data/lib/anthropic/models/computer_left_mouse_down_config.rb +32 -0
- data/lib/anthropic/models/computer_left_mouse_up_config.rb +32 -0
- data/lib/anthropic/models/computer_middle_click_config.rb +32 -0
- data/lib/anthropic/models/computer_mouse_move_config.rb +32 -0
- data/lib/anthropic/models/computer_right_click_config.rb +32 -0
- data/lib/anthropic/models/computer_screenshot_config.rb +32 -0
- data/lib/anthropic/models/computer_scroll_config.rb +32 -0
- data/lib/anthropic/models/computer_toolset_20260801.rb +72 -0
- data/lib/anthropic/models/computer_toolset_configs.rb +150 -0
- data/lib/anthropic/models/computer_triple_click_config.rb +32 -0
- data/lib/anthropic/models/computer_type_config.rb +32 -0
- data/lib/anthropic/models/computer_wait_config.rb +32 -0
- data/lib/anthropic/models/computer_zoom_config.rb +32 -0
- data/lib/anthropic/models/container.rb +9 -1
- data/lib/anthropic/models/container_params.rb +26 -0
- data/lib/anthropic/models/container_skill.rb +47 -0
- data/lib/anthropic/models/content_block.rb +2 -0
- data/lib/anthropic/models/content_block_param.rb +6 -2
- data/lib/anthropic/models/content_block_source_content.rb +6 -1
- data/lib/anthropic/models/deleted_file.rb +44 -0
- data/lib/anthropic/models/deleted_skill.rb +32 -0
- data/lib/anthropic/models/document_block_param.rb +10 -4
- data/lib/anthropic/models/file_delete_params.rb +22 -0
- data/lib/anthropic/models/file_document_source.rb +21 -0
- data/lib/anthropic/models/file_download_params.rb +22 -0
- data/lib/anthropic/models/file_image_source.rb +21 -0
- data/lib/anthropic/models/file_list_params.rb +48 -0
- data/lib/anthropic/models/file_metadata.rb +82 -0
- data/lib/anthropic/models/file_retrieve_metadata_params.rb +22 -0
- data/lib/anthropic/models/file_upload_params.rb +34 -0
- data/lib/anthropic/models/image_block_param.rb +25 -5
- data/lib/anthropic/models/image_transformations_param.rb +47 -0
- data/lib/anthropic/models/message_count_tokens_params.rb +2 -2
- data/lib/anthropic/models/message_count_tokens_tool.rb +17 -1
- data/lib/anthropic/models/message_create_params.rb +5 -5
- data/lib/anthropic/models/message_create_params_container.rb +18 -0
- data/lib/anthropic/models/messages/batch_create_params.rb +5 -5
- data/lib/anthropic/models/raw_content_block_start_event.rb +2 -0
- data/lib/anthropic/models/skill.rb +82 -0
- data/lib/anthropic/models/skill_create_params.rb +38 -0
- data/lib/anthropic/models/skill_delete_params.rb +27 -0
- data/lib/anthropic/models/skill_list_params.rb +51 -0
- data/lib/anthropic/models/skill_params.rb +47 -0
- data/lib/anthropic/models/skill_retrieve_params.rb +27 -0
- data/lib/anthropic/models/skill_source.rb +48 -0
- data/lib/anthropic/models/skills/deleted_skill_version.rb +33 -0
- data/lib/anthropic/models/skills/skill_version.rb +74 -0
- data/lib/anthropic/models/skills/version_create_params.rb +40 -0
- data/lib/anthropic/models/skills/version_delete_params.rb +41 -0
- data/lib/anthropic/models/skills/version_list_params.rb +47 -0
- data/lib/anthropic/models/skills/version_retrieve_params.rb +41 -0
- data/lib/anthropic/models/tool_result_block_param.rb +35 -7
- data/lib/anthropic/models/tool_union.rb +17 -1
- data/lib/anthropic/models/tool_use_block.rb +9 -1
- data/lib/anthropic/models/tool_use_block_param.rb +9 -1
- data/lib/anthropic/models.rb +162 -0
- data/lib/anthropic/resources/beta/files.rb +8 -8
- data/lib/anthropic/resources/beta/messages.rb +35 -14
- data/lib/anthropic/resources/files.rb +134 -0
- data/lib/anthropic/resources/messages.rb +34 -25
- data/lib/anthropic/resources/skills/versions.rb +135 -0
- data/lib/anthropic/resources/skills.rb +123 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +168 -2
- data/rbi/anthropic/client.rbi +6 -0
- data/rbi/anthropic/helpers/bedrock/client.rbi +8 -0
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +8 -0
- data/rbi/anthropic/helpers/vertex/client.rbi +8 -0
- data/rbi/anthropic/models/beta/agent_create_params.rbi +10 -1
- data/rbi/anthropic/models/beta/agent_update_params.rbi +10 -1
- data/rbi/anthropic/models/beta/beta_browser_close_tab_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_double_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_file_upload_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_find_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_form_input_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_get_page_text_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_hold_key_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_hover_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_javascript_exec_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_key_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_left_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_left_click_drag_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_left_mouse_down_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_left_mouse_up_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_list_tabs_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_middle_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_mouse_move_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_navigate_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_new_tab_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_read_console_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_read_network_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_read_page_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_right_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_screenshot_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_scroll_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_scroll_to_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_state_block_param.rbi +120 -0
- data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +69 -0
- data/rbi/anthropic/models/beta/beta_browser_state_change_download_completed.rbi +83 -0
- data/rbi/anthropic/models/beta/beta_browser_state_change_download_failed.rbi +70 -0
- data/rbi/anthropic/models/beta/beta_browser_state_change_download_started.rbi +54 -0
- data/rbi/anthropic/models/beta/beta_browser_state_change_tab_opened.rbi +44 -0
- data/rbi/anthropic/models/beta/beta_browser_state_tab_entry.rbi +74 -0
- data/rbi/anthropic/models/beta/beta_browser_switch_tab_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_toolset_20260801.rbi +169 -0
- data/rbi/anthropic/models/beta/beta_browser_toolset_configs.rbi +598 -0
- data/rbi/anthropic/models/beta/beta_browser_triple_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_type_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_wait_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_browser_zoom_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_cursor_position_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_double_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_hold_key_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_key_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_left_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_left_click_drag_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_left_mouse_down_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_left_mouse_up_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_middle_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_mouse_move_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_right_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_screenshot_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_scroll_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_toolset_20260801.rbi +172 -0
- data/rbi/anthropic/models/beta/beta_computer_toolset_configs.rbi +362 -0
- data/rbi/anthropic/models/beta/beta_computer_triple_click_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_type_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_wait_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_computer_zoom_config.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_content_block.rbi +3 -0
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +10 -0
- data/rbi/anthropic/models/beta/beta_content_block_source_content.rbi +9 -2
- data/rbi/anthropic/models/beta/{deleted_file.rbi → beta_deleted_file.rbi} +20 -9
- data/rbi/anthropic/models/beta/{file_metadata.rbi → beta_file_metadata.rbi} +7 -2
- data/rbi/anthropic/models/beta/beta_image_block_param.rbi +27 -1
- data/rbi/anthropic/models/beta/beta_image_transformations_param.rbi +114 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +10 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +37 -138
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +49 -149
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbi +18 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbi +42 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +10 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +169 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +169 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +169 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +169 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +169 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +10 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent_update.rbi +10 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +10 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_user_location.rbi +77 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +130 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +213 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +144 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +223 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +169 -0
- data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +3 -0
- data/rbi/anthropic/models/beta/beta_skill.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +41 -4
- data/rbi/anthropic/models/beta/beta_tool_union.rbi +2 -0
- data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +9 -1
- data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +9 -1
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +10 -0
- data/rbi/anthropic/models/beta/message_create_params.rbi +8 -0
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +8 -0
- data/rbi/anthropic/models/browser_close_tab_config.rbi +52 -0
- data/rbi/anthropic/models/browser_double_click_config.rbi +55 -0
- data/rbi/anthropic/models/browser_file_upload_config.rbi +55 -0
- data/rbi/anthropic/models/browser_find_config.rbi +52 -0
- data/rbi/anthropic/models/browser_form_input_config.rbi +52 -0
- data/rbi/anthropic/models/browser_get_page_text_config.rbi +55 -0
- data/rbi/anthropic/models/browser_hold_key_config.rbi +52 -0
- data/rbi/anthropic/models/browser_hover_config.rbi +52 -0
- data/rbi/anthropic/models/browser_javascript_exec_config.rbi +55 -0
- data/rbi/anthropic/models/browser_key_config.rbi +52 -0
- data/rbi/anthropic/models/browser_left_click_config.rbi +52 -0
- data/rbi/anthropic/models/browser_left_click_drag_config.rbi +55 -0
- data/rbi/anthropic/models/browser_left_mouse_down_config.rbi +55 -0
- data/rbi/anthropic/models/browser_left_mouse_up_config.rbi +55 -0
- data/rbi/anthropic/models/browser_list_tabs_config.rbi +52 -0
- data/rbi/anthropic/models/browser_middle_click_config.rbi +55 -0
- data/rbi/anthropic/models/browser_mouse_move_config.rbi +52 -0
- data/rbi/anthropic/models/browser_navigate_config.rbi +52 -0
- data/rbi/anthropic/models/browser_new_tab_config.rbi +52 -0
- data/rbi/anthropic/models/browser_read_console_config.rbi +55 -0
- data/rbi/anthropic/models/browser_read_network_config.rbi +55 -0
- data/rbi/anthropic/models/browser_read_page_config.rbi +52 -0
- data/rbi/anthropic/models/browser_right_click_config.rbi +55 -0
- data/rbi/anthropic/models/browser_screenshot_config.rbi +55 -0
- data/rbi/anthropic/models/browser_scroll_config.rbi +52 -0
- data/rbi/anthropic/models/browser_scroll_to_config.rbi +52 -0
- data/rbi/anthropic/models/browser_state_block_param.rbi +110 -0
- data/rbi/anthropic/models/browser_state_change.rbi +63 -0
- data/rbi/anthropic/models/browser_state_change_download_completed.rbi +78 -0
- data/rbi/anthropic/models/browser_state_change_download_failed.rbi +65 -0
- data/rbi/anthropic/models/browser_state_change_download_started.rbi +49 -0
- data/rbi/anthropic/models/browser_state_change_tab_opened.rbi +40 -0
- data/rbi/anthropic/models/browser_state_tab_entry.rbi +67 -0
- data/rbi/anthropic/models/browser_switch_tab_config.rbi +52 -0
- data/rbi/anthropic/models/browser_toolset_20260801.rbi +150 -0
- data/rbi/anthropic/models/browser_toolset_configs.rbi +479 -0
- data/rbi/anthropic/models/browser_triple_click_config.rbi +55 -0
- data/rbi/anthropic/models/browser_type_config.rbi +52 -0
- data/rbi/anthropic/models/browser_wait_config.rbi +52 -0
- data/rbi/anthropic/models/browser_zoom_config.rbi +52 -0
- data/rbi/anthropic/models/computer_cursor_position_config.rbi +55 -0
- data/rbi/anthropic/models/computer_double_click_config.rbi +55 -0
- data/rbi/anthropic/models/computer_hold_key_config.rbi +52 -0
- data/rbi/anthropic/models/computer_key_config.rbi +52 -0
- data/rbi/anthropic/models/computer_left_click_config.rbi +55 -0
- data/rbi/anthropic/models/computer_left_click_drag_config.rbi +55 -0
- data/rbi/anthropic/models/computer_left_mouse_down_config.rbi +55 -0
- data/rbi/anthropic/models/computer_left_mouse_up_config.rbi +55 -0
- data/rbi/anthropic/models/computer_middle_click_config.rbi +55 -0
- data/rbi/anthropic/models/computer_mouse_move_config.rbi +55 -0
- data/rbi/anthropic/models/computer_right_click_config.rbi +55 -0
- data/rbi/anthropic/models/computer_screenshot_config.rbi +55 -0
- data/rbi/anthropic/models/computer_scroll_config.rbi +52 -0
- data/rbi/anthropic/models/computer_toolset_20260801.rbi +160 -0
- data/rbi/anthropic/models/computer_toolset_configs.rbi +284 -0
- data/rbi/anthropic/models/computer_triple_click_config.rbi +55 -0
- data/rbi/anthropic/models/computer_type_config.rbi +52 -0
- data/rbi/anthropic/models/computer_wait_config.rbi +52 -0
- data/rbi/anthropic/models/computer_zoom_config.rbi +52 -0
- data/rbi/anthropic/models/container.rbi +23 -3
- data/rbi/anthropic/models/container_params.rbi +46 -0
- data/rbi/anthropic/models/container_skill.rbi +75 -0
- data/rbi/anthropic/models/content_block.rbi +3 -0
- data/rbi/anthropic/models/content_block_param.rbi +14 -2
- data/rbi/anthropic/models/content_block_source_content.rbi +11 -3
- data/rbi/anthropic/models/deleted_file.rbi +69 -0
- data/rbi/anthropic/models/deleted_skill.rbi +41 -0
- data/rbi/anthropic/models/document_block_param.rbi +18 -6
- data/rbi/anthropic/models/file_delete_params.rbi +40 -0
- data/rbi/anthropic/models/file_document_source.rbi +26 -0
- data/rbi/anthropic/models/file_download_params.rbi +40 -0
- data/rbi/anthropic/models/file_image_source.rbi +26 -0
- data/rbi/anthropic/models/file_list_params.rbi +76 -0
- data/rbi/anthropic/models/file_metadata.rbi +108 -0
- data/rbi/anthropic/models/file_retrieve_metadata_params.rbi +43 -0
- data/rbi/anthropic/models/file_upload_params.rbi +56 -0
- data/rbi/anthropic/models/image_block_param.rbi +46 -7
- data/rbi/anthropic/models/image_transformations_param.rbi +107 -0
- data/rbi/anthropic/models/message_count_tokens_params.rbi +8 -0
- data/rbi/anthropic/models/message_count_tokens_tool.rbi +2 -0
- data/rbi/anthropic/models/message_create_params.rbi +12 -3
- data/rbi/anthropic/models/message_create_params_container.rbi +20 -0
- data/rbi/anthropic/models/messages/batch_create_params.rbi +15 -3
- data/rbi/anthropic/models/raw_content_block_start_event.rbi +3 -0
- data/rbi/anthropic/models/skill.rbi +114 -0
- data/rbi/anthropic/models/skill_create_params.rbi +61 -0
- data/rbi/anthropic/models/skill_delete_params.rbi +44 -0
- data/rbi/anthropic/models/skill_list_params.rbi +82 -0
- data/rbi/anthropic/models/skill_params.rbi +76 -0
- data/rbi/anthropic/models/skill_retrieve_params.rbi +44 -0
- data/rbi/anthropic/models/skill_source.rbi +76 -0
- data/rbi/anthropic/models/skills/deleted_skill_version.rbi +44 -0
- data/rbi/anthropic/models/skills/skill_version.rbi +101 -0
- data/rbi/anthropic/models/skills/version_create_params.rbi +66 -0
- data/rbi/anthropic/models/skills/version_delete_params.rbi +68 -0
- data/rbi/anthropic/models/skills/version_list_params.rbi +72 -0
- data/rbi/anthropic/models/skills/version_retrieve_params.rbi +68 -0
- data/rbi/anthropic/models/tool_result_block_param.rbi +42 -6
- data/rbi/anthropic/models/tool_union.rbi +2 -0
- data/rbi/anthropic/models/tool_use_block.rbi +9 -1
- data/rbi/anthropic/models/tool_use_block_param.rbi +9 -1
- data/rbi/anthropic/models.rbi +165 -0
- data/rbi/anthropic/resources/beta/files.rbi +6 -4
- data/rbi/anthropic/resources/beta/messages.rbi +410 -0
- data/rbi/anthropic/resources/files.rbi +99 -0
- data/rbi/anthropic/resources/messages.rbi +114 -89
- data/rbi/anthropic/resources/skills/versions.rbi +108 -0
- data/rbi/anthropic/resources/skills.rbi +99 -0
- data/sig/anthropic/client.rbs +4 -0
- data/sig/anthropic/helpers/bedrock/client.rbs +4 -0
- data/sig/anthropic/helpers/vertex/client.rbs +4 -0
- data/sig/anthropic/models/beta/agent_create_params.rbs +2 -2
- data/sig/anthropic/models/beta/agent_update_params.rbs +2 -2
- data/sig/anthropic/models/beta/beta_browser_close_tab_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_double_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_file_upload_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_find_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_form_input_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_get_page_text_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_hold_key_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_hover_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_javascript_exec_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_key_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_left_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_left_click_drag_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_left_mouse_down_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_left_mouse_up_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_list_tabs_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_middle_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_mouse_move_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_navigate_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_new_tab_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_read_console_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_read_network_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_read_page_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_right_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_screenshot_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_scroll_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_scroll_to_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_state_block_param.rbs +39 -0
- data/sig/anthropic/models/beta/beta_browser_state_change.rbs +52 -0
- data/sig/anthropic/models/beta/beta_browser_state_change_download_completed.rbs +44 -0
- data/sig/anthropic/models/beta/beta_browser_state_change_download_failed.rbs +39 -0
- data/sig/anthropic/models/beta/beta_browser_state_change_download_started.rbs +30 -0
- data/sig/anthropic/models/beta/beta_browser_state_change_tab_opened.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_state_tab_entry.rbs +36 -0
- data/sig/anthropic/models/beta/beta_browser_switch_tab_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_toolset_20260801.rbs +60 -0
- data/sig/anthropic/models/beta/beta_browser_toolset_configs.rbs +174 -0
- data/sig/anthropic/models/beta/beta_browser_triple_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_type_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_wait_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_zoom_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_computer_cursor_position_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_double_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_hold_key_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_key_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_computer_left_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_left_click_drag_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_left_mouse_down_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_left_mouse_up_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_middle_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_mouse_move_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_right_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_screenshot_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_scroll_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_toolset_20260801.rbs +60 -0
- data/sig/anthropic/models/beta/beta_computer_toolset_configs.rbs +104 -0
- data/sig/anthropic/models/beta/beta_computer_triple_click_config.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_type_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_computer_wait_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_computer_zoom_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_content_block.rbs +3 -1
- data/sig/anthropic/models/beta/beta_content_block_param.rbs +8 -3
- data/sig/anthropic/models/beta/beta_content_block_source_content.rbs +4 -2
- data/sig/anthropic/models/beta/beta_deleted_file.rbs +40 -0
- data/sig/anthropic/models/beta/{file_metadata.rbs → beta_file_metadata.rbs} +4 -2
- data/sig/anthropic/models/beta/beta_image_block_param.rbs +7 -2
- data/sig/anthropic/models/beta/beta_image_transformations_param.rbs +39 -0
- data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbs +91 -68
- data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbs +91 -68
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbs +4 -4
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbs +6 -6
- data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +60 -0
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +74 -0
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +60 -0
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +74 -0
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +60 -0
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +74 -0
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +60 -0
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +74 -0
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +60 -0
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +74 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent_update.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_user_location.rbs +44 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +79 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +93 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +79 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +93 -0
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +60 -0
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +74 -0
- data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +3 -1
- data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +20 -4
- data/sig/anthropic/models/beta/beta_tool_union.rbs +2 -0
- data/sig/anthropic/models/beta/beta_tool_use_block.rbs +7 -2
- data/sig/anthropic/models/beta/beta_tool_use_block_param.rbs +7 -2
- data/sig/anthropic/models/beta/message_count_tokens_params.rbs +2 -0
- data/sig/anthropic/models/browser_close_tab_config.rbs +15 -0
- data/sig/anthropic/models/browser_double_click_config.rbs +15 -0
- data/sig/anthropic/models/browser_file_upload_config.rbs +15 -0
- data/sig/anthropic/models/browser_find_config.rbs +15 -0
- data/sig/anthropic/models/browser_form_input_config.rbs +15 -0
- data/sig/anthropic/models/browser_get_page_text_config.rbs +15 -0
- data/sig/anthropic/models/browser_hold_key_config.rbs +15 -0
- data/sig/anthropic/models/browser_hover_config.rbs +15 -0
- data/sig/anthropic/models/browser_javascript_exec_config.rbs +16 -0
- data/sig/anthropic/models/browser_key_config.rbs +15 -0
- data/sig/anthropic/models/browser_left_click_config.rbs +15 -0
- data/sig/anthropic/models/browser_left_click_drag_config.rbs +16 -0
- data/sig/anthropic/models/browser_left_mouse_down_config.rbs +16 -0
- data/sig/anthropic/models/browser_left_mouse_up_config.rbs +15 -0
- data/sig/anthropic/models/browser_list_tabs_config.rbs +15 -0
- data/sig/anthropic/models/browser_middle_click_config.rbs +15 -0
- data/sig/anthropic/models/browser_mouse_move_config.rbs +15 -0
- data/sig/anthropic/models/browser_navigate_config.rbs +15 -0
- data/sig/anthropic/models/browser_new_tab_config.rbs +15 -0
- data/sig/anthropic/models/browser_read_console_config.rbs +15 -0
- data/sig/anthropic/models/browser_read_network_config.rbs +15 -0
- data/sig/anthropic/models/browser_read_page_config.rbs +15 -0
- data/sig/anthropic/models/browser_right_click_config.rbs +15 -0
- data/sig/anthropic/models/browser_screenshot_config.rbs +15 -0
- data/sig/anthropic/models/browser_scroll_config.rbs +15 -0
- data/sig/anthropic/models/browser_scroll_to_config.rbs +15 -0
- data/sig/anthropic/models/browser_state_block_param.rbs +35 -0
- data/sig/anthropic/models/browser_state_change.rbs +48 -0
- data/sig/anthropic/models/browser_state_change_download_completed.rbs +40 -0
- data/sig/anthropic/models/browser_state_change_download_failed.rbs +35 -0
- data/sig/anthropic/models/browser_state_change_download_started.rbs +26 -0
- data/sig/anthropic/models/browser_state_change_tab_opened.rbs +15 -0
- data/sig/anthropic/models/browser_state_tab_entry.rbs +32 -0
- data/sig/anthropic/models/browser_switch_tab_config.rbs +15 -0
- data/sig/anthropic/models/browser_toolset_20260801.rbs +56 -0
- data/sig/anthropic/models/browser_toolset_configs.rbs +170 -0
- data/sig/anthropic/models/browser_triple_click_config.rbs +15 -0
- data/sig/anthropic/models/browser_type_config.rbs +15 -0
- data/sig/anthropic/models/browser_wait_config.rbs +15 -0
- data/sig/anthropic/models/browser_zoom_config.rbs +15 -0
- data/sig/anthropic/models/computer_cursor_position_config.rbs +16 -0
- data/sig/anthropic/models/computer_double_click_config.rbs +15 -0
- data/sig/anthropic/models/computer_hold_key_config.rbs +15 -0
- data/sig/anthropic/models/computer_key_config.rbs +15 -0
- data/sig/anthropic/models/computer_left_click_config.rbs +15 -0
- data/sig/anthropic/models/computer_left_click_drag_config.rbs +16 -0
- data/sig/anthropic/models/computer_left_mouse_down_config.rbs +16 -0
- data/sig/anthropic/models/computer_left_mouse_up_config.rbs +16 -0
- data/sig/anthropic/models/computer_middle_click_config.rbs +15 -0
- data/sig/anthropic/models/computer_mouse_move_config.rbs +15 -0
- data/sig/anthropic/models/computer_right_click_config.rbs +15 -0
- data/sig/anthropic/models/computer_screenshot_config.rbs +15 -0
- data/sig/anthropic/models/computer_scroll_config.rbs +15 -0
- data/sig/anthropic/models/computer_toolset_20260801.rbs +56 -0
- data/sig/anthropic/models/computer_toolset_configs.rbs +100 -0
- data/sig/anthropic/models/computer_triple_click_config.rbs +15 -0
- data/sig/anthropic/models/computer_type_config.rbs +15 -0
- data/sig/anthropic/models/computer_wait_config.rbs +15 -0
- data/sig/anthropic/models/computer_zoom_config.rbs +15 -0
- data/sig/anthropic/models/container.rbs +18 -3
- data/sig/anthropic/models/container_params.rbs +19 -0
- data/sig/anthropic/models/container_skill.rbs +41 -0
- data/sig/anthropic/models/content_block.rbs +3 -1
- data/sig/anthropic/models/content_block_param.rbs +8 -3
- data/sig/anthropic/models/content_block_source_content.rbs +4 -2
- data/sig/anthropic/models/deleted_file.rbs +36 -0
- data/sig/anthropic/models/deleted_skill.rbs +15 -0
- data/sig/anthropic/models/document_block_param.rbs +7 -1
- data/sig/anthropic/models/file_delete_params.rbs +23 -0
- data/sig/anthropic/models/file_document_source.rbs +15 -0
- data/sig/anthropic/models/file_download_params.rbs +23 -0
- data/sig/anthropic/models/file_image_source.rbs +15 -0
- data/sig/anthropic/models/file_list_params.rbs +34 -0
- data/sig/anthropic/models/file_metadata.rbs +57 -0
- data/sig/anthropic/models/file_retrieve_metadata_params.rbs +23 -0
- data/sig/anthropic/models/file_upload_params.rbs +30 -0
- data/sig/anthropic/models/image_block_param.rbs +17 -4
- data/sig/anthropic/models/image_transformations_param.rbs +35 -0
- data/sig/anthropic/models/message_count_tokens_tool.rbs +2 -0
- data/sig/anthropic/models/message_create_params.rbs +4 -4
- data/sig/anthropic/models/message_create_params_container.rbs +11 -0
- data/sig/anthropic/models/messages/batch_create_params.rbs +4 -4
- data/sig/anthropic/models/raw_content_block_start_event.rbs +3 -1
- data/sig/anthropic/models/skill.rbs +50 -0
- data/sig/anthropic/models/skill_create_params.rbs +28 -0
- data/sig/anthropic/models/skill_delete_params.rbs +23 -0
- data/sig/anthropic/models/skill_list_params.rbs +34 -0
- data/sig/anthropic/models/skill_params.rbs +43 -0
- data/sig/anthropic/models/skill_retrieve_params.rbs +23 -0
- data/sig/anthropic/models/skill_source.rbs +26 -0
- data/sig/anthropic/models/skills/deleted_skill_version.rbs +17 -0
- data/sig/anthropic/models/skills/skill_version.rbs +49 -0
- data/sig/anthropic/models/skills/version_create_params.rbs +30 -0
- data/sig/anthropic/models/skills/version_delete_params.rbs +30 -0
- data/sig/anthropic/models/skills/version_list_params.rbs +34 -0
- data/sig/anthropic/models/skills/version_retrieve_params.rbs +30 -0
- data/sig/anthropic/models/tool_result_block_param.rbs +20 -4
- data/sig/anthropic/models/tool_union.rbs +2 -0
- data/sig/anthropic/models/tool_use_block.rbs +7 -2
- data/sig/anthropic/models/tool_use_block_param.rbs +7 -2
- data/sig/anthropic/models.rbs +162 -0
- data/sig/anthropic/resources/beta/files.rbs +4 -4
- data/sig/anthropic/resources/beta/messages.rbs +30 -0
- data/sig/anthropic/resources/files.rbs +35 -0
- data/sig/anthropic/resources/messages.rbs +24 -2
- data/sig/anthropic/resources/skills/versions.rbs +34 -0
- data/sig/anthropic/resources/skills.rbs +32 -0
- metadata +505 -7
- data/sig/anthropic/models/beta/deleted_file.rbs +0 -38
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
BetaManagedAgentsWriteToolConfigParams =
|
|
6
|
+
Beta::BetaManagedAgentsWriteToolConfigParams
|
|
7
|
+
|
|
8
|
+
module Beta
|
|
9
|
+
class BetaManagedAgentsWriteToolConfigParams < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams,
|
|
14
|
+
Anthropic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# Must be "write".
|
|
19
|
+
sig { returns(Symbol) }
|
|
20
|
+
attr_accessor :name
|
|
21
|
+
|
|
22
|
+
# Whether this tool is enabled and available to Claude. Overrides the
|
|
23
|
+
# default_config setting.
|
|
24
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
25
|
+
attr_accessor :enabled
|
|
26
|
+
|
|
27
|
+
# Permission policy for tool execution.
|
|
28
|
+
sig do
|
|
29
|
+
returns(
|
|
30
|
+
T.nilable(
|
|
31
|
+
T.any(
|
|
32
|
+
Anthropic::Beta::BetaManagedAgentsAlwaysAllowPolicy,
|
|
33
|
+
Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
34
|
+
)
|
|
35
|
+
)
|
|
36
|
+
)
|
|
37
|
+
end
|
|
38
|
+
attr_accessor :permission_policy
|
|
39
|
+
|
|
40
|
+
sig do
|
|
41
|
+
returns(
|
|
42
|
+
T.nilable(
|
|
43
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::Type::OrSymbol
|
|
44
|
+
)
|
|
45
|
+
)
|
|
46
|
+
end
|
|
47
|
+
attr_reader :type
|
|
48
|
+
|
|
49
|
+
sig do
|
|
50
|
+
params(
|
|
51
|
+
type:
|
|
52
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::Type::OrSymbol
|
|
53
|
+
).void
|
|
54
|
+
end
|
|
55
|
+
attr_writer :type
|
|
56
|
+
|
|
57
|
+
# Configuration override for the write tool.
|
|
58
|
+
sig do
|
|
59
|
+
params(
|
|
60
|
+
enabled: T.nilable(T::Boolean),
|
|
61
|
+
permission_policy:
|
|
62
|
+
T.nilable(
|
|
63
|
+
T.any(
|
|
64
|
+
Anthropic::Beta::BetaManagedAgentsAlwaysAllowPolicy::OrHash,
|
|
65
|
+
Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy::OrHash
|
|
66
|
+
)
|
|
67
|
+
),
|
|
68
|
+
type:
|
|
69
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::Type::OrSymbol,
|
|
70
|
+
name: Symbol
|
|
71
|
+
).returns(T.attached_class)
|
|
72
|
+
end
|
|
73
|
+
def self.new(
|
|
74
|
+
# Whether this tool is enabled and available to Claude. Overrides the
|
|
75
|
+
# default_config setting.
|
|
76
|
+
enabled: nil,
|
|
77
|
+
# Permission policy for tool execution.
|
|
78
|
+
permission_policy: nil,
|
|
79
|
+
type: nil,
|
|
80
|
+
# Must be "write".
|
|
81
|
+
name: :write
|
|
82
|
+
)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
sig do
|
|
86
|
+
override.returns(
|
|
87
|
+
{
|
|
88
|
+
name: Symbol,
|
|
89
|
+
enabled: T.nilable(T::Boolean),
|
|
90
|
+
permission_policy:
|
|
91
|
+
T.nilable(
|
|
92
|
+
T.any(
|
|
93
|
+
Anthropic::Beta::BetaManagedAgentsAlwaysAllowPolicy,
|
|
94
|
+
Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
95
|
+
)
|
|
96
|
+
),
|
|
97
|
+
type:
|
|
98
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::Type::OrSymbol
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
end
|
|
102
|
+
def to_hash
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Permission policy for tool execution.
|
|
106
|
+
module PermissionPolicy
|
|
107
|
+
extend Anthropic::Internal::Type::Union
|
|
108
|
+
|
|
109
|
+
Variants =
|
|
110
|
+
T.type_alias do
|
|
111
|
+
T.any(
|
|
112
|
+
Anthropic::Beta::BetaManagedAgentsAlwaysAllowPolicy,
|
|
113
|
+
Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
114
|
+
)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
sig do
|
|
118
|
+
override.returns(
|
|
119
|
+
T::Array[
|
|
120
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::PermissionPolicy::Variants
|
|
121
|
+
]
|
|
122
|
+
)
|
|
123
|
+
end
|
|
124
|
+
def self.variants
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
128
|
+
# value, passing the remaining arguments to its constructor.
|
|
129
|
+
sig do
|
|
130
|
+
params(type: T.any(Symbol, String)).returns(
|
|
131
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::PermissionPolicy::Variants
|
|
132
|
+
)
|
|
133
|
+
end
|
|
134
|
+
def self.new(type:)
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
module Type
|
|
139
|
+
extend Anthropic::Internal::Type::Enum
|
|
140
|
+
|
|
141
|
+
TaggedSymbol =
|
|
142
|
+
T.type_alias do
|
|
143
|
+
T.all(
|
|
144
|
+
Symbol,
|
|
145
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::Type
|
|
146
|
+
)
|
|
147
|
+
end
|
|
148
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
149
|
+
|
|
150
|
+
WRITE =
|
|
151
|
+
T.let(
|
|
152
|
+
:write,
|
|
153
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::Type::TaggedSymbol
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
sig do
|
|
157
|
+
override.returns(
|
|
158
|
+
T::Array[
|
|
159
|
+
Anthropic::Beta::BetaManagedAgentsWriteToolConfigParams::Type::TaggedSymbol
|
|
160
|
+
]
|
|
161
|
+
)
|
|
162
|
+
end
|
|
163
|
+
def self.values
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
end
|
|
@@ -146,6 +146,7 @@ module Anthropic
|
|
|
146
146
|
Anthropic::Beta::BetaServerToolCaller::OrHash,
|
|
147
147
|
Anthropic::Beta::BetaServerToolCaller20260120::OrHash
|
|
148
148
|
),
|
|
149
|
+
toolset_name: T.nilable(String),
|
|
149
150
|
content:
|
|
150
151
|
T.any(
|
|
151
152
|
T.any(
|
|
@@ -234,6 +235,8 @@ module Anthropic
|
|
|
234
235
|
name: nil,
|
|
235
236
|
# Tool invocation directly from the model.
|
|
236
237
|
caller_: nil,
|
|
238
|
+
# For a toolset member tool_use, the toolset family.
|
|
239
|
+
toolset_name: nil,
|
|
237
240
|
# Code execution result with encrypted stdout for PFC + web_search results.
|
|
238
241
|
content: nil,
|
|
239
242
|
tool_use_id: nil,
|
|
@@ -19,7 +19,7 @@ module Anthropic
|
|
|
19
19
|
sig { returns(Anthropic::Beta::BetaSkill::Type::TaggedSymbol) }
|
|
20
20
|
attr_accessor :type
|
|
21
21
|
|
|
22
|
-
#
|
|
22
|
+
# The resolved version: a skill version ID for custom skills.
|
|
23
23
|
sig { returns(String) }
|
|
24
24
|
attr_accessor :version
|
|
25
25
|
|
|
@@ -36,7 +36,7 @@ module Anthropic
|
|
|
36
36
|
skill_id:,
|
|
37
37
|
# Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
|
|
38
38
|
type:,
|
|
39
|
-
#
|
|
39
|
+
# The resolved version: a skill version ID for custom skills.
|
|
40
40
|
version:
|
|
41
41
|
)
|
|
42
42
|
end
|
|
@@ -55,6 +55,10 @@ module Anthropic
|
|
|
55
55
|
sig { params(is_error: T::Boolean).void }
|
|
56
56
|
attr_writer :is_error
|
|
57
57
|
|
|
58
|
+
# For a toolset member tool_result, the toolset family of the paired tool_use.
|
|
59
|
+
sig { returns(T.nilable(String)) }
|
|
60
|
+
attr_accessor :toolset_name
|
|
61
|
+
|
|
58
62
|
sig do
|
|
59
63
|
params(
|
|
60
64
|
tool_use_id: String,
|
|
@@ -63,6 +67,7 @@ module Anthropic
|
|
|
63
67
|
content:
|
|
64
68
|
Anthropic::Beta::BetaToolResultBlockParam::Content::Variants,
|
|
65
69
|
is_error: T::Boolean,
|
|
70
|
+
toolset_name: T.nilable(String),
|
|
66
71
|
type: Symbol
|
|
67
72
|
).returns(T.attached_class)
|
|
68
73
|
end
|
|
@@ -72,6 +77,8 @@ module Anthropic
|
|
|
72
77
|
cache_control: nil,
|
|
73
78
|
content: nil,
|
|
74
79
|
is_error: nil,
|
|
80
|
+
# For a toolset member tool_result, the toolset family of the paired tool_use.
|
|
81
|
+
toolset_name: nil,
|
|
75
82
|
type: :tool_result
|
|
76
83
|
)
|
|
77
84
|
end
|
|
@@ -85,7 +92,8 @@ module Anthropic
|
|
|
85
92
|
T.nilable(Anthropic::Beta::BetaCacheControlEphemeral),
|
|
86
93
|
content:
|
|
87
94
|
Anthropic::Beta::BetaToolResultBlockParam::Content::Variants,
|
|
88
|
-
is_error: T::Boolean
|
|
95
|
+
is_error: T::Boolean,
|
|
96
|
+
toolset_name: T.nilable(String)
|
|
89
97
|
}
|
|
90
98
|
)
|
|
91
99
|
end
|
|
@@ -116,7 +124,8 @@ module Anthropic
|
|
|
116
124
|
Anthropic::Beta::BetaImageBlockParam,
|
|
117
125
|
Anthropic::Beta::BetaSearchResultBlockParam,
|
|
118
126
|
Anthropic::Beta::BetaRequestDocumentBlock,
|
|
119
|
-
Anthropic::Beta::BetaToolReferenceBlockParam
|
|
127
|
+
Anthropic::Beta::BetaToolReferenceBlockParam,
|
|
128
|
+
Anthropic::Beta::BetaBrowserStateBlockParam
|
|
120
129
|
)
|
|
121
130
|
end
|
|
122
131
|
|
|
@@ -170,10 +179,27 @@ module Anthropic
|
|
|
170
179
|
Anthropic::Beta::BetaFileDocumentSource::OrHash
|
|
171
180
|
)
|
|
172
181
|
),
|
|
182
|
+
transformations:
|
|
183
|
+
T.nilable(
|
|
184
|
+
Anthropic::Beta::BetaImageTransformationsParam::OrHash
|
|
185
|
+
),
|
|
173
186
|
content: T::Array[Anthropic::Beta::BetaTextBlockParam::OrHash],
|
|
174
187
|
title: T.any(String, T.nilable(String)),
|
|
175
188
|
context: T.nilable(String),
|
|
176
|
-
tool_name: String
|
|
189
|
+
tool_name: String,
|
|
190
|
+
tabs:
|
|
191
|
+
T::Array[Anthropic::Beta::BetaBrowserStateTabEntry::OrHash],
|
|
192
|
+
state_changes:
|
|
193
|
+
T.nilable(
|
|
194
|
+
T::Array[
|
|
195
|
+
T.any(
|
|
196
|
+
Anthropic::Beta::BetaBrowserStateChangeTabOpened::OrHash,
|
|
197
|
+
Anthropic::Beta::BetaBrowserStateChangeDownloadStarted::OrHash,
|
|
198
|
+
Anthropic::Beta::BetaBrowserStateChangeDownloadCompleted::OrHash,
|
|
199
|
+
Anthropic::Beta::BetaBrowserStateChangeDownloadFailed::OrHash
|
|
200
|
+
)
|
|
201
|
+
]
|
|
202
|
+
)
|
|
177
203
|
).returns(
|
|
178
204
|
Anthropic::Beta::BetaToolResultBlockParam::Content::Content::Variants
|
|
179
205
|
)
|
|
@@ -185,10 +211,21 @@ module Anthropic
|
|
|
185
211
|
cache_control: nil,
|
|
186
212
|
citations: nil,
|
|
187
213
|
source: nil,
|
|
214
|
+
# Configures the transformations the server applies to this image before the model
|
|
215
|
+
# observes it. Each key names a condition the server transforms images for; its
|
|
216
|
+
# value selects the transformation applied. Omitted keys keep their default
|
|
217
|
+
# behavior, and an empty object is equivalent to omitting the field.
|
|
218
|
+
transformations: nil,
|
|
188
219
|
content: nil,
|
|
189
220
|
title: nil,
|
|
190
221
|
context: nil,
|
|
191
|
-
tool_name: nil
|
|
222
|
+
tool_name: nil,
|
|
223
|
+
# All tabs open in the browser after this call — the full inventory, not a delta.
|
|
224
|
+
# May be empty. Whenever non-empty, exactly one entry carries `active: true`.
|
|
225
|
+
tabs: nil,
|
|
226
|
+
# Tabs opened and download state changes during this call. "Nothing to report" is
|
|
227
|
+
# expressed by omitting the field, never by an empty list.
|
|
228
|
+
state_changes: nil
|
|
192
229
|
)
|
|
193
230
|
end
|
|
194
231
|
end
|
|
@@ -20,11 +20,13 @@ module Anthropic
|
|
|
20
20
|
Anthropic::Beta::BetaCodeExecutionTool20250825,
|
|
21
21
|
Anthropic::Beta::BetaCodeExecutionTool20260120,
|
|
22
22
|
Anthropic::Beta::BetaCodeExecutionTool20260521,
|
|
23
|
+
Anthropic::Beta::BetaBrowserToolset20260801,
|
|
23
24
|
Anthropic::Beta::BetaToolComputerUse20241022,
|
|
24
25
|
Anthropic::Beta::BetaMemoryTool20250818,
|
|
25
26
|
Anthropic::Beta::BetaToolComputerUse20250124,
|
|
26
27
|
Anthropic::Beta::BetaToolTextEditor20241022,
|
|
27
28
|
Anthropic::Beta::BetaToolComputerUse20251124,
|
|
29
|
+
Anthropic::Beta::BetaComputerToolset20260801,
|
|
28
30
|
Anthropic::Beta::BetaToolTextEditor20250124,
|
|
29
31
|
Anthropic::Beta::BetaToolTextEditor20250429,
|
|
30
32
|
Anthropic::Beta::BetaToolTextEditor20250728,
|
|
@@ -46,6 +46,10 @@ module Anthropic
|
|
|
46
46
|
end
|
|
47
47
|
attr_writer :caller_
|
|
48
48
|
|
|
49
|
+
# For a toolset member tool_use, the toolset family.
|
|
50
|
+
sig { returns(T.nilable(String)) }
|
|
51
|
+
attr_accessor :toolset_name
|
|
52
|
+
|
|
49
53
|
sig do
|
|
50
54
|
params(
|
|
51
55
|
id: String,
|
|
@@ -57,6 +61,7 @@ module Anthropic
|
|
|
57
61
|
Anthropic::Beta::BetaServerToolCaller::OrHash,
|
|
58
62
|
Anthropic::Beta::BetaServerToolCaller20260120::OrHash
|
|
59
63
|
),
|
|
64
|
+
toolset_name: T.nilable(String),
|
|
60
65
|
type: Symbol
|
|
61
66
|
).returns(T.attached_class)
|
|
62
67
|
end
|
|
@@ -66,6 +71,8 @@ module Anthropic
|
|
|
66
71
|
name:,
|
|
67
72
|
# Tool invocation directly from the model.
|
|
68
73
|
caller_: nil,
|
|
74
|
+
# For a toolset member tool_use, the toolset family.
|
|
75
|
+
toolset_name: nil,
|
|
69
76
|
type: :tool_use
|
|
70
77
|
)
|
|
71
78
|
end
|
|
@@ -77,7 +84,8 @@ module Anthropic
|
|
|
77
84
|
input: T::Hash[Symbol, T.anything],
|
|
78
85
|
name: String,
|
|
79
86
|
type: Symbol,
|
|
80
|
-
caller_: Anthropic::Beta::BetaToolUseBlock::Caller::Variants
|
|
87
|
+
caller_: Anthropic::Beta::BetaToolUseBlock::Caller::Variants,
|
|
88
|
+
toolset_name: T.nilable(String)
|
|
81
89
|
}
|
|
82
90
|
)
|
|
83
91
|
end
|
|
@@ -64,6 +64,10 @@ module Anthropic
|
|
|
64
64
|
end
|
|
65
65
|
attr_writer :caller_
|
|
66
66
|
|
|
67
|
+
# For a toolset member tool_use, the toolset family this member belongs to.
|
|
68
|
+
sig { returns(T.nilable(String)) }
|
|
69
|
+
attr_accessor :toolset_name
|
|
70
|
+
|
|
67
71
|
sig do
|
|
68
72
|
params(
|
|
69
73
|
id: String,
|
|
@@ -77,6 +81,7 @@ module Anthropic
|
|
|
77
81
|
Anthropic::Beta::BetaServerToolCaller::OrHash,
|
|
78
82
|
Anthropic::Beta::BetaServerToolCaller20260120::OrHash
|
|
79
83
|
),
|
|
84
|
+
toolset_name: T.nilable(String),
|
|
80
85
|
type: Symbol
|
|
81
86
|
).returns(T.attached_class)
|
|
82
87
|
end
|
|
@@ -88,6 +93,8 @@ module Anthropic
|
|
|
88
93
|
cache_control: nil,
|
|
89
94
|
# Tool invocation directly from the model.
|
|
90
95
|
caller_: nil,
|
|
96
|
+
# For a toolset member tool_use, the toolset family this member belongs to.
|
|
97
|
+
toolset_name: nil,
|
|
91
98
|
type: :tool_use
|
|
92
99
|
)
|
|
93
100
|
end
|
|
@@ -106,7 +113,8 @@ module Anthropic
|
|
|
106
113
|
Anthropic::Beta::BetaDirectCaller,
|
|
107
114
|
Anthropic::Beta::BetaServerToolCaller,
|
|
108
115
|
Anthropic::Beta::BetaServerToolCaller20260120
|
|
109
|
-
)
|
|
116
|
+
),
|
|
117
|
+
toolset_name: T.nilable(String)
|
|
110
118
|
}
|
|
111
119
|
)
|
|
112
120
|
end
|
|
@@ -349,11 +349,13 @@ module Anthropic
|
|
|
349
349
|
Anthropic::Beta::BetaCodeExecutionTool20250825,
|
|
350
350
|
Anthropic::Beta::BetaCodeExecutionTool20260120,
|
|
351
351
|
Anthropic::Beta::BetaCodeExecutionTool20260521,
|
|
352
|
+
Anthropic::Beta::BetaBrowserToolset20260801,
|
|
352
353
|
Anthropic::Beta::BetaToolComputerUse20241022,
|
|
353
354
|
Anthropic::Beta::BetaMemoryTool20250818,
|
|
354
355
|
Anthropic::Beta::BetaToolComputerUse20250124,
|
|
355
356
|
Anthropic::Beta::BetaToolTextEditor20241022,
|
|
356
357
|
Anthropic::Beta::BetaToolComputerUse20251124,
|
|
358
|
+
Anthropic::Beta::BetaComputerToolset20260801,
|
|
357
359
|
Anthropic::Beta::BetaToolTextEditor20250124,
|
|
358
360
|
Anthropic::Beta::BetaToolTextEditor20250429,
|
|
359
361
|
Anthropic::Beta::BetaToolTextEditor20250728,
|
|
@@ -387,11 +389,13 @@ module Anthropic
|
|
|
387
389
|
Anthropic::Beta::BetaCodeExecutionTool20250825::OrHash,
|
|
388
390
|
Anthropic::Beta::BetaCodeExecutionTool20260120::OrHash,
|
|
389
391
|
Anthropic::Beta::BetaCodeExecutionTool20260521::OrHash,
|
|
392
|
+
Anthropic::Beta::BetaBrowserToolset20260801::OrHash,
|
|
390
393
|
Anthropic::Beta::BetaToolComputerUse20241022::OrHash,
|
|
391
394
|
Anthropic::Beta::BetaMemoryTool20250818::OrHash,
|
|
392
395
|
Anthropic::Beta::BetaToolComputerUse20250124::OrHash,
|
|
393
396
|
Anthropic::Beta::BetaToolTextEditor20241022::OrHash,
|
|
394
397
|
Anthropic::Beta::BetaToolComputerUse20251124::OrHash,
|
|
398
|
+
Anthropic::Beta::BetaComputerToolset20260801::OrHash,
|
|
395
399
|
Anthropic::Beta::BetaToolTextEditor20250124::OrHash,
|
|
396
400
|
Anthropic::Beta::BetaToolTextEditor20250429::OrHash,
|
|
397
401
|
Anthropic::Beta::BetaToolTextEditor20250728::OrHash,
|
|
@@ -481,11 +485,13 @@ module Anthropic
|
|
|
481
485
|
Anthropic::Beta::BetaCodeExecutionTool20250825::OrHash,
|
|
482
486
|
Anthropic::Beta::BetaCodeExecutionTool20260120::OrHash,
|
|
483
487
|
Anthropic::Beta::BetaCodeExecutionTool20260521::OrHash,
|
|
488
|
+
Anthropic::Beta::BetaBrowserToolset20260801::OrHash,
|
|
484
489
|
Anthropic::Beta::BetaToolComputerUse20241022::OrHash,
|
|
485
490
|
Anthropic::Beta::BetaMemoryTool20250818::OrHash,
|
|
486
491
|
Anthropic::Beta::BetaToolComputerUse20250124::OrHash,
|
|
487
492
|
Anthropic::Beta::BetaToolTextEditor20241022::OrHash,
|
|
488
493
|
Anthropic::Beta::BetaToolComputerUse20251124::OrHash,
|
|
494
|
+
Anthropic::Beta::BetaComputerToolset20260801::OrHash,
|
|
489
495
|
Anthropic::Beta::BetaToolTextEditor20250124::OrHash,
|
|
490
496
|
Anthropic::Beta::BetaToolTextEditor20250429::OrHash,
|
|
491
497
|
Anthropic::Beta::BetaToolTextEditor20250728::OrHash,
|
|
@@ -750,11 +756,13 @@ module Anthropic
|
|
|
750
756
|
Anthropic::Beta::BetaCodeExecutionTool20250825,
|
|
751
757
|
Anthropic::Beta::BetaCodeExecutionTool20260120,
|
|
752
758
|
Anthropic::Beta::BetaCodeExecutionTool20260521,
|
|
759
|
+
Anthropic::Beta::BetaBrowserToolset20260801,
|
|
753
760
|
Anthropic::Beta::BetaToolComputerUse20241022,
|
|
754
761
|
Anthropic::Beta::BetaMemoryTool20250818,
|
|
755
762
|
Anthropic::Beta::BetaToolComputerUse20250124,
|
|
756
763
|
Anthropic::Beta::BetaToolTextEditor20241022,
|
|
757
764
|
Anthropic::Beta::BetaToolComputerUse20251124,
|
|
765
|
+
Anthropic::Beta::BetaComputerToolset20260801,
|
|
758
766
|
Anthropic::Beta::BetaToolTextEditor20250124,
|
|
759
767
|
Anthropic::Beta::BetaToolTextEditor20250429,
|
|
760
768
|
Anthropic::Beta::BetaToolTextEditor20250728,
|
|
@@ -862,11 +870,13 @@ module Anthropic
|
|
|
862
870
|
Anthropic::Beta::BetaCodeExecutionTool20250825,
|
|
863
871
|
Anthropic::Beta::BetaCodeExecutionTool20260120,
|
|
864
872
|
Anthropic::Beta::BetaCodeExecutionTool20260521,
|
|
873
|
+
Anthropic::Beta::BetaBrowserToolset20260801,
|
|
865
874
|
Anthropic::Beta::BetaToolComputerUse20241022,
|
|
866
875
|
Anthropic::Beta::BetaMemoryTool20250818,
|
|
867
876
|
Anthropic::Beta::BetaToolComputerUse20250124,
|
|
868
877
|
Anthropic::Beta::BetaToolTextEditor20241022,
|
|
869
878
|
Anthropic::Beta::BetaToolComputerUse20251124,
|
|
879
|
+
Anthropic::Beta::BetaComputerToolset20260801,
|
|
870
880
|
Anthropic::Beta::BetaToolTextEditor20250124,
|
|
871
881
|
Anthropic::Beta::BetaToolTextEditor20250429,
|
|
872
882
|
Anthropic::Beta::BetaToolTextEditor20250728,
|
|
@@ -486,11 +486,13 @@ module Anthropic
|
|
|
486
486
|
Anthropic::Beta::BetaCodeExecutionTool20250825,
|
|
487
487
|
Anthropic::Beta::BetaCodeExecutionTool20260120,
|
|
488
488
|
Anthropic::Beta::BetaCodeExecutionTool20260521,
|
|
489
|
+
Anthropic::Beta::BetaBrowserToolset20260801,
|
|
489
490
|
Anthropic::Beta::BetaToolComputerUse20241022,
|
|
490
491
|
Anthropic::Beta::BetaMemoryTool20250818,
|
|
491
492
|
Anthropic::Beta::BetaToolComputerUse20250124,
|
|
492
493
|
Anthropic::Beta::BetaToolTextEditor20241022,
|
|
493
494
|
Anthropic::Beta::BetaToolComputerUse20251124,
|
|
495
|
+
Anthropic::Beta::BetaComputerToolset20260801,
|
|
494
496
|
Anthropic::Beta::BetaToolTextEditor20250124,
|
|
495
497
|
Anthropic::Beta::BetaToolTextEditor20250429,
|
|
496
498
|
Anthropic::Beta::BetaToolTextEditor20250728,
|
|
@@ -524,11 +526,13 @@ module Anthropic
|
|
|
524
526
|
Anthropic::Beta::BetaCodeExecutionTool20250825::OrHash,
|
|
525
527
|
Anthropic::Beta::BetaCodeExecutionTool20260120::OrHash,
|
|
526
528
|
Anthropic::Beta::BetaCodeExecutionTool20260521::OrHash,
|
|
529
|
+
Anthropic::Beta::BetaBrowserToolset20260801::OrHash,
|
|
527
530
|
Anthropic::Beta::BetaToolComputerUse20241022::OrHash,
|
|
528
531
|
Anthropic::Beta::BetaMemoryTool20250818::OrHash,
|
|
529
532
|
Anthropic::Beta::BetaToolComputerUse20250124::OrHash,
|
|
530
533
|
Anthropic::Beta::BetaToolTextEditor20241022::OrHash,
|
|
531
534
|
Anthropic::Beta::BetaToolComputerUse20251124::OrHash,
|
|
535
|
+
Anthropic::Beta::BetaComputerToolset20260801::OrHash,
|
|
532
536
|
Anthropic::Beta::BetaToolTextEditor20250124::OrHash,
|
|
533
537
|
Anthropic::Beta::BetaToolTextEditor20250429::OrHash,
|
|
534
538
|
Anthropic::Beta::BetaToolTextEditor20250728::OrHash,
|
|
@@ -667,11 +671,13 @@ module Anthropic
|
|
|
667
671
|
Anthropic::Beta::BetaCodeExecutionTool20250825::OrHash,
|
|
668
672
|
Anthropic::Beta::BetaCodeExecutionTool20260120::OrHash,
|
|
669
673
|
Anthropic::Beta::BetaCodeExecutionTool20260521::OrHash,
|
|
674
|
+
Anthropic::Beta::BetaBrowserToolset20260801::OrHash,
|
|
670
675
|
Anthropic::Beta::BetaToolComputerUse20241022::OrHash,
|
|
671
676
|
Anthropic::Beta::BetaMemoryTool20250818::OrHash,
|
|
672
677
|
Anthropic::Beta::BetaToolComputerUse20250124::OrHash,
|
|
673
678
|
Anthropic::Beta::BetaToolTextEditor20241022::OrHash,
|
|
674
679
|
Anthropic::Beta::BetaToolComputerUse20251124::OrHash,
|
|
680
|
+
Anthropic::Beta::BetaComputerToolset20260801::OrHash,
|
|
675
681
|
Anthropic::Beta::BetaToolTextEditor20250124::OrHash,
|
|
676
682
|
Anthropic::Beta::BetaToolTextEditor20250429::OrHash,
|
|
677
683
|
Anthropic::Beta::BetaToolTextEditor20250728::OrHash,
|
|
@@ -1044,11 +1050,13 @@ module Anthropic
|
|
|
1044
1050
|
Anthropic::Beta::BetaCodeExecutionTool20250825,
|
|
1045
1051
|
Anthropic::Beta::BetaCodeExecutionTool20260120,
|
|
1046
1052
|
Anthropic::Beta::BetaCodeExecutionTool20260521,
|
|
1053
|
+
Anthropic::Beta::BetaBrowserToolset20260801,
|
|
1047
1054
|
Anthropic::Beta::BetaToolComputerUse20241022,
|
|
1048
1055
|
Anthropic::Beta::BetaMemoryTool20250818,
|
|
1049
1056
|
Anthropic::Beta::BetaToolComputerUse20250124,
|
|
1050
1057
|
Anthropic::Beta::BetaToolTextEditor20241022,
|
|
1051
1058
|
Anthropic::Beta::BetaToolComputerUse20251124,
|
|
1059
|
+
Anthropic::Beta::BetaComputerToolset20260801,
|
|
1052
1060
|
Anthropic::Beta::BetaToolTextEditor20250124,
|
|
1053
1061
|
Anthropic::Beta::BetaToolTextEditor20250429,
|
|
1054
1062
|
Anthropic::Beta::BetaToolTextEditor20250728,
|
|
@@ -673,11 +673,13 @@ module Anthropic
|
|
|
673
673
|
Anthropic::Beta::BetaCodeExecutionTool20250825,
|
|
674
674
|
Anthropic::Beta::BetaCodeExecutionTool20260120,
|
|
675
675
|
Anthropic::Beta::BetaCodeExecutionTool20260521,
|
|
676
|
+
Anthropic::Beta::BetaBrowserToolset20260801,
|
|
676
677
|
Anthropic::Beta::BetaToolComputerUse20241022,
|
|
677
678
|
Anthropic::Beta::BetaMemoryTool20250818,
|
|
678
679
|
Anthropic::Beta::BetaToolComputerUse20250124,
|
|
679
680
|
Anthropic::Beta::BetaToolTextEditor20241022,
|
|
680
681
|
Anthropic::Beta::BetaToolComputerUse20251124,
|
|
682
|
+
Anthropic::Beta::BetaComputerToolset20260801,
|
|
681
683
|
Anthropic::Beta::BetaToolTextEditor20250124,
|
|
682
684
|
Anthropic::Beta::BetaToolTextEditor20250429,
|
|
683
685
|
Anthropic::Beta::BetaToolTextEditor20250728,
|
|
@@ -711,11 +713,13 @@ module Anthropic
|
|
|
711
713
|
Anthropic::Beta::BetaCodeExecutionTool20250825::OrHash,
|
|
712
714
|
Anthropic::Beta::BetaCodeExecutionTool20260120::OrHash,
|
|
713
715
|
Anthropic::Beta::BetaCodeExecutionTool20260521::OrHash,
|
|
716
|
+
Anthropic::Beta::BetaBrowserToolset20260801::OrHash,
|
|
714
717
|
Anthropic::Beta::BetaToolComputerUse20241022::OrHash,
|
|
715
718
|
Anthropic::Beta::BetaMemoryTool20250818::OrHash,
|
|
716
719
|
Anthropic::Beta::BetaToolComputerUse20250124::OrHash,
|
|
717
720
|
Anthropic::Beta::BetaToolTextEditor20241022::OrHash,
|
|
718
721
|
Anthropic::Beta::BetaToolComputerUse20251124::OrHash,
|
|
722
|
+
Anthropic::Beta::BetaComputerToolset20260801::OrHash,
|
|
719
723
|
Anthropic::Beta::BetaToolTextEditor20250124::OrHash,
|
|
720
724
|
Anthropic::Beta::BetaToolTextEditor20250429::OrHash,
|
|
721
725
|
Anthropic::Beta::BetaToolTextEditor20250728::OrHash,
|
|
@@ -845,11 +849,13 @@ module Anthropic
|
|
|
845
849
|
Anthropic::Beta::BetaCodeExecutionTool20250825::OrHash,
|
|
846
850
|
Anthropic::Beta::BetaCodeExecutionTool20260120::OrHash,
|
|
847
851
|
Anthropic::Beta::BetaCodeExecutionTool20260521::OrHash,
|
|
852
|
+
Anthropic::Beta::BetaBrowserToolset20260801::OrHash,
|
|
848
853
|
Anthropic::Beta::BetaToolComputerUse20241022::OrHash,
|
|
849
854
|
Anthropic::Beta::BetaMemoryTool20250818::OrHash,
|
|
850
855
|
Anthropic::Beta::BetaToolComputerUse20250124::OrHash,
|
|
851
856
|
Anthropic::Beta::BetaToolTextEditor20241022::OrHash,
|
|
852
857
|
Anthropic::Beta::BetaToolComputerUse20251124::OrHash,
|
|
858
|
+
Anthropic::Beta::BetaComputerToolset20260801::OrHash,
|
|
853
859
|
Anthropic::Beta::BetaToolTextEditor20250124::OrHash,
|
|
854
860
|
Anthropic::Beta::BetaToolTextEditor20250429::OrHash,
|
|
855
861
|
Anthropic::Beta::BetaToolTextEditor20250728::OrHash,
|
|
@@ -1232,11 +1238,13 @@ module Anthropic
|
|
|
1232
1238
|
Anthropic::Beta::BetaCodeExecutionTool20250825,
|
|
1233
1239
|
Anthropic::Beta::BetaCodeExecutionTool20260120,
|
|
1234
1240
|
Anthropic::Beta::BetaCodeExecutionTool20260521,
|
|
1241
|
+
Anthropic::Beta::BetaBrowserToolset20260801,
|
|
1235
1242
|
Anthropic::Beta::BetaToolComputerUse20241022,
|
|
1236
1243
|
Anthropic::Beta::BetaMemoryTool20250818,
|
|
1237
1244
|
Anthropic::Beta::BetaToolComputerUse20250124,
|
|
1238
1245
|
Anthropic::Beta::BetaToolTextEditor20241022,
|
|
1239
1246
|
Anthropic::Beta::BetaToolComputerUse20251124,
|
|
1247
|
+
Anthropic::Beta::BetaComputerToolset20260801,
|
|
1240
1248
|
Anthropic::Beta::BetaToolTextEditor20250124,
|
|
1241
1249
|
Anthropic::Beta::BetaToolTextEditor20250429,
|
|
1242
1250
|
Anthropic::Beta::BetaToolTextEditor20250728,
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
class BrowserCloseTabConfig < Anthropic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Anthropic::BrowserCloseTabConfig, Anthropic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Defer loading for this member. Must resolve to the same value on every enabled
|
|
12
|
+
# member of the toolset.
|
|
13
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
14
|
+
attr_accessor :defer_loading
|
|
15
|
+
|
|
16
|
+
# Whether this member is offered to the model. Default is per member, per the
|
|
17
|
+
# toolset's documentation. A member whose enabled resolves false is withheld from
|
|
18
|
+
# the served schema.
|
|
19
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
20
|
+
attr_accessor :enabled
|
|
21
|
+
|
|
22
|
+
# `close_tab`'s config overrides.
|
|
23
|
+
sig do
|
|
24
|
+
params(
|
|
25
|
+
defer_loading: T.nilable(T::Boolean),
|
|
26
|
+
enabled: T.nilable(T::Boolean)
|
|
27
|
+
).returns(T.attached_class)
|
|
28
|
+
end
|
|
29
|
+
def self.new(
|
|
30
|
+
# Defer loading for this member. Must resolve to the same value on every enabled
|
|
31
|
+
# member of the toolset.
|
|
32
|
+
defer_loading: nil,
|
|
33
|
+
# Whether this member is offered to the model. Default is per member, per the
|
|
34
|
+
# toolset's documentation. A member whose enabled resolves false is withheld from
|
|
35
|
+
# the served schema.
|
|
36
|
+
enabled: nil
|
|
37
|
+
)
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
sig do
|
|
41
|
+
override.returns(
|
|
42
|
+
{
|
|
43
|
+
defer_loading: T.nilable(T::Boolean),
|
|
44
|
+
enabled: T.nilable(T::Boolean)
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
end
|
|
48
|
+
def to_hash
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|