anthropic 1.63.0 → 1.64.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 +8 -0
- 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/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_raw_content_block_start_event.rb +2 -0
- 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 +151 -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/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_raw_content_block_start_event.rbi +3 -0
- 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/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_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 +454 -7
- data/sig/anthropic/models/beta/deleted_file.rbs +0 -38
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad0ef5c32d9d691658af3ae03447f5b7f95fc6e465289ee7ed16241291eead35
|
|
4
|
+
data.tar.gz: b0416a43c72a856f25de648b7c80fab4d39ac47e90b806371b3a528859a247c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a8808ba9f011ef4edd886a228ba9703173c24aaaa32382943ce2419cb9567ebc0ea2a0e192f309379b08c374e11976636ca497a94917d0d7f2d25f6e0e024be
|
|
7
|
+
data.tar.gz: f530d3910184fea8dbc75a79367d0e5d07b3a42fbf556a2a2e84d2a295d36f4b9797966e572402f03790f7bc13f7b4398fa9f5446cfc54fc38fc169f9ed54fe6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.64.0 (2026-08-19)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.63.0...v1.64.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.63.0...v1.64.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Files and Skills APIs are now GA; add computer use and browser use toolsets ([6878cd5](https://github.com/anthropics/anthropic-sdk-ruby/commit/6878cd5099c99f5dc8e600ec71a40b9194d384d7))
|
|
10
|
+
|
|
3
11
|
## 1.63.0 (2026-08-18)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.62.0...v1.63.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.62.0...v1.63.0)
|
data/README.md
CHANGED
data/lib/anthropic/client.rb
CHANGED
|
@@ -76,6 +76,12 @@ module Anthropic
|
|
|
76
76
|
# @return [Anthropic::Resources::Models]
|
|
77
77
|
attr_reader :models
|
|
78
78
|
|
|
79
|
+
# @return [Anthropic::Resources::Files]
|
|
80
|
+
attr_reader :files
|
|
81
|
+
|
|
82
|
+
# @return [Anthropic::Resources::Skills]
|
|
83
|
+
attr_reader :skills
|
|
84
|
+
|
|
79
85
|
# @return [Anthropic::Resources::Beta]
|
|
80
86
|
attr_reader :beta
|
|
81
87
|
|
|
@@ -283,6 +289,8 @@ module Anthropic
|
|
|
283
289
|
@completions = Anthropic::Resources::Completions.new(client: self)
|
|
284
290
|
@messages = Anthropic::Resources::Messages.new(client: self)
|
|
285
291
|
@models = Anthropic::Resources::Models.new(client: self)
|
|
292
|
+
@files = Anthropic::Resources::Files.new(client: self)
|
|
293
|
+
@skills = Anthropic::Resources::Skills.new(client: self)
|
|
286
294
|
@beta = Anthropic::Resources::Beta.new(client: self)
|
|
287
295
|
end
|
|
288
296
|
|
|
@@ -155,6 +155,14 @@ module Anthropic
|
|
|
155
155
|
raise NotImplementedError.new(message)
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
+
def files
|
|
159
|
+
raise NotImplementedError, "Files are not supported on Bedrock."
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
def skills
|
|
163
|
+
raise NotImplementedError, "Skills are not supported on Bedrock."
|
|
164
|
+
end
|
|
165
|
+
|
|
158
166
|
# @api private
|
|
159
167
|
#
|
|
160
168
|
# @param req [Hash{Symbol=>Object}] .
|
|
@@ -113,6 +113,18 @@ module Anthropic
|
|
|
113
113
|
"Models listing is not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported."
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
+
# Files are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported.
|
|
117
|
+
def files
|
|
118
|
+
raise NotImplementedError,
|
|
119
|
+
"Files are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported."
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Skills are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported.
|
|
123
|
+
def skills
|
|
124
|
+
raise NotImplementedError,
|
|
125
|
+
"Skills are not supported on Bedrock Mantle. Only Messages (/v1/messages) is supported."
|
|
126
|
+
end
|
|
127
|
+
|
|
116
128
|
# @api private
|
|
117
129
|
#
|
|
118
130
|
# @return [#call]
|
|
@@ -127,6 +127,14 @@ module Anthropic
|
|
|
127
127
|
# @return [Boolean]
|
|
128
128
|
private def resolve_default_credentials? = false
|
|
129
129
|
|
|
130
|
+
def files
|
|
131
|
+
raise NotImplementedError, "Files are not supported on Vertex."
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
def skills
|
|
135
|
+
raise NotImplementedError, "Skills are not supported on Vertex."
|
|
136
|
+
end
|
|
137
|
+
|
|
130
138
|
# @api private
|
|
131
139
|
#
|
|
132
140
|
# @param req [Hash{Symbol=>Object}] .
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserCloseTabConfig < 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
|
+
# `close_tab`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserCloseTabConfig} 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
|
+
BetaBrowserCloseTabConfig = Beta::BetaBrowserCloseTabConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserDoubleClickConfig < 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
|
+
# `double_click`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserDoubleClickConfig} 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
|
+
BetaBrowserDoubleClickConfig = Beta::BetaBrowserDoubleClickConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserFileUploadConfig < 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
|
+
# `file_upload`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserFileUploadConfig} 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
|
+
BetaBrowserFileUploadConfig = Beta::BetaBrowserFileUploadConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserFindConfig < 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
|
+
# `find`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserFindConfig} 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
|
+
BetaBrowserFindConfig = Beta::BetaBrowserFindConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserFormInputConfig < 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
|
+
# `form_input`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserFormInputConfig} 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
|
+
BetaBrowserFormInputConfig = Beta::BetaBrowserFormInputConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserGetPageTextConfig < 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
|
+
# `get_page_text`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserGetPageTextConfig} 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
|
+
BetaBrowserGetPageTextConfig = Beta::BetaBrowserGetPageTextConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserHoldKeyConfig < 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
|
+
# `hold_key`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserHoldKeyConfig} 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
|
+
BetaBrowserHoldKeyConfig = Beta::BetaBrowserHoldKeyConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserHoverConfig < 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
|
+
# `hover`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserHoverConfig} 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
|
+
BetaBrowserHoverConfig = Beta::BetaBrowserHoverConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserJavascriptExecConfig < 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
|
+
# `javascript_exec`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserJavascriptExecConfig} 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
|
+
BetaBrowserJavascriptExecConfig = Beta::BetaBrowserJavascriptExecConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserKeyConfig < 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
|
+
# `key`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserKeyConfig} 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
|
+
BetaBrowserKeyConfig = Beta::BetaBrowserKeyConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserLeftClickConfig < 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
|
+
# `left_click`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserLeftClickConfig} 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
|
+
BetaBrowserLeftClickConfig = Beta::BetaBrowserLeftClickConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserLeftClickDragConfig < 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
|
+
# `left_click_drag`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserLeftClickDragConfig} 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
|
+
BetaBrowserLeftClickDragConfig = Beta::BetaBrowserLeftClickDragConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserLeftMouseDownConfig < 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
|
+
# `left_mouse_down`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserLeftMouseDownConfig} 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
|
+
BetaBrowserLeftMouseDownConfig = Beta::BetaBrowserLeftMouseDownConfig
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserLeftMouseUpConfig < 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
|
+
# `left_mouse_up`'s config overrides.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaBrowserLeftMouseUpConfig} 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
|
+
BetaBrowserLeftMouseUpConfig = Beta::BetaBrowserLeftMouseUpConfig
|
|
35
|
+
end
|
|
36
|
+
end
|