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,62 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserStateChangeDownloadCompleted < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute download_id
|
|
8
|
+
# The caller-assigned identifier for this download, stable across the state
|
|
9
|
+
# changes reporting it.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :download_id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute type
|
|
15
|
+
#
|
|
16
|
+
# @return [Symbol, :download_completed]
|
|
17
|
+
required :type, const: :download_completed
|
|
18
|
+
|
|
19
|
+
# @!attribute url
|
|
20
|
+
# The final post-redirect URL the download was served from.
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
required :url, String
|
|
24
|
+
|
|
25
|
+
# @!attribute path
|
|
26
|
+
# Where the executor saved the file, on the executor's filesystem. Only included
|
|
27
|
+
# when another tool in the same environment can read the file at that path.
|
|
28
|
+
#
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
optional :path, String, nil?: true
|
|
31
|
+
|
|
32
|
+
# @!attribute size_bytes
|
|
33
|
+
# The completed download's size.
|
|
34
|
+
#
|
|
35
|
+
# @return [Integer, nil]
|
|
36
|
+
optional :size_bytes, Integer, nil?: true
|
|
37
|
+
|
|
38
|
+
# @!method initialize(download_id:, url:, path: nil, size_bytes: nil, type: :download_completed)
|
|
39
|
+
# A file download that finished during this call, reported with the same
|
|
40
|
+
# `download_id` as its `download_started` — or without a prior `download_started`,
|
|
41
|
+
# when the download finished during the call that started it (at most one state
|
|
42
|
+
# change per `download_id` per result).
|
|
43
|
+
#
|
|
44
|
+
# Some parameter documentations has been truncated, see
|
|
45
|
+
# {Anthropic::Models::Beta::BetaBrowserStateChangeDownloadCompleted} for more
|
|
46
|
+
# details.
|
|
47
|
+
#
|
|
48
|
+
# @param download_id [String] The caller-assigned identifier for this download, stable across the state change
|
|
49
|
+
#
|
|
50
|
+
# @param url [String] The final post-redirect URL the download was served from.
|
|
51
|
+
#
|
|
52
|
+
# @param path [String, nil] Where the executor saved the file, on the executor's filesystem. Only included w
|
|
53
|
+
#
|
|
54
|
+
# @param size_bytes [Integer, nil] The completed download's size.
|
|
55
|
+
#
|
|
56
|
+
# @param type [Symbol, :download_completed]
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
BetaBrowserStateChangeDownloadCompleted = Beta::BetaBrowserStateChangeDownloadCompleted
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserStateChangeDownloadFailed < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute download_id
|
|
8
|
+
# The caller-assigned identifier for this download, stable across the state
|
|
9
|
+
# changes reporting it.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :download_id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute type
|
|
15
|
+
#
|
|
16
|
+
# @return [Symbol, :download_failed]
|
|
17
|
+
required :type, const: :download_failed
|
|
18
|
+
|
|
19
|
+
# @!attribute url
|
|
20
|
+
# The final post-redirect URL the download was served from.
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
required :url, String
|
|
24
|
+
|
|
25
|
+
# @!attribute error
|
|
26
|
+
# The failure or cancellation detail, when known.
|
|
27
|
+
#
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :error, String, nil?: true
|
|
30
|
+
|
|
31
|
+
# @!method initialize(download_id:, url:, error: nil, type: :download_failed)
|
|
32
|
+
# A file download that failed — or was cancelled — during this call.
|
|
33
|
+
#
|
|
34
|
+
# Some parameter documentations has been truncated, see
|
|
35
|
+
# {Anthropic::Models::Beta::BetaBrowserStateChangeDownloadFailed} for more
|
|
36
|
+
# details.
|
|
37
|
+
#
|
|
38
|
+
# @param download_id [String] The caller-assigned identifier for this download, stable across the state change
|
|
39
|
+
#
|
|
40
|
+
# @param url [String] The final post-redirect URL the download was served from.
|
|
41
|
+
#
|
|
42
|
+
# @param error [String, nil] The failure or cancellation detail, when known.
|
|
43
|
+
#
|
|
44
|
+
# @param type [Symbol, :download_failed]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
BetaBrowserStateChangeDownloadFailed = Beta::BetaBrowserStateChangeDownloadFailed
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserStateChangeDownloadStarted < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute download_id
|
|
8
|
+
# The caller-assigned identifier for this download, stable across the state
|
|
9
|
+
# changes reporting it.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :download_id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute type
|
|
15
|
+
#
|
|
16
|
+
# @return [Symbol, :download_started]
|
|
17
|
+
required :type, const: :download_started
|
|
18
|
+
|
|
19
|
+
# @!attribute url
|
|
20
|
+
# The final post-redirect URL the download was served from.
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
required :url, String
|
|
24
|
+
|
|
25
|
+
# @!method initialize(download_id:, url:, type: :download_started)
|
|
26
|
+
# A file download that started during this call.
|
|
27
|
+
#
|
|
28
|
+
# Some parameter documentations has been truncated, see
|
|
29
|
+
# {Anthropic::Models::Beta::BetaBrowserStateChangeDownloadStarted} for more
|
|
30
|
+
# details.
|
|
31
|
+
#
|
|
32
|
+
# @param download_id [String] The caller-assigned identifier for this download, stable across the state change
|
|
33
|
+
#
|
|
34
|
+
# @param url [String] The final post-redirect URL the download was served from.
|
|
35
|
+
#
|
|
36
|
+
# @param type [Symbol, :download_started]
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
BetaBrowserStateChangeDownloadStarted = Beta::BetaBrowserStateChangeDownloadStarted
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserStateChangeTabOpened < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute tab_id
|
|
8
|
+
# The `tab_id` of the opened tab, present in `tabs`.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :tab_id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :tab_opened]
|
|
16
|
+
required :type, const: :tab_opened
|
|
17
|
+
|
|
18
|
+
# @!method initialize(tab_id:, type: :tab_opened)
|
|
19
|
+
# A tab this call's execution opened that remains open at its end — the creation
|
|
20
|
+
# delta of the `tabs` inventory, not an event log.
|
|
21
|
+
#
|
|
22
|
+
# Carries only the `tab_id`; the tab's `title` and `url` live on its `tabs` entry,
|
|
23
|
+
# which must include the same `tab_id`. A tab opened during a failed call gets no
|
|
24
|
+
# deferred `tab_opened`; it simply appears in the next result's `tabs` inventory.
|
|
25
|
+
#
|
|
26
|
+
# @param tab_id [String] The `tab_id` of the opened tab, present in `tabs`.
|
|
27
|
+
#
|
|
28
|
+
# @param type [Symbol, :tab_opened]
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
BetaBrowserStateChangeTabOpened = Beta::BetaBrowserStateChangeTabOpened
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserStateTabEntry < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute tab_id
|
|
8
|
+
# The caller-assigned identifier for this tab, unique within the inventory.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :tab_id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute title
|
|
14
|
+
# The title of the page the tab is showing. May be empty.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
required :title, String
|
|
18
|
+
|
|
19
|
+
# @!attribute url
|
|
20
|
+
# The URL of the page the tab is showing. May be empty.
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
required :url, String
|
|
24
|
+
|
|
25
|
+
# @!attribute active
|
|
26
|
+
# Whether this tab is the active tab after this call. Whenever `tabs` is
|
|
27
|
+
# non-empty, exactly one entry is marked `active: true`.
|
|
28
|
+
#
|
|
29
|
+
# @return [Boolean, nil]
|
|
30
|
+
optional :active, Anthropic::Internal::Type::Boolean
|
|
31
|
+
|
|
32
|
+
# @!method initialize(tab_id:, title:, url:, active: nil)
|
|
33
|
+
# One open browser tab reported in a `browser_state` block's `tabs` inventory.
|
|
34
|
+
#
|
|
35
|
+
# `tab_id` is the caller-assigned identifier for the tab; `title` and `url`
|
|
36
|
+
# describe the page the tab is currently showing and may be empty strings (a blank
|
|
37
|
+
# tab legitimately has both empty). `active` marks the tab that is active after
|
|
38
|
+
# this call; whenever `tabs` is non-empty, exactly one entry is marked.
|
|
39
|
+
#
|
|
40
|
+
# Some parameter documentations has been truncated, see
|
|
41
|
+
# {Anthropic::Models::Beta::BetaBrowserStateTabEntry} for more details.
|
|
42
|
+
#
|
|
43
|
+
# @param tab_id [String] The caller-assigned identifier for this tab, unique within the inventory.
|
|
44
|
+
#
|
|
45
|
+
# @param title [String] The title of the page the tab is showing. May be empty.
|
|
46
|
+
#
|
|
47
|
+
# @param url [String] The URL of the page the tab is showing. May be empty.
|
|
48
|
+
#
|
|
49
|
+
# @param active [Boolean] Whether this tab is the active tab after this call. Whenever `tabs` is non-empty
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
BetaBrowserStateTabEntry = Beta::BetaBrowserStateTabEntry
|
|
54
|
+
end
|
|
55
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserSwitchTabConfig < 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
|
+
# `switch_tab`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserSwitchTabConfig} 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
|
+
BetaBrowserSwitchTabConfig = Beta::BetaBrowserSwitchTabConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserToolset20260801 < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, :browser_toolset_20260801]
|
|
10
|
+
required :type, const: :browser_toolset_20260801
|
|
11
|
+
|
|
12
|
+
# @!attribute allowed_callers
|
|
13
|
+
#
|
|
14
|
+
# @return [Array<Symbol, Anthropic::Models::Beta::BetaBrowserToolset20260801::AllowedCaller>, nil]
|
|
15
|
+
optional :allowed_callers,
|
|
16
|
+
-> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::BetaBrowserToolset20260801::AllowedCaller] }
|
|
17
|
+
|
|
18
|
+
# @!attribute cache_control
|
|
19
|
+
# Create a cache control breakpoint at this content block.
|
|
20
|
+
#
|
|
21
|
+
# @return [Anthropic::Models::Beta::BetaCacheControlEphemeral, nil]
|
|
22
|
+
optional :cache_control, -> { Anthropic::Beta::BetaCacheControlEphemeral }, nil?: true
|
|
23
|
+
|
|
24
|
+
# @!attribute configs
|
|
25
|
+
# Per-member configuration for `browser_toolset_20260801`: one optional field per
|
|
26
|
+
# member tool, keyed by the member name — the same name the member's `tool_use`
|
|
27
|
+
# blocks carry. Every member is an accepted key, and a member's defaults apply
|
|
28
|
+
# wherever its key is absent. Unknown keys are rejected: the field set is this
|
|
29
|
+
# toolset version's complete member set.
|
|
30
|
+
#
|
|
31
|
+
# @return [Anthropic::Models::Beta::BetaBrowserToolsetConfigs, nil]
|
|
32
|
+
optional :configs, -> { Anthropic::Beta::BetaBrowserToolsetConfigs }, nil?: true
|
|
33
|
+
|
|
34
|
+
# @!method initialize(allowed_callers: nil, cache_control: nil, configs: nil, type: :browser_toolset_20260801)
|
|
35
|
+
# The browser toolset: a single `tools[]` entry (carrying no `name`) that declares
|
|
36
|
+
# the browser tool family. The model is served the family's tool with any members
|
|
37
|
+
# disabled via `configs` removed from its schema.
|
|
38
|
+
#
|
|
39
|
+
# Some parameter documentations has been truncated, see
|
|
40
|
+
# {Anthropic::Models::Beta::BetaBrowserToolset20260801} for more details.
|
|
41
|
+
#
|
|
42
|
+
# @param allowed_callers [Array<Symbol, Anthropic::Models::Beta::BetaBrowserToolset20260801::AllowedCaller>]
|
|
43
|
+
#
|
|
44
|
+
# @param cache_control [Anthropic::Models::Beta::BetaCacheControlEphemeral, nil] Create a cache control breakpoint at this content block.
|
|
45
|
+
#
|
|
46
|
+
# @param configs [Anthropic::Models::Beta::BetaBrowserToolsetConfigs, nil] Per-member configuration for `browser_toolset_20260801`: one
|
|
47
|
+
#
|
|
48
|
+
# @param type [Symbol, :browser_toolset_20260801]
|
|
49
|
+
|
|
50
|
+
# Specifies who can invoke a tool.
|
|
51
|
+
#
|
|
52
|
+
# Values: direct: The model can call this tool directly. code_execution_20250825:
|
|
53
|
+
# The tool can be called from the code execution environment (v1).
|
|
54
|
+
# code_execution_20260120: The tool can be called from the code execution
|
|
55
|
+
# environment (v2 with persistence). code_execution_20260521: The tool can be
|
|
56
|
+
# called from the code execution environment (v2 with persistence).
|
|
57
|
+
module AllowedCaller
|
|
58
|
+
extend Anthropic::Internal::Type::Enum
|
|
59
|
+
|
|
60
|
+
DIRECT = :direct
|
|
61
|
+
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
62
|
+
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
63
|
+
CODE_EXECUTION_20260521 = :code_execution_20260521
|
|
64
|
+
|
|
65
|
+
# @!method self.values
|
|
66
|
+
# @return [Array<Symbol>]
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
BetaBrowserToolset20260801 = Beta::BetaBrowserToolset20260801
|
|
72
|
+
end
|
|
73
|
+
end
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserToolsetConfigs < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute close_tab
|
|
8
|
+
# `close_tab`'s config overrides.
|
|
9
|
+
#
|
|
10
|
+
# @return [Anthropic::Models::Beta::BetaBrowserCloseTabConfig, nil]
|
|
11
|
+
optional :close_tab, -> { Anthropic::Beta::BetaBrowserCloseTabConfig }, nil?: true
|
|
12
|
+
|
|
13
|
+
# @!attribute double_click
|
|
14
|
+
# `double_click`'s config overrides.
|
|
15
|
+
#
|
|
16
|
+
# @return [Anthropic::Models::Beta::BetaBrowserDoubleClickConfig, nil]
|
|
17
|
+
optional :double_click, -> { Anthropic::Beta::BetaBrowserDoubleClickConfig }, nil?: true
|
|
18
|
+
|
|
19
|
+
# @!attribute file_upload
|
|
20
|
+
# `file_upload`'s config overrides.
|
|
21
|
+
#
|
|
22
|
+
# @return [Anthropic::Models::Beta::BetaBrowserFileUploadConfig, nil]
|
|
23
|
+
optional :file_upload, -> { Anthropic::Beta::BetaBrowserFileUploadConfig }, nil?: true
|
|
24
|
+
|
|
25
|
+
# @!attribute find
|
|
26
|
+
# `find`'s config overrides.
|
|
27
|
+
#
|
|
28
|
+
# @return [Anthropic::Models::Beta::BetaBrowserFindConfig, nil]
|
|
29
|
+
optional :find, -> { Anthropic::Beta::BetaBrowserFindConfig }, nil?: true
|
|
30
|
+
|
|
31
|
+
# @!attribute form_input
|
|
32
|
+
# `form_input`'s config overrides.
|
|
33
|
+
#
|
|
34
|
+
# @return [Anthropic::Models::Beta::BetaBrowserFormInputConfig, nil]
|
|
35
|
+
optional :form_input, -> { Anthropic::Beta::BetaBrowserFormInputConfig }, nil?: true
|
|
36
|
+
|
|
37
|
+
# @!attribute get_page_text
|
|
38
|
+
# `get_page_text`'s config overrides.
|
|
39
|
+
#
|
|
40
|
+
# @return [Anthropic::Models::Beta::BetaBrowserGetPageTextConfig, nil]
|
|
41
|
+
optional :get_page_text, -> { Anthropic::Beta::BetaBrowserGetPageTextConfig }, nil?: true
|
|
42
|
+
|
|
43
|
+
# @!attribute hold_key
|
|
44
|
+
# `hold_key`'s config overrides.
|
|
45
|
+
#
|
|
46
|
+
# @return [Anthropic::Models::Beta::BetaBrowserHoldKeyConfig, nil]
|
|
47
|
+
optional :hold_key, -> { Anthropic::Beta::BetaBrowserHoldKeyConfig }, nil?: true
|
|
48
|
+
|
|
49
|
+
# @!attribute hover
|
|
50
|
+
# `hover`'s config overrides.
|
|
51
|
+
#
|
|
52
|
+
# @return [Anthropic::Models::Beta::BetaBrowserHoverConfig, nil]
|
|
53
|
+
optional :hover, -> { Anthropic::Beta::BetaBrowserHoverConfig }, nil?: true
|
|
54
|
+
|
|
55
|
+
# @!attribute javascript_exec
|
|
56
|
+
# `javascript_exec`'s config overrides.
|
|
57
|
+
#
|
|
58
|
+
# @return [Anthropic::Models::Beta::BetaBrowserJavascriptExecConfig, nil]
|
|
59
|
+
optional :javascript_exec, -> { Anthropic::Beta::BetaBrowserJavascriptExecConfig }, nil?: true
|
|
60
|
+
|
|
61
|
+
# @!attribute key
|
|
62
|
+
# `key`'s config overrides.
|
|
63
|
+
#
|
|
64
|
+
# @return [Anthropic::Models::Beta::BetaBrowserKeyConfig, nil]
|
|
65
|
+
optional :key, -> { Anthropic::Beta::BetaBrowserKeyConfig }, nil?: true
|
|
66
|
+
|
|
67
|
+
# @!attribute left_click
|
|
68
|
+
# `left_click`'s config overrides.
|
|
69
|
+
#
|
|
70
|
+
# @return [Anthropic::Models::Beta::BetaBrowserLeftClickConfig, nil]
|
|
71
|
+
optional :left_click, -> { Anthropic::Beta::BetaBrowserLeftClickConfig }, nil?: true
|
|
72
|
+
|
|
73
|
+
# @!attribute left_click_drag
|
|
74
|
+
# `left_click_drag`'s config overrides.
|
|
75
|
+
#
|
|
76
|
+
# @return [Anthropic::Models::Beta::BetaBrowserLeftClickDragConfig, nil]
|
|
77
|
+
optional :left_click_drag, -> { Anthropic::Beta::BetaBrowserLeftClickDragConfig }, nil?: true
|
|
78
|
+
|
|
79
|
+
# @!attribute left_mouse_down
|
|
80
|
+
# `left_mouse_down`'s config overrides.
|
|
81
|
+
#
|
|
82
|
+
# @return [Anthropic::Models::Beta::BetaBrowserLeftMouseDownConfig, nil]
|
|
83
|
+
optional :left_mouse_down, -> { Anthropic::Beta::BetaBrowserLeftMouseDownConfig }, nil?: true
|
|
84
|
+
|
|
85
|
+
# @!attribute left_mouse_up
|
|
86
|
+
# `left_mouse_up`'s config overrides.
|
|
87
|
+
#
|
|
88
|
+
# @return [Anthropic::Models::Beta::BetaBrowserLeftMouseUpConfig, nil]
|
|
89
|
+
optional :left_mouse_up, -> { Anthropic::Beta::BetaBrowserLeftMouseUpConfig }, nil?: true
|
|
90
|
+
|
|
91
|
+
# @!attribute list_tabs
|
|
92
|
+
# `list_tabs`'s config overrides.
|
|
93
|
+
#
|
|
94
|
+
# @return [Anthropic::Models::Beta::BetaBrowserListTabsConfig, nil]
|
|
95
|
+
optional :list_tabs, -> { Anthropic::Beta::BetaBrowserListTabsConfig }, nil?: true
|
|
96
|
+
|
|
97
|
+
# @!attribute middle_click
|
|
98
|
+
# `middle_click`'s config overrides.
|
|
99
|
+
#
|
|
100
|
+
# @return [Anthropic::Models::Beta::BetaBrowserMiddleClickConfig, nil]
|
|
101
|
+
optional :middle_click, -> { Anthropic::Beta::BetaBrowserMiddleClickConfig }, nil?: true
|
|
102
|
+
|
|
103
|
+
# @!attribute mouse_move
|
|
104
|
+
# `mouse_move`'s config overrides.
|
|
105
|
+
#
|
|
106
|
+
# @return [Anthropic::Models::Beta::BetaBrowserMouseMoveConfig, nil]
|
|
107
|
+
optional :mouse_move, -> { Anthropic::Beta::BetaBrowserMouseMoveConfig }, nil?: true
|
|
108
|
+
|
|
109
|
+
# @!attribute navigate
|
|
110
|
+
# `navigate`'s config overrides.
|
|
111
|
+
#
|
|
112
|
+
# @return [Anthropic::Models::Beta::BetaBrowserNavigateConfig, nil]
|
|
113
|
+
optional :navigate, -> { Anthropic::Beta::BetaBrowserNavigateConfig }, nil?: true
|
|
114
|
+
|
|
115
|
+
# @!attribute new_tab
|
|
116
|
+
# `new_tab`'s config overrides.
|
|
117
|
+
#
|
|
118
|
+
# @return [Anthropic::Models::Beta::BetaBrowserNewTabConfig, nil]
|
|
119
|
+
optional :new_tab, -> { Anthropic::Beta::BetaBrowserNewTabConfig }, nil?: true
|
|
120
|
+
|
|
121
|
+
# @!attribute read_console
|
|
122
|
+
# `read_console`'s config overrides.
|
|
123
|
+
#
|
|
124
|
+
# @return [Anthropic::Models::Beta::BetaBrowserReadConsoleConfig, nil]
|
|
125
|
+
optional :read_console, -> { Anthropic::Beta::BetaBrowserReadConsoleConfig }, nil?: true
|
|
126
|
+
|
|
127
|
+
# @!attribute read_network
|
|
128
|
+
# `read_network`'s config overrides.
|
|
129
|
+
#
|
|
130
|
+
# @return [Anthropic::Models::Beta::BetaBrowserReadNetworkConfig, nil]
|
|
131
|
+
optional :read_network, -> { Anthropic::Beta::BetaBrowserReadNetworkConfig }, nil?: true
|
|
132
|
+
|
|
133
|
+
# @!attribute read_page
|
|
134
|
+
# `read_page`'s config overrides.
|
|
135
|
+
#
|
|
136
|
+
# @return [Anthropic::Models::Beta::BetaBrowserReadPageConfig, nil]
|
|
137
|
+
optional :read_page, -> { Anthropic::Beta::BetaBrowserReadPageConfig }, nil?: true
|
|
138
|
+
|
|
139
|
+
# @!attribute right_click
|
|
140
|
+
# `right_click`'s config overrides.
|
|
141
|
+
#
|
|
142
|
+
# @return [Anthropic::Models::Beta::BetaBrowserRightClickConfig, nil]
|
|
143
|
+
optional :right_click, -> { Anthropic::Beta::BetaBrowserRightClickConfig }, nil?: true
|
|
144
|
+
|
|
145
|
+
# @!attribute screenshot
|
|
146
|
+
# `screenshot`'s config overrides.
|
|
147
|
+
#
|
|
148
|
+
# @return [Anthropic::Models::Beta::BetaBrowserScreenshotConfig, nil]
|
|
149
|
+
optional :screenshot, -> { Anthropic::Beta::BetaBrowserScreenshotConfig }, nil?: true
|
|
150
|
+
|
|
151
|
+
# @!attribute scroll
|
|
152
|
+
# `scroll`'s config overrides.
|
|
153
|
+
#
|
|
154
|
+
# @return [Anthropic::Models::Beta::BetaBrowserScrollConfig, nil]
|
|
155
|
+
optional :scroll, -> { Anthropic::Beta::BetaBrowserScrollConfig }, nil?: true
|
|
156
|
+
|
|
157
|
+
# @!attribute scroll_to
|
|
158
|
+
# `scroll_to`'s config overrides.
|
|
159
|
+
#
|
|
160
|
+
# @return [Anthropic::Models::Beta::BetaBrowserScrollToConfig, nil]
|
|
161
|
+
optional :scroll_to, -> { Anthropic::Beta::BetaBrowserScrollToConfig }, nil?: true
|
|
162
|
+
|
|
163
|
+
# @!attribute switch_tab
|
|
164
|
+
# `switch_tab`'s config overrides.
|
|
165
|
+
#
|
|
166
|
+
# @return [Anthropic::Models::Beta::BetaBrowserSwitchTabConfig, nil]
|
|
167
|
+
optional :switch_tab, -> { Anthropic::Beta::BetaBrowserSwitchTabConfig }, nil?: true
|
|
168
|
+
|
|
169
|
+
# @!attribute triple_click
|
|
170
|
+
# `triple_click`'s config overrides.
|
|
171
|
+
#
|
|
172
|
+
# @return [Anthropic::Models::Beta::BetaBrowserTripleClickConfig, nil]
|
|
173
|
+
optional :triple_click, -> { Anthropic::Beta::BetaBrowserTripleClickConfig }, nil?: true
|
|
174
|
+
|
|
175
|
+
# @!attribute type
|
|
176
|
+
# `type`'s config overrides.
|
|
177
|
+
#
|
|
178
|
+
# @return [Anthropic::Models::Beta::BetaBrowserTypeConfig, nil]
|
|
179
|
+
optional :type, -> { Anthropic::Beta::BetaBrowserTypeConfig }, nil?: true
|
|
180
|
+
|
|
181
|
+
# @!attribute wait
|
|
182
|
+
# `wait`'s config overrides.
|
|
183
|
+
#
|
|
184
|
+
# @return [Anthropic::Models::Beta::BetaBrowserWaitConfig, nil]
|
|
185
|
+
optional :wait, -> { Anthropic::Beta::BetaBrowserWaitConfig }, nil?: true
|
|
186
|
+
|
|
187
|
+
# @!attribute zoom
|
|
188
|
+
# `zoom`'s config overrides.
|
|
189
|
+
#
|
|
190
|
+
# @return [Anthropic::Models::Beta::BetaBrowserZoomConfig, nil]
|
|
191
|
+
optional :zoom, -> { Anthropic::Beta::BetaBrowserZoomConfig }, nil?: true
|
|
192
|
+
|
|
193
|
+
# @!method initialize(close_tab: nil, double_click: nil, file_upload: nil, find: nil, form_input: nil, get_page_text: nil, hold_key: nil, hover: nil, javascript_exec: nil, key: nil, left_click: nil, left_click_drag: nil, left_mouse_down: nil, left_mouse_up: nil, list_tabs: nil, middle_click: nil, mouse_move: nil, navigate: nil, new_tab: nil, read_console: nil, read_network: nil, read_page: nil, right_click: nil, screenshot: nil, scroll: nil, scroll_to: nil, switch_tab: nil, triple_click: nil, type: nil, wait: nil, zoom: nil)
|
|
194
|
+
# Per-member configuration for `browser_toolset_20260801`: one optional field per
|
|
195
|
+
# member tool, keyed by the member name — the same name the member's `tool_use`
|
|
196
|
+
# blocks carry. Every member is an accepted key, and a member's defaults apply
|
|
197
|
+
# wherever its key is absent. Unknown keys are rejected: the field set is this
|
|
198
|
+
# toolset version's complete member set.
|
|
199
|
+
#
|
|
200
|
+
# @param close_tab [Anthropic::Models::Beta::BetaBrowserCloseTabConfig, nil] `close_tab`'s config overrides.
|
|
201
|
+
#
|
|
202
|
+
# @param double_click [Anthropic::Models::Beta::BetaBrowserDoubleClickConfig, nil] `double_click`'s config overrides.
|
|
203
|
+
#
|
|
204
|
+
# @param file_upload [Anthropic::Models::Beta::BetaBrowserFileUploadConfig, nil] `file_upload`'s config overrides.
|
|
205
|
+
#
|
|
206
|
+
# @param find [Anthropic::Models::Beta::BetaBrowserFindConfig, nil] `find`'s config overrides.
|
|
207
|
+
#
|
|
208
|
+
# @param form_input [Anthropic::Models::Beta::BetaBrowserFormInputConfig, nil] `form_input`'s config overrides.
|
|
209
|
+
#
|
|
210
|
+
# @param get_page_text [Anthropic::Models::Beta::BetaBrowserGetPageTextConfig, nil] `get_page_text`'s config overrides.
|
|
211
|
+
#
|
|
212
|
+
# @param hold_key [Anthropic::Models::Beta::BetaBrowserHoldKeyConfig, nil] `hold_key`'s config overrides.
|
|
213
|
+
#
|
|
214
|
+
# @param hover [Anthropic::Models::Beta::BetaBrowserHoverConfig, nil] `hover`'s config overrides.
|
|
215
|
+
#
|
|
216
|
+
# @param javascript_exec [Anthropic::Models::Beta::BetaBrowserJavascriptExecConfig, nil] `javascript_exec`'s config overrides.
|
|
217
|
+
#
|
|
218
|
+
# @param key [Anthropic::Models::Beta::BetaBrowserKeyConfig, nil] `key`'s config overrides.
|
|
219
|
+
#
|
|
220
|
+
# @param left_click [Anthropic::Models::Beta::BetaBrowserLeftClickConfig, nil] `left_click`'s config overrides.
|
|
221
|
+
#
|
|
222
|
+
# @param left_click_drag [Anthropic::Models::Beta::BetaBrowserLeftClickDragConfig, nil] `left_click_drag`'s config overrides.
|
|
223
|
+
#
|
|
224
|
+
# @param left_mouse_down [Anthropic::Models::Beta::BetaBrowserLeftMouseDownConfig, nil] `left_mouse_down`'s config overrides.
|
|
225
|
+
#
|
|
226
|
+
# @param left_mouse_up [Anthropic::Models::Beta::BetaBrowserLeftMouseUpConfig, nil] `left_mouse_up`'s config overrides.
|
|
227
|
+
#
|
|
228
|
+
# @param list_tabs [Anthropic::Models::Beta::BetaBrowserListTabsConfig, nil] `list_tabs`'s config overrides.
|
|
229
|
+
#
|
|
230
|
+
# @param middle_click [Anthropic::Models::Beta::BetaBrowserMiddleClickConfig, nil] `middle_click`'s config overrides.
|
|
231
|
+
#
|
|
232
|
+
# @param mouse_move [Anthropic::Models::Beta::BetaBrowserMouseMoveConfig, nil] `mouse_move`'s config overrides.
|
|
233
|
+
#
|
|
234
|
+
# @param navigate [Anthropic::Models::Beta::BetaBrowserNavigateConfig, nil] `navigate`'s config overrides.
|
|
235
|
+
#
|
|
236
|
+
# @param new_tab [Anthropic::Models::Beta::BetaBrowserNewTabConfig, nil] `new_tab`'s config overrides.
|
|
237
|
+
#
|
|
238
|
+
# @param read_console [Anthropic::Models::Beta::BetaBrowserReadConsoleConfig, nil] `read_console`'s config overrides.
|
|
239
|
+
#
|
|
240
|
+
# @param read_network [Anthropic::Models::Beta::BetaBrowserReadNetworkConfig, nil] `read_network`'s config overrides.
|
|
241
|
+
#
|
|
242
|
+
# @param read_page [Anthropic::Models::Beta::BetaBrowserReadPageConfig, nil] `read_page`'s config overrides.
|
|
243
|
+
#
|
|
244
|
+
# @param right_click [Anthropic::Models::Beta::BetaBrowserRightClickConfig, nil] `right_click`'s config overrides.
|
|
245
|
+
#
|
|
246
|
+
# @param screenshot [Anthropic::Models::Beta::BetaBrowserScreenshotConfig, nil] `screenshot`'s config overrides.
|
|
247
|
+
#
|
|
248
|
+
# @param scroll [Anthropic::Models::Beta::BetaBrowserScrollConfig, nil] `scroll`'s config overrides.
|
|
249
|
+
#
|
|
250
|
+
# @param scroll_to [Anthropic::Models::Beta::BetaBrowserScrollToConfig, nil] `scroll_to`'s config overrides.
|
|
251
|
+
#
|
|
252
|
+
# @param switch_tab [Anthropic::Models::Beta::BetaBrowserSwitchTabConfig, nil] `switch_tab`'s config overrides.
|
|
253
|
+
#
|
|
254
|
+
# @param triple_click [Anthropic::Models::Beta::BetaBrowserTripleClickConfig, nil] `triple_click`'s config overrides.
|
|
255
|
+
#
|
|
256
|
+
# @param type [Anthropic::Models::Beta::BetaBrowserTypeConfig, nil] `type`'s config overrides.
|
|
257
|
+
#
|
|
258
|
+
# @param wait [Anthropic::Models::Beta::BetaBrowserWaitConfig, nil] `wait`'s config overrides.
|
|
259
|
+
#
|
|
260
|
+
# @param zoom [Anthropic::Models::Beta::BetaBrowserZoomConfig, nil] `zoom`'s config overrides.
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
BetaBrowserToolsetConfigs = Beta::BetaBrowserToolsetConfigs
|
|
265
|
+
end
|
|
266
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserTripleClickConfig < 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::BetaBrowserTripleClickConfig} 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
|
+
BetaBrowserTripleClickConfig = Beta::BetaBrowserTripleClickConfig
|
|
35
|
+
end
|
|
36
|
+
end
|