anthropic 1.76.0 → 1.77.1
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 +56 -0
- data/README.md +1 -1
- data/lib/anthropic/internal/util.rb +10 -1
- data/lib/anthropic/models/beta/agent_create_params.rb +4 -5
- data/lib/anthropic/models/beta/agent_update_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_browser_click_target.rb +67 -0
- data/lib/anthropic/models/beta/beta_browser_close_tab_input.rb +22 -0
- data/lib/anthropic/models/beta/beta_browser_close_tab_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_coordinate_target.rb +38 -0
- data/lib/anthropic/models/beta/beta_browser_double_click_input.rb +42 -0
- data/lib/anthropic/models/beta/beta_browser_double_click_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_file_upload_input.rb +53 -0
- data/lib/anthropic/models/beta/beta_browser_file_upload_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_find_input.rb +31 -0
- data/lib/anthropic/models/beta/beta_browser_find_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_form_input_input.rb +44 -0
- data/lib/anthropic/models/beta/beta_browser_form_input_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_form_input_value.rb +22 -0
- data/lib/anthropic/models/beta/beta_browser_get_page_text_input.rb +23 -0
- data/lib/anthropic/models/beta/beta_browser_get_page_text_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_hold_key_input.rb +39 -0
- data/lib/anthropic/models/beta/beta_browser_hold_key_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_hover_input.rb +30 -0
- data/lib/anthropic/models/beta/beta_browser_hover_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_javascript_exec_input.rb +32 -0
- data/lib/anthropic/models/beta/beta_browser_javascript_exec_tool_use_block.rb +63 -0
- data/lib/anthropic/models/beta/beta_browser_key_input.rb +41 -0
- data/lib/anthropic/models/beta/beta_browser_key_tool_use_block.rb +63 -0
- data/lib/anthropic/models/beta/beta_browser_left_click_drag_input.rb +43 -0
- data/lib/anthropic/models/beta/beta_browser_left_click_drag_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_left_click_input.rb +42 -0
- data/lib/anthropic/models/beta/beta_browser_left_click_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_left_mouse_down_input.rb +35 -0
- data/lib/anthropic/models/beta/beta_browser_left_mouse_down_tool_use_block.rb +62 -0
- data/lib/anthropic/models/beta/beta_browser_left_mouse_up_input.rb +34 -0
- data/lib/anthropic/models/beta/beta_browser_left_mouse_up_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_list_tabs_input.rb +14 -0
- data/lib/anthropic/models/beta/beta_browser_list_tabs_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_middle_click_input.rb +42 -0
- data/lib/anthropic/models/beta/beta_browser_middle_click_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_mouse_move_input.rb +34 -0
- data/lib/anthropic/models/beta/beta_browser_mouse_move_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_navigate_input.rb +34 -0
- data/lib/anthropic/models/beta/beta_browser_navigate_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_new_tab_input.rb +14 -0
- data/lib/anthropic/models/beta/beta_browser_new_tab_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_read_console_input.rb +24 -0
- data/lib/anthropic/models/beta/beta_browser_read_console_tool_use_block.rb +62 -0
- data/lib/anthropic/models/beta/beta_browser_read_network_input.rb +24 -0
- data/lib/anthropic/models/beta/beta_browser_read_network_tool_use_block.rb +62 -0
- data/lib/anthropic/models/beta/beta_browser_read_page_filter.rb +19 -0
- data/lib/anthropic/models/beta/beta_browser_read_page_input.rb +53 -0
- data/lib/anthropic/models/beta/beta_browser_read_page_tool_use_block.rb +63 -0
- data/lib/anthropic/models/beta/beta_browser_ref_target.rb +35 -0
- data/lib/anthropic/models/beta/beta_browser_right_click_input.rb +42 -0
- data/lib/anthropic/models/beta/beta_browser_right_click_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_screenshot_input.rb +22 -0
- data/lib/anthropic/models/beta/beta_browser_screenshot_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_scroll_direction.rb +21 -0
- data/lib/anthropic/models/beta/beta_browser_scroll_input.rb +49 -0
- data/lib/anthropic/models/beta/beta_browser_scroll_to_input.rb +35 -0
- data/lib/anthropic/models/beta/beta_browser_scroll_to_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_scroll_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_switch_tab_input.rb +23 -0
- data/lib/anthropic/models/beta/beta_browser_switch_tab_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_tool_use_block.rb +210 -0
- data/lib/anthropic/models/beta/beta_browser_triple_click_input.rb +43 -0
- data/lib/anthropic/models/beta/beta_browser_triple_click_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_browser_type_input.rb +30 -0
- data/lib/anthropic/models/beta/beta_browser_type_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_wait_input.rb +30 -0
- data/lib/anthropic/models/beta/beta_browser_wait_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_browser_zoom_input.rb +32 -0
- data/lib/anthropic/models/beta/beta_browser_zoom_tool_use_block.rb +62 -0
- data/lib/anthropic/models/beta/beta_computer_cursor_position_input.rb +14 -0
- data/lib/anthropic/models/beta/beta_computer_cursor_position_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_double_click_input.rb +35 -0
- data/lib/anthropic/models/beta/beta_computer_double_click_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_hold_key_input.rb +31 -0
- data/lib/anthropic/models/beta/beta_computer_hold_key_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_key_input.rb +34 -0
- data/lib/anthropic/models/beta/beta_computer_key_tool_use_block.rb +64 -0
- data/lib/anthropic/models/beta/beta_computer_left_click_drag_input.rb +42 -0
- data/lib/anthropic/models/beta/beta_computer_left_click_drag_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_left_click_input.rb +35 -0
- data/lib/anthropic/models/beta/beta_computer_left_click_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_left_mouse_down_input.rb +14 -0
- data/lib/anthropic/models/beta/beta_computer_left_mouse_down_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_left_mouse_up_input.rb +14 -0
- data/lib/anthropic/models/beta/beta_computer_left_mouse_up_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_computer_middle_click_input.rb +35 -0
- data/lib/anthropic/models/beta/beta_computer_middle_click_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_mouse_move_input.rb +23 -0
- data/lib/anthropic/models/beta/beta_computer_mouse_move_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_right_click_input.rb +35 -0
- data/lib/anthropic/models/beta/beta_computer_right_click_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_screenshot_input.rb +14 -0
- data/lib/anthropic/models/beta/beta_computer_screenshot_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_computer_scroll_direction.rb +21 -0
- data/lib/anthropic/models/beta/beta_computer_scroll_input.rb +51 -0
- data/lib/anthropic/models/beta/beta_computer_scroll_tool_use_block.rb +62 -0
- data/lib/anthropic/models/beta/beta_computer_tool_use_block.rb +140 -0
- data/lib/anthropic/models/beta/beta_computer_triple_click_input.rb +35 -0
- data/lib/anthropic/models/beta/beta_computer_triple_click_tool_use_block.rb +61 -0
- data/lib/anthropic/models/beta/beta_computer_type_input.rb +22 -0
- data/lib/anthropic/models/beta/beta_computer_type_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_computer_wait_input.rb +22 -0
- data/lib/anthropic/models/beta/beta_computer_wait_tool_use_block.rb +60 -0
- data/lib/anthropic/models/beta/beta_computer_zoom_input.rb +24 -0
- data/lib/anthropic/models/beta/beta_computer_zoom_tool_use_block.rb +62 -0
- data/lib/anthropic/models/beta/beta_managed_agents_advisor_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +5 -0
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +2 -0
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +5 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +13 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +9 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_all.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rb +37 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_none.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rb +36 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_shorthand.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_filter.rb +73 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_filter_params.rb +26 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_reference.rb +35 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_user_input.rb +55 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_user_input_params.rb +26 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rb +51 -0
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rb +57 -0
- data/lib/anthropic/models/beta/beta_model_capabilities.rb +17 -3
- data/lib/anthropic/models/beta/beta_model_info.rb +71 -1
- data/lib/anthropic/models/beta/beta_model_line.rb +24 -0
- data/lib/anthropic/models/beta/beta_server_tools_capability.rb +43 -0
- data/lib/anthropic/models/beta/beta_thinking_types.rb +22 -6
- data/lib/anthropic/models/beta/beta_tool_use_caller.rb +63 -0
- data/lib/anthropic/models/beta/beta_toolset_tool_use_block.rb +22 -0
- data/lib/anthropic/models/beta/model_list_params.rb +24 -1
- data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +16 -3
- data/lib/anthropic/models/beta/organization/federation/beta_federation_rule.rb +4 -3
- data/lib/anthropic/models/beta/organization/spend_limit_set_params.rb +9 -1
- data/lib/anthropic/models/beta/organization/workspace_list_params.rb +9 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +1 -1
- data/lib/anthropic/models/browser_click_target.rb +63 -0
- data/lib/anthropic/models/browser_close_tab_input.rb +18 -0
- data/lib/anthropic/models/browser_close_tab_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_coordinate_target.rb +34 -0
- data/lib/anthropic/models/browser_double_click_input.rb +38 -0
- data/lib/anthropic/models/browser_double_click_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_file_upload_input.rb +49 -0
- data/lib/anthropic/models/browser_file_upload_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_find_input.rb +27 -0
- data/lib/anthropic/models/browser_find_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_form_input_input.rb +40 -0
- data/lib/anthropic/models/browser_form_input_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_form_input_value.rb +18 -0
- data/lib/anthropic/models/browser_get_page_text_input.rb +19 -0
- data/lib/anthropic/models/browser_get_page_text_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_hold_key_input.rb +35 -0
- data/lib/anthropic/models/browser_hold_key_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_hover_input.rb +26 -0
- data/lib/anthropic/models/browser_hover_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_javascript_exec_input.rb +28 -0
- data/lib/anthropic/models/browser_javascript_exec_tool_use_block.rb +58 -0
- data/lib/anthropic/models/browser_key_input.rb +37 -0
- data/lib/anthropic/models/browser_key_tool_use_block.rb +59 -0
- data/lib/anthropic/models/browser_left_click_drag_input.rb +39 -0
- data/lib/anthropic/models/browser_left_click_drag_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_left_click_input.rb +38 -0
- data/lib/anthropic/models/browser_left_click_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_left_mouse_down_input.rb +31 -0
- data/lib/anthropic/models/browser_left_mouse_down_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_left_mouse_up_input.rb +30 -0
- data/lib/anthropic/models/browser_left_mouse_up_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_list_tabs_input.rb +10 -0
- data/lib/anthropic/models/browser_list_tabs_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_middle_click_input.rb +38 -0
- data/lib/anthropic/models/browser_middle_click_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_mouse_move_input.rb +30 -0
- data/lib/anthropic/models/browser_mouse_move_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_navigate_input.rb +30 -0
- data/lib/anthropic/models/browser_navigate_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_new_tab_input.rb +10 -0
- data/lib/anthropic/models/browser_new_tab_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_read_console_input.rb +20 -0
- data/lib/anthropic/models/browser_read_console_tool_use_block.rb +58 -0
- data/lib/anthropic/models/browser_read_network_input.rb +20 -0
- data/lib/anthropic/models/browser_read_network_tool_use_block.rb +58 -0
- data/lib/anthropic/models/browser_read_page_filter.rb +15 -0
- data/lib/anthropic/models/browser_read_page_input.rb +49 -0
- data/lib/anthropic/models/browser_read_page_tool_use_block.rb +59 -0
- data/lib/anthropic/models/browser_ref_target.rb +31 -0
- data/lib/anthropic/models/browser_right_click_input.rb +38 -0
- data/lib/anthropic/models/browser_right_click_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_screenshot_input.rb +18 -0
- data/lib/anthropic/models/browser_screenshot_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_scroll_direction.rb +17 -0
- data/lib/anthropic/models/browser_scroll_input.rb +45 -0
- data/lib/anthropic/models/browser_scroll_to_input.rb +31 -0
- data/lib/anthropic/models/browser_scroll_to_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_scroll_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_switch_tab_input.rb +19 -0
- data/lib/anthropic/models/browser_switch_tab_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_tool_use_block.rb +206 -0
- data/lib/anthropic/models/browser_triple_click_input.rb +39 -0
- data/lib/anthropic/models/browser_triple_click_tool_use_block.rb +57 -0
- data/lib/anthropic/models/browser_type_input.rb +26 -0
- data/lib/anthropic/models/browser_type_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_wait_input.rb +26 -0
- data/lib/anthropic/models/browser_wait_tool_use_block.rb +56 -0
- data/lib/anthropic/models/browser_zoom_input.rb +28 -0
- data/lib/anthropic/models/browser_zoom_tool_use_block.rb +58 -0
- data/lib/anthropic/models/computer_cursor_position_input.rb +10 -0
- data/lib/anthropic/models/computer_cursor_position_tool_use_block.rb +56 -0
- data/lib/anthropic/models/computer_double_click_input.rb +31 -0
- data/lib/anthropic/models/computer_double_click_tool_use_block.rb +57 -0
- data/lib/anthropic/models/computer_hold_key_input.rb +27 -0
- data/lib/anthropic/models/computer_hold_key_tool_use_block.rb +57 -0
- data/lib/anthropic/models/computer_key_input.rb +30 -0
- data/lib/anthropic/models/computer_key_tool_use_block.rb +60 -0
- data/lib/anthropic/models/computer_left_click_drag_input.rb +38 -0
- data/lib/anthropic/models/computer_left_click_drag_tool_use_block.rb +56 -0
- data/lib/anthropic/models/computer_left_click_input.rb +31 -0
- data/lib/anthropic/models/computer_left_click_tool_use_block.rb +57 -0
- data/lib/anthropic/models/computer_left_mouse_down_input.rb +10 -0
- data/lib/anthropic/models/computer_left_mouse_down_tool_use_block.rb +56 -0
- data/lib/anthropic/models/computer_left_mouse_up_input.rb +10 -0
- data/lib/anthropic/models/computer_left_mouse_up_tool_use_block.rb +56 -0
- data/lib/anthropic/models/computer_middle_click_input.rb +31 -0
- data/lib/anthropic/models/computer_middle_click_tool_use_block.rb +57 -0
- data/lib/anthropic/models/computer_mouse_move_input.rb +19 -0
- data/lib/anthropic/models/computer_mouse_move_tool_use_block.rb +57 -0
- data/lib/anthropic/models/computer_right_click_input.rb +31 -0
- data/lib/anthropic/models/computer_right_click_tool_use_block.rb +57 -0
- data/lib/anthropic/models/computer_screenshot_input.rb +10 -0
- data/lib/anthropic/models/computer_screenshot_tool_use_block.rb +56 -0
- data/lib/anthropic/models/computer_scroll_direction.rb +17 -0
- data/lib/anthropic/models/computer_scroll_input.rb +47 -0
- data/lib/anthropic/models/computer_scroll_tool_use_block.rb +58 -0
- data/lib/anthropic/models/computer_tool_use_block.rb +136 -0
- data/lib/anthropic/models/computer_triple_click_input.rb +31 -0
- data/lib/anthropic/models/computer_triple_click_tool_use_block.rb +57 -0
- data/lib/anthropic/models/computer_type_input.rb +18 -0
- data/lib/anthropic/models/computer_type_tool_use_block.rb +56 -0
- data/lib/anthropic/models/computer_wait_input.rb +18 -0
- data/lib/anthropic/models/computer_wait_tool_use_block.rb +56 -0
- data/lib/anthropic/models/computer_zoom_input.rb +20 -0
- data/lib/anthropic/models/computer_zoom_tool_use_block.rb +58 -0
- data/lib/anthropic/models/model.rb +5 -0
- data/lib/anthropic/models/model_capabilities.rb +20 -3
- data/lib/anthropic/models/model_info.rb +71 -1
- data/lib/anthropic/models/model_line.rb +20 -0
- data/lib/anthropic/models/model_list_params.rb +24 -1
- data/lib/anthropic/models/organization/federation/federation_rule.rb +4 -3
- data/lib/anthropic/models/organization/workspace_list_params.rb +9 -1
- data/lib/anthropic/models/server_tools_capability.rb +39 -0
- data/lib/anthropic/models/thinking_types.rb +22 -6
- data/lib/anthropic/models/tool_use_caller.rb +59 -0
- data/lib/anthropic/models/toolset_tool_use_block.rb +18 -0
- data/lib/anthropic/models.rb +218 -0
- data/lib/anthropic/resources/beta/agents.rb +2 -2
- data/lib/anthropic/resources/beta/messages.rb +4 -0
- data/lib/anthropic/resources/beta/models.rb +4 -2
- data/lib/anthropic/resources/beta/organization/analytics/summaries.rb +6 -7
- data/lib/anthropic/resources/beta/organization/rate_limits.rb +2 -2
- data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +2 -1
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +13 -7
- data/lib/anthropic/resources/beta/organization/workspaces.rb +3 -1
- data/lib/anthropic/resources/completions.rb +6 -0
- data/lib/anthropic/resources/models.rb +4 -2
- data/lib/anthropic/resources/organization/rate_limits.rb +2 -2
- data/lib/anthropic/resources/organization/workspaces.rb +3 -1
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +230 -0
- data/rbi/anthropic/models/beta/agent_create_params.rbi +4 -6
- data/rbi/anthropic/models/beta/agent_update_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_browser_click_target.rbi +83 -0
- data/rbi/anthropic/models/beta/beta_browser_close_tab_input.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_browser_close_tab_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_coordinate_target.rbi +50 -0
- data/rbi/anthropic/models/beta/beta_browser_double_click_input.rbi +67 -0
- data/rbi/anthropic/models/beta/beta_browser_double_click_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_browser_file_upload_input.rbi +81 -0
- data/rbi/anthropic/models/beta/beta_browser_file_upload_tool_use_block.rbi +104 -0
- data/rbi/anthropic/models/beta/beta_browser_find_input.rbi +46 -0
- data/rbi/anthropic/models/beta/beta_browser_find_tool_use_block.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_browser_form_input_input.rbi +71 -0
- data/rbi/anthropic/models/beta/beta_browser_form_input_tool_use_block.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_browser_form_input_value.rbi +23 -0
- data/rbi/anthropic/models/beta/beta_browser_get_page_text_input.rbi +36 -0
- data/rbi/anthropic/models/beta/beta_browser_get_page_text_tool_use_block.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_browser_hold_key_input.rbi +58 -0
- data/rbi/anthropic/models/beta/beta_browser_hold_key_tool_use_block.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_browser_hover_input.rbi +57 -0
- data/rbi/anthropic/models/beta/beta_browser_hover_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_javascript_exec_input.rbi +47 -0
- data/rbi/anthropic/models/beta/beta_browser_javascript_exec_tool_use_block.rbi +107 -0
- data/rbi/anthropic/models/beta/beta_browser_key_input.rbi +64 -0
- data/rbi/anthropic/models/beta/beta_browser_key_tool_use_block.rbi +104 -0
- data/rbi/anthropic/models/beta/beta_browser_left_click_drag_input.rbi +79 -0
- data/rbi/anthropic/models/beta/beta_browser_left_click_drag_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_browser_left_click_input.rbi +67 -0
- data/rbi/anthropic/models/beta/beta_browser_left_click_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_left_mouse_down_input.rbi +63 -0
- data/rbi/anthropic/models/beta/beta_browser_left_mouse_down_tool_use_block.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_browser_left_mouse_up_input.rbi +62 -0
- data/rbi/anthropic/models/beta/beta_browser_left_mouse_up_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_browser_list_tabs_input.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_browser_list_tabs_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_middle_click_input.rbi +67 -0
- data/rbi/anthropic/models/beta/beta_browser_middle_click_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_browser_mouse_move_input.rbi +62 -0
- data/rbi/anthropic/models/beta/beta_browser_mouse_move_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_navigate_input.rbi +46 -0
- data/rbi/anthropic/models/beta/beta_browser_navigate_tool_use_block.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_browser_new_tab_input.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_browser_new_tab_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_read_console_input.rbi +37 -0
- data/rbi/anthropic/models/beta/beta_browser_read_console_tool_use_block.rbi +107 -0
- data/rbi/anthropic/models/beta/beta_browser_read_network_input.rbi +37 -0
- data/rbi/anthropic/models/beta/beta_browser_read_network_tool_use_block.rbi +107 -0
- data/rbi/anthropic/models/beta/beta_browser_read_page_filter.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_browser_read_page_input.rbi +82 -0
- data/rbi/anthropic/models/beta/beta_browser_read_page_tool_use_block.rbi +106 -0
- data/rbi/anthropic/models/beta/beta_browser_ref_target.rbi +43 -0
- data/rbi/anthropic/models/beta/beta_browser_right_click_input.rbi +67 -0
- data/rbi/anthropic/models/beta/beta_browser_right_click_tool_use_block.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_browser_screenshot_input.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_browser_screenshot_tool_use_block.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_browser_scroll_direction.rbi +45 -0
- data/rbi/anthropic/models/beta/beta_browser_scroll_input.rbi +80 -0
- data/rbi/anthropic/models/beta/beta_browser_scroll_to_input.rbi +62 -0
- data/rbi/anthropic/models/beta/beta_browser_scroll_to_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_scroll_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_switch_tab_input.rbi +36 -0
- data/rbi/anthropic/models/beta/beta_browser_switch_tab_tool_use_block.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_browser_tool_use_block.rbi +298 -0
- data/rbi/anthropic/models/beta/beta_browser_triple_click_input.rbi +68 -0
- data/rbi/anthropic/models/beta/beta_browser_triple_click_tool_use_block.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_browser_type_input.rbi +45 -0
- data/rbi/anthropic/models/beta/beta_browser_type_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_wait_input.rbi +45 -0
- data/rbi/anthropic/models/beta/beta_browser_wait_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_browser_zoom_input.rbi +51 -0
- data/rbi/anthropic/models/beta/beta_browser_zoom_tool_use_block.rbi +104 -0
- data/rbi/anthropic/models/beta/beta_computer_cursor_position_input.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_computer_cursor_position_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_computer_double_click_input.rbi +56 -0
- data/rbi/anthropic/models/beta/beta_computer_double_click_tool_use_block.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_computer_hold_key_input.rbi +44 -0
- data/rbi/anthropic/models/beta/beta_computer_hold_key_tool_use_block.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_computer_key_input.rbi +49 -0
- data/rbi/anthropic/models/beta/beta_computer_key_tool_use_block.rbi +108 -0
- data/rbi/anthropic/models/beta/beta_computer_left_click_drag_input.rbi +63 -0
- data/rbi/anthropic/models/beta/beta_computer_left_click_drag_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_computer_left_click_input.rbi +56 -0
- data/rbi/anthropic/models/beta/beta_computer_left_click_tool_use_block.rbi +104 -0
- data/rbi/anthropic/models/beta/beta_computer_left_mouse_down_input.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_computer_left_mouse_down_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_computer_left_mouse_up_input.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_computer_left_mouse_up_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_computer_middle_click_input.rbi +56 -0
- data/rbi/anthropic/models/beta/beta_computer_middle_click_tool_use_block.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_computer_mouse_move_input.rbi +36 -0
- data/rbi/anthropic/models/beta/beta_computer_mouse_move_tool_use_block.rbi +104 -0
- data/rbi/anthropic/models/beta/beta_computer_right_click_input.rbi +56 -0
- data/rbi/anthropic/models/beta/beta_computer_right_click_tool_use_block.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_computer_screenshot_input.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_computer_screenshot_tool_use_block.rbi +103 -0
- data/rbi/anthropic/models/beta/beta_computer_scroll_direction.rbi +45 -0
- data/rbi/anthropic/models/beta/beta_computer_scroll_input.rbi +75 -0
- data/rbi/anthropic/models/beta/beta_computer_scroll_tool_use_block.rbi +104 -0
- data/rbi/anthropic/models/beta/beta_computer_tool_use_block.rbi +203 -0
- data/rbi/anthropic/models/beta/beta_computer_triple_click_input.rbi +56 -0
- data/rbi/anthropic/models/beta/beta_computer_triple_click_tool_use_block.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_computer_type_input.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_computer_type_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_computer_wait_input.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_computer_wait_tool_use_block.rbi +100 -0
- data/rbi/anthropic/models/beta/beta_computer_zoom_input.rbi +37 -0
- data/rbi/anthropic/models/beta/beta_computer_zoom_tool_use_block.rbi +104 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_advisor_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +6 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_params.rbi +1 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +31 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_all.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rbi +69 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_none.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rbi +68 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_shorthand.rbi +46 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_filter.rbi +102 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_filter_params.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_reference.rbi +44 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_user_input.rbi +80 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_user_input_params.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rbi +118 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rbi +160 -0
- data/rbi/anthropic/models/beta/beta_model_capabilities.rbi +29 -2
- data/rbi/anthropic/models/beta/beta_model_info.rbi +108 -0
- data/rbi/anthropic/models/beta/beta_model_line.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_server_tools_capability.rbi +79 -0
- data/rbi/anthropic/models/beta/beta_thinking_types.rbi +27 -5
- data/rbi/anthropic/models/beta/beta_tool_use_caller.rbi +77 -0
- data/rbi/anthropic/models/beta/beta_toolset_tool_use_block.rbi +30 -0
- data/rbi/anthropic/models/beta/model_list_params.rbi +66 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +16 -2
- data/rbi/anthropic/models/beta/organization/federation/beta_federation_rule.rbi +6 -4
- data/rbi/anthropic/models/beta/organization/spend_limit_set_params.rbi +23 -0
- data/rbi/anthropic/models/beta/organization/workspace_list_params.rbi +11 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +1 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbi +2 -2
- data/rbi/anthropic/models/browser_click_target.rbi +63 -0
- data/rbi/anthropic/models/browser_close_tab_input.rbi +28 -0
- data/rbi/anthropic/models/browser_close_tab_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_coordinate_target.rbi +44 -0
- data/rbi/anthropic/models/browser_double_click_input.rbi +63 -0
- data/rbi/anthropic/models/browser_double_click_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_file_upload_input.rbi +72 -0
- data/rbi/anthropic/models/browser_file_upload_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_find_input.rbi +39 -0
- data/rbi/anthropic/models/browser_find_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_form_input_input.rbi +62 -0
- data/rbi/anthropic/models/browser_form_input_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_form_input_value.rbi +17 -0
- data/rbi/anthropic/models/browser_get_page_text_input.rbi +32 -0
- data/rbi/anthropic/models/browser_get_page_text_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_hold_key_input.rbi +51 -0
- data/rbi/anthropic/models/browser_hold_key_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_hover_input.rbi +50 -0
- data/rbi/anthropic/models/browser_hover_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_javascript_exec_input.rbi +43 -0
- data/rbi/anthropic/models/browser_javascript_exec_tool_use_block.rbi +86 -0
- data/rbi/anthropic/models/browser_key_input.rbi +57 -0
- data/rbi/anthropic/models/browser_key_tool_use_block.rbi +85 -0
- data/rbi/anthropic/models/browser_left_click_drag_input.rbi +67 -0
- data/rbi/anthropic/models/browser_left_click_drag_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_left_click_input.rbi +60 -0
- data/rbi/anthropic/models/browser_left_click_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_left_mouse_down_input.rbi +55 -0
- data/rbi/anthropic/models/browser_left_mouse_down_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_left_mouse_up_input.rbi +54 -0
- data/rbi/anthropic/models/browser_left_mouse_up_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_list_tabs_input.rbi +21 -0
- data/rbi/anthropic/models/browser_list_tabs_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_middle_click_input.rbi +63 -0
- data/rbi/anthropic/models/browser_middle_click_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_mouse_move_input.rbi +51 -0
- data/rbi/anthropic/models/browser_mouse_move_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_navigate_input.rbi +37 -0
- data/rbi/anthropic/models/browser_navigate_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_new_tab_input.rbi +21 -0
- data/rbi/anthropic/models/browser_new_tab_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_read_console_input.rbi +33 -0
- data/rbi/anthropic/models/browser_read_console_tool_use_block.rbi +86 -0
- data/rbi/anthropic/models/browser_read_network_input.rbi +33 -0
- data/rbi/anthropic/models/browser_read_network_tool_use_block.rbi +86 -0
- data/rbi/anthropic/models/browser_read_page_filter.rbi +25 -0
- data/rbi/anthropic/models/browser_read_page_input.rbi +67 -0
- data/rbi/anthropic/models/browser_read_page_tool_use_block.rbi +88 -0
- data/rbi/anthropic/models/browser_ref_target.rbi +36 -0
- data/rbi/anthropic/models/browser_right_click_input.rbi +60 -0
- data/rbi/anthropic/models/browser_right_click_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_screenshot_input.rbi +28 -0
- data/rbi/anthropic/models/browser_screenshot_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_scroll_direction.rbi +26 -0
- data/rbi/anthropic/models/browser_scroll_input.rbi +65 -0
- data/rbi/anthropic/models/browser_scroll_to_input.rbi +50 -0
- data/rbi/anthropic/models/browser_scroll_to_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_scroll_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_switch_tab_input.rbi +29 -0
- data/rbi/anthropic/models/browser_switch_tab_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_tool_use_block.rbi +226 -0
- data/rbi/anthropic/models/browser_triple_click_input.rbi +64 -0
- data/rbi/anthropic/models/browser_triple_click_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/browser_type_input.rbi +38 -0
- data/rbi/anthropic/models/browser_type_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_wait_input.rbi +38 -0
- data/rbi/anthropic/models/browser_wait_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/browser_zoom_input.rbi +44 -0
- data/rbi/anthropic/models/browser_zoom_tool_use_block.rbi +86 -0
- data/rbi/anthropic/models/computer_cursor_position_input.rbi +24 -0
- data/rbi/anthropic/models/computer_cursor_position_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/computer_double_click_input.rbi +49 -0
- data/rbi/anthropic/models/computer_double_click_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/computer_hold_key_input.rbi +35 -0
- data/rbi/anthropic/models/computer_hold_key_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/computer_key_input.rbi +42 -0
- data/rbi/anthropic/models/computer_key_tool_use_block.rbi +90 -0
- data/rbi/anthropic/models/computer_left_click_drag_input.rbi +59 -0
- data/rbi/anthropic/models/computer_left_click_drag_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/computer_left_click_input.rbi +46 -0
- data/rbi/anthropic/models/computer_left_click_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/computer_left_mouse_down_input.rbi +24 -0
- data/rbi/anthropic/models/computer_left_mouse_down_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/computer_left_mouse_up_input.rbi +24 -0
- data/rbi/anthropic/models/computer_left_mouse_up_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/computer_middle_click_input.rbi +49 -0
- data/rbi/anthropic/models/computer_middle_click_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/computer_mouse_move_input.rbi +29 -0
- data/rbi/anthropic/models/computer_mouse_move_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/computer_right_click_input.rbi +49 -0
- data/rbi/anthropic/models/computer_right_click_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/computer_screenshot_input.rbi +24 -0
- data/rbi/anthropic/models/computer_screenshot_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/computer_scroll_direction.rbi +26 -0
- data/rbi/anthropic/models/computer_scroll_input.rbi +64 -0
- data/rbi/anthropic/models/computer_scroll_tool_use_block.rbi +86 -0
- data/rbi/anthropic/models/computer_tool_use_block.rbi +171 -0
- data/rbi/anthropic/models/computer_triple_click_input.rbi +49 -0
- data/rbi/anthropic/models/computer_triple_click_tool_use_block.rbi +84 -0
- data/rbi/anthropic/models/computer_type_input.rbi +28 -0
- data/rbi/anthropic/models/computer_type_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/computer_wait_input.rbi +28 -0
- data/rbi/anthropic/models/computer_wait_tool_use_block.rbi +82 -0
- data/rbi/anthropic/models/computer_zoom_input.rbi +30 -0
- data/rbi/anthropic/models/computer_zoom_tool_use_block.rbi +86 -0
- data/rbi/anthropic/models/model.rbi +4 -0
- data/rbi/anthropic/models/model_capabilities.rbi +27 -2
- data/rbi/anthropic/models/model_info.rbi +94 -0
- data/rbi/anthropic/models/model_line.rbi +24 -0
- data/rbi/anthropic/models/model_list_params.rbi +52 -0
- data/rbi/anthropic/models/organization/federation/federation_rule.rbi +6 -4
- data/rbi/anthropic/models/organization/workspace_list_params.rbi +11 -0
- data/rbi/anthropic/models/server_tools_capability.rbi +64 -0
- data/rbi/anthropic/models/thinking_types.rbi +25 -5
- data/rbi/anthropic/models/tool_use_caller.rbi +63 -0
- data/rbi/anthropic/models/toolset_tool_use_block.rbi +24 -0
- data/rbi/anthropic/models.rbi +242 -0
- data/rbi/anthropic/resources/beta/agents.rbi +3 -4
- data/rbi/anthropic/resources/beta/messages.rbi +5 -0
- data/rbi/anthropic/resources/beta/models.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/analytics/summaries.rbi +6 -7
- data/rbi/anthropic/resources/beta/organization/rate_limits.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization/spend_limits/effective.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/spend_limits.rbi +17 -10
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +3 -0
- data/rbi/anthropic/resources/messages.rbi +16 -0
- data/rbi/anthropic/resources/models.rbi +6 -0
- data/rbi/anthropic/resources/organization/rate_limits.rbi +2 -2
- data/rbi/anthropic/resources/organization/workspaces.rbi +3 -0
- data/sig/anthropic/models/beta/beta_browser_click_target.rbs +46 -0
- data/sig/anthropic/models/beta/beta_browser_close_tab_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_browser_close_tab_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_coordinate_target.rbs +22 -0
- data/sig/anthropic/models/beta/beta_browser_double_click_input.rbs +34 -0
- data/sig/anthropic/models/beta/beta_browser_double_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_file_upload_input.rbs +39 -0
- data/sig/anthropic/models/beta/beta_browser_file_upload_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_find_input.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_find_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_form_input_input.rbs +34 -0
- data/sig/anthropic/models/beta/beta_browser_form_input_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_form_input_value.rbs +15 -0
- data/sig/anthropic/models/beta/beta_browser_get_page_text_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_browser_get_page_text_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_hold_key_input.rbs +26 -0
- data/sig/anthropic/models/beta/beta_browser_hold_key_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_hover_input.rbs +29 -0
- data/sig/anthropic/models/beta/beta_browser_hover_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_javascript_exec_input.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_javascript_exec_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_key_input.rbs +26 -0
- data/sig/anthropic/models/beta/beta_browser_key_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_left_click_drag_input.rbs +34 -0
- data/sig/anthropic/models/beta/beta_browser_left_click_drag_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_left_click_input.rbs +34 -0
- data/sig/anthropic/models/beta/beta_browser_left_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_left_mouse_down_input.rbs +29 -0
- data/sig/anthropic/models/beta/beta_browser_left_mouse_down_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_left_mouse_up_input.rbs +29 -0
- data/sig/anthropic/models/beta/beta_browser_left_mouse_up_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_list_tabs_input.rbs +15 -0
- data/sig/anthropic/models/beta/beta_browser_list_tabs_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_middle_click_input.rbs +34 -0
- data/sig/anthropic/models/beta/beta_browser_middle_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_mouse_move_input.rbs +29 -0
- data/sig/anthropic/models/beta/beta_browser_mouse_move_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_navigate_input.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_navigate_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_new_tab_input.rbs +15 -0
- data/sig/anthropic/models/beta/beta_browser_new_tab_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_read_console_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_browser_read_console_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_read_network_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_browser_read_network_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_read_page_filter.rbs +18 -0
- data/sig/anthropic/models/beta/beta_browser_read_page_input.rbs +39 -0
- data/sig/anthropic/models/beta/beta_browser_read_page_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_ref_target.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_right_click_input.rbs +34 -0
- data/sig/anthropic/models/beta/beta_browser_right_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_screenshot_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_browser_screenshot_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_scroll_direction.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_scroll_input.rbs +39 -0
- data/sig/anthropic/models/beta/beta_browser_scroll_to_input.rbs +26 -0
- data/sig/anthropic/models/beta/beta_browser_scroll_to_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_scroll_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_switch_tab_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_browser_switch_tab_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_tool_use_block.rbs +406 -0
- data/sig/anthropic/models/beta/beta_browser_triple_click_input.rbs +34 -0
- data/sig/anthropic/models/beta/beta_browser_triple_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_type_input.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_type_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_wait_input.rbs +19 -0
- data/sig/anthropic/models/beta/beta_browser_wait_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_browser_zoom_input.rbs +20 -0
- data/sig/anthropic/models/beta/beta_browser_zoom_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_cursor_position_input.rbs +15 -0
- data/sig/anthropic/models/beta/beta_computer_cursor_position_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_double_click_input.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_double_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_hold_key_input.rbs +19 -0
- data/sig/anthropic/models/beta/beta_computer_hold_key_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_key_input.rbs +19 -0
- data/sig/anthropic/models/beta/beta_computer_key_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_left_click_drag_input.rbs +34 -0
- data/sig/anthropic/models/beta/beta_computer_left_click_drag_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_left_click_input.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_left_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_left_mouse_down_input.rbs +15 -0
- data/sig/anthropic/models/beta/beta_computer_left_mouse_down_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_left_mouse_up_input.rbs +15 -0
- data/sig/anthropic/models/beta/beta_computer_left_mouse_up_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_middle_click_input.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_middle_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_mouse_move_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_computer_mouse_move_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_right_click_input.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_right_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_screenshot_input.rbs +15 -0
- data/sig/anthropic/models/beta/beta_computer_screenshot_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_scroll_direction.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_scroll_input.rbs +39 -0
- data/sig/anthropic/models/beta/beta_computer_scroll_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_tool_use_block.rbs +238 -0
- data/sig/anthropic/models/beta/beta_computer_triple_click_input.rbs +20 -0
- data/sig/anthropic/models/beta/beta_computer_triple_click_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_type_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_computer_type_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_wait_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_computer_wait_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_computer_zoom_input.rbs +17 -0
- data/sig/anthropic/models/beta/beta_computer_zoom_tool_use_block.rbs +53 -0
- data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbs +2 -0
- data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbs +2 -0
- data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +5 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +5 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +7 -2
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_all.rbs +17 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_except.rbs +29 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_none.rbs +17 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_only.rbs +29 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_shorthand.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_filter.rbs +53 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_filter_params.rbs +17 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_tool_reference.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_user_input.rbs +40 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_source_user_input_params.rbs +17 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources.rbs +34 -0
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_url_sources_params.rbs +34 -0
- data/sig/anthropic/models/beta/beta_model_capabilities.rbs +5 -0
- data/sig/anthropic/models/beta/beta_model_info.rbs +32 -0
- data/sig/anthropic/models/beta/beta_model_line.rbs +21 -0
- data/sig/anthropic/models/beta/beta_server_tools_capability.rbs +34 -0
- data/sig/anthropic/models/beta/beta_thinking_types.rbs +5 -0
- data/sig/anthropic/models/beta/beta_tool_use_caller.rbs +46 -0
- data/sig/anthropic/models/beta/beta_toolset_tool_use_block.rbs +18 -0
- data/sig/anthropic/models/beta/model_list_params.rbs +21 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role.rbs +5 -0
- data/sig/anthropic/models/beta/organization/spend_limit_set_params.rbs +10 -1
- data/sig/anthropic/models/beta/organization/workspace_list_params.rbs +7 -0
- data/sig/anthropic/models/browser_click_target.rbs +37 -0
- data/sig/anthropic/models/browser_close_tab_input.rbs +13 -0
- data/sig/anthropic/models/browser_close_tab_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_coordinate_target.rbs +18 -0
- data/sig/anthropic/models/browser_double_click_input.rbs +30 -0
- data/sig/anthropic/models/browser_double_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_file_upload_input.rbs +35 -0
- data/sig/anthropic/models/browser_file_upload_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_find_input.rbs +15 -0
- data/sig/anthropic/models/browser_find_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_form_input_input.rbs +30 -0
- data/sig/anthropic/models/browser_form_input_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_form_input_value.rbs +11 -0
- data/sig/anthropic/models/browser_get_page_text_input.rbs +13 -0
- data/sig/anthropic/models/browser_get_page_text_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_hold_key_input.rbs +18 -0
- data/sig/anthropic/models/browser_hold_key_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_hover_input.rbs +22 -0
- data/sig/anthropic/models/browser_hover_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_javascript_exec_input.rbs +15 -0
- data/sig/anthropic/models/browser_javascript_exec_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_key_input.rbs +21 -0
- data/sig/anthropic/models/browser_key_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_left_click_drag_input.rbs +30 -0
- data/sig/anthropic/models/browser_left_click_drag_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_left_click_input.rbs +30 -0
- data/sig/anthropic/models/browser_left_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_left_mouse_down_input.rbs +22 -0
- data/sig/anthropic/models/browser_left_mouse_down_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_left_mouse_up_input.rbs +22 -0
- data/sig/anthropic/models/browser_left_mouse_up_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_list_tabs_input.rbs +11 -0
- data/sig/anthropic/models/browser_list_tabs_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_middle_click_input.rbs +30 -0
- data/sig/anthropic/models/browser_middle_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_mouse_move_input.rbs +22 -0
- data/sig/anthropic/models/browser_mouse_move_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_navigate_input.rbs +15 -0
- data/sig/anthropic/models/browser_navigate_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_new_tab_input.rbs +11 -0
- data/sig/anthropic/models/browser_new_tab_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_read_console_input.rbs +13 -0
- data/sig/anthropic/models/browser_read_console_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_read_network_input.rbs +13 -0
- data/sig/anthropic/models/browser_read_network_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_read_page_filter.rbs +14 -0
- data/sig/anthropic/models/browser_read_page_input.rbs +35 -0
- data/sig/anthropic/models/browser_read_page_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_ref_target.rbs +15 -0
- data/sig/anthropic/models/browser_right_click_input.rbs +30 -0
- data/sig/anthropic/models/browser_right_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_screenshot_input.rbs +13 -0
- data/sig/anthropic/models/browser_screenshot_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_scroll_direction.rbs +16 -0
- data/sig/anthropic/models/browser_scroll_input.rbs +35 -0
- data/sig/anthropic/models/browser_scroll_to_input.rbs +19 -0
- data/sig/anthropic/models/browser_scroll_to_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_scroll_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_switch_tab_input.rbs +13 -0
- data/sig/anthropic/models/browser_switch_tab_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_tool_use_block.rbs +401 -0
- data/sig/anthropic/models/browser_triple_click_input.rbs +30 -0
- data/sig/anthropic/models/browser_triple_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_type_input.rbs +15 -0
- data/sig/anthropic/models/browser_type_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_wait_input.rbs +15 -0
- data/sig/anthropic/models/browser_wait_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/browser_zoom_input.rbs +15 -0
- data/sig/anthropic/models/browser_zoom_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_cursor_position_input.rbs +11 -0
- data/sig/anthropic/models/computer_cursor_position_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_double_click_input.rbs +16 -0
- data/sig/anthropic/models/computer_double_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_hold_key_input.rbs +15 -0
- data/sig/anthropic/models/computer_hold_key_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_key_input.rbs +15 -0
- data/sig/anthropic/models/computer_key_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_left_click_drag_input.rbs +30 -0
- data/sig/anthropic/models/computer_left_click_drag_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_left_click_input.rbs +16 -0
- data/sig/anthropic/models/computer_left_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_left_mouse_down_input.rbs +11 -0
- data/sig/anthropic/models/computer_left_mouse_down_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_left_mouse_up_input.rbs +11 -0
- data/sig/anthropic/models/computer_left_mouse_up_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_middle_click_input.rbs +16 -0
- data/sig/anthropic/models/computer_middle_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_mouse_move_input.rbs +13 -0
- data/sig/anthropic/models/computer_mouse_move_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_right_click_input.rbs +16 -0
- data/sig/anthropic/models/computer_right_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_screenshot_input.rbs +11 -0
- data/sig/anthropic/models/computer_screenshot_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_scroll_direction.rbs +16 -0
- data/sig/anthropic/models/computer_scroll_input.rbs +35 -0
- data/sig/anthropic/models/computer_scroll_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_tool_use_block.rbs +233 -0
- data/sig/anthropic/models/computer_triple_click_input.rbs +16 -0
- data/sig/anthropic/models/computer_triple_click_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_type_input.rbs +13 -0
- data/sig/anthropic/models/computer_type_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_wait_input.rbs +13 -0
- data/sig/anthropic/models/computer_wait_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/computer_zoom_input.rbs +13 -0
- data/sig/anthropic/models/computer_zoom_tool_use_block.rbs +45 -0
- data/sig/anthropic/models/model.rbs +5 -1
- data/sig/anthropic/models/model_capabilities.rbs +5 -0
- data/sig/anthropic/models/model_info.rbs +32 -0
- data/sig/anthropic/models/model_line.rbs +17 -0
- data/sig/anthropic/models/model_list_params.rbs +21 -0
- data/sig/anthropic/models/organization/workspace_list_params.rbs +7 -0
- data/sig/anthropic/models/server_tools_capability.rbs +30 -0
- data/sig/anthropic/models/thinking_types.rbs +5 -0
- data/sig/anthropic/models/tool_use_caller.rbs +41 -0
- data/sig/anthropic/models/toolset_tool_use_block.rbs +14 -0
- data/sig/anthropic/models.rbs +218 -0
- data/sig/anthropic/resources/beta/models.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/spend_limits.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/workspaces.rbs +1 -0
- data/sig/anthropic/resources/models.rbs +1 -0
- data/sig/anthropic/resources/organization/workspaces.rbs +1 -0
- metadata +692 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a36e6d4cf43841c87db6b39cfa2959270adf66faa7814e0dc16c9dbdf1c95b1d
|
|
4
|
+
data.tar.gz: 52a7b9c3bf5ab9bd6b83b23f6d599ffdadcb0c05ae56166427923ef99c6402a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42304436b6cdf57d554425177629bb09225a15d077ad5c241fd166488753abf44e3742fd8736aaf3c1f8afa45608806aa66244681a10d27d874e4019d58d446c
|
|
7
|
+
data.tar.gz: d9b21cdc5c82960fd53a57800d02d3a06e55d8d7be6b234060e9dd6639274848e9a0b1d2b42ac5225b10ecfaaed3128bb2a39b35357625ed397f8344428e5d49
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.77.1](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.77.0...v1.77.1) (2026-10-08)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **client:** raise before sending a request with an empty path parameter
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Chores
|
|
11
|
+
|
|
12
|
+
* **ci:** check that pull requests update the changelog
|
|
13
|
+
* **docs:** note that listing Claude Console spend limits is in early access
|
|
14
|
+
* **internal:** simplify the check that refuses "." and ".." path parameters
|
|
15
|
+
|
|
16
|
+
## 1.77.0 (2026-10-07)
|
|
17
|
+
|
|
18
|
+
Full Changelog: [v1.76.0...v1.77.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.76.0...v1.77.0)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **api:** add claude-haiku-5-5 and typed computer and browser toolset tool calls ([1236cfa](https://github.com/anthropics/anthropic-sdk-ruby/commit/1236cfaec020223e352f4a39e1ad480a9c1673cc))
|
|
23
|
+
* **api:** add display_name to RBAC roles and deprecate name ([8b4b105](https://github.com/anthropics/anthropic-sdk-ruby/commit/8b4b105142bce7d88416ffbb9d4c44397ea92030))
|
|
24
|
+
* **api:** add include_default parameter to list workspaces ([50b4f86](https://github.com/anthropics/anthropic-sdk-ruby/commit/50b4f86f10742132550c87815445a41df28fc1f9))
|
|
25
|
+
* **api:** add lifecycle stage fields and filter to /v1/models ([0540b11](https://github.com/anthropics/anthropic-sdk-ruby/commit/0540b110b334c976531ac08ad656d39dddb37388))
|
|
26
|
+
* **api:** add line to model objects ([b505f03](https://github.com/anthropics/anthropic-sdk-ruby/commit/b505f0382cb16955b9dd6970057f37f47f7621a2))
|
|
27
|
+
* **api:** add url_sources to the Managed Agents web_fetch tool config ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
28
|
+
* **api:** add web search and code execution support to model capabilities ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **api:** send the beta header by default when listing spend limits ([b8475eb](https://github.com/anthropics/anthropic-sdk-ruby/commit/b8475eb8281b203ed973532661ec7b51ed3cacd5))
|
|
34
|
+
* **client:** raise an error when a path parameter is "." or ".." ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Chores
|
|
38
|
+
|
|
39
|
+
* **api:** mark the Text Completions API as deprecated ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
40
|
+
* **ci:** cache installed gems in the test and lint jobs ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
41
|
+
* **docs:** correct example groups in rate limit list description ([0059b95](https://github.com/anthropics/anthropic-sdk-ruby/commit/0059b9525b1616e08f5a9465b6a2b4b44809c361))
|
|
42
|
+
* **docs:** correct when usage and cost report data becomes final ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
43
|
+
* **docs:** describe a federation rule's target by its type ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
44
|
+
* **docs:** fix example IDs in sessions, agents and vault credentials ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
45
|
+
* **docs:** update Managed Agents multiagent and thread descriptions ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
46
|
+
* **docs:** update the activity summaries endpoint description ([5c31991](https://github.com/anthropics/anthropic-sdk-ruby/commit/5c3199142c9da96d939358bc807a8df6c1a3a17f))
|
|
47
|
+
* **docs:** update the description of the Model line field ([c3c9821](https://github.com/anthropics/anthropic-sdk-ruby/commit/c3c982126ce9682e665b8497d17545be4827c55a))
|
|
48
|
+
* **internal:** add REVIEW.md with review instructions ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
49
|
+
* **tests:** fix a race in the thread interrupt test ([21ddce2](https://github.com/anthropics/anthropic-sdk-ruby/commit/21ddce2f01c766b3bfc2ca387a94ee1d490b364b))
|
|
50
|
+
* **tests:** run tests skipped for a query param bug that is now fixed ([498e601](https://github.com/anthropics/anthropic-sdk-ruby/commit/498e601c601993d71975c2328743bb61115a1249))
|
|
51
|
+
* **tests:** run tests that an older mock server could not serve ([d32d008](https://github.com/anthropics/anthropic-sdk-ruby/commit/d32d00846cd77028d9a32a9843054c73379ca190))
|
|
52
|
+
* **tests:** run the tests skipped for incomplete example responses ([b75200d](https://github.com/anthropics/anthropic-sdk-ruby/commit/b75200d21681d55881eb79e4e27dae12ea75faac))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Documentation
|
|
56
|
+
|
|
57
|
+
* **api:** state the agent tools limit as 256 ([6371b8c](https://github.com/anthropics/anthropic-sdk-ruby/commit/6371b8c1365bbad0411474372234b951df65abad))
|
|
58
|
+
|
|
3
59
|
## 1.76.0 (2026-09-30)
|
|
4
60
|
|
|
5
61
|
Full Changelog: [v1.75.0...v1.76.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.75.0...v1.76.0)
|
data/README.md
CHANGED
|
@@ -297,6 +297,7 @@ module Anthropic
|
|
|
297
297
|
#
|
|
298
298
|
# @param path [String, Array<String>]
|
|
299
299
|
#
|
|
300
|
+
# @raise [ArgumentError]
|
|
300
301
|
# @return [String]
|
|
301
302
|
def interpolate_path(path)
|
|
302
303
|
case path
|
|
@@ -306,7 +307,15 @@ module Anthropic
|
|
|
306
307
|
""
|
|
307
308
|
in [String => p, *interpolations]
|
|
308
309
|
encoded = interpolations.map { encode_path(_1) }
|
|
309
|
-
format(p, *encoded)
|
|
310
|
+
interpolated = format(p, *encoded)
|
|
311
|
+
dot_segment = encoded.find { _1 == "." || _1 == ".." }
|
|
312
|
+
if dot_segment
|
|
313
|
+
raise ArgumentError.new("The request was not sent: path #{interpolated.inspect} has the dot segment #{dot_segment.inspect}, which would send it to a different URL")
|
|
314
|
+
end
|
|
315
|
+
if encoded.include?("")
|
|
316
|
+
raise ArgumentError.new("The request was not sent: path #{interpolated.inspect} has an empty path parameter, which would send it to a different URL")
|
|
317
|
+
end
|
|
318
|
+
interpolated
|
|
310
319
|
end
|
|
311
320
|
end
|
|
312
321
|
end
|
|
@@ -47,8 +47,7 @@ module Anthropic
|
|
|
47
47
|
optional :metadata, Anthropic::Internal::Type::HashOf[String]
|
|
48
48
|
|
|
49
49
|
# @!attribute multiagent
|
|
50
|
-
# Multiagent orchestration configuration.
|
|
51
|
-
# topology with a roster of 1-20 agents.
|
|
50
|
+
# Multiagent orchestration configuration.
|
|
52
51
|
#
|
|
53
52
|
# @return [Anthropic::Models::Beta::BetaManagedAgentsMultiagentParams, nil]
|
|
54
53
|
optional :multiagent, -> { Anthropic::Beta::BetaManagedAgentsMultiagentParams }, nil?: true
|
|
@@ -67,7 +66,7 @@ module Anthropic
|
|
|
67
66
|
optional :system_, String, api_name: :system, nil?: true
|
|
68
67
|
|
|
69
68
|
# @!attribute tools
|
|
70
|
-
# Tool configurations available to the agent. Maximum of
|
|
69
|
+
# Tool configurations available to the agent. Maximum of 256 tools across all
|
|
71
70
|
# toolsets allowed.
|
|
72
71
|
#
|
|
73
72
|
# @return [Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>, nil]
|
|
@@ -105,13 +104,13 @@ module Anthropic
|
|
|
105
104
|
#
|
|
106
105
|
# @param metadata [Hash{Symbol=>String}] Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 chars, values up t
|
|
107
106
|
#
|
|
108
|
-
# @param multiagent [Anthropic::Models::Beta::BetaManagedAgentsMultiagentParams, nil] Multiagent orchestration configuration.
|
|
107
|
+
# @param multiagent [Anthropic::Models::Beta::BetaManagedAgentsMultiagentParams, nil] Multiagent orchestration configuration.
|
|
109
108
|
#
|
|
110
109
|
# @param skills [Array<Anthropic::Models::Beta::BetaManagedAgentsAnthropicSkillParams, Anthropic::Models::Beta::BetaManagedAgentsCustomSkillParams>] Skills available to the agent.
|
|
111
110
|
#
|
|
112
111
|
# @param system_ [String, nil] System prompt for the agent.
|
|
113
112
|
#
|
|
114
|
-
# @param tools [Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>] Tool configurations available to the agent. Maximum of
|
|
113
|
+
# @param tools [Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>] Tool configurations available to the agent. Maximum of 256 tools across all tool
|
|
115
114
|
#
|
|
116
115
|
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
117
116
|
#
|
|
@@ -82,7 +82,7 @@ module Anthropic
|
|
|
82
82
|
|
|
83
83
|
# @!attribute tools
|
|
84
84
|
# Tool configurations available to the agent. Full replacement. Omit to preserve;
|
|
85
|
-
# send empty array or null to clear. Maximum of
|
|
85
|
+
# send empty array or null to clear. Maximum of 256 tools across all toolsets
|
|
86
86
|
# allowed.
|
|
87
87
|
#
|
|
88
88
|
# @return [Array<Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetParams, Anthropic::Models::Beta::BetaManagedAgentsCustomToolParams>, nil]
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# Where to act: either a viewport coordinate or an element reference.
|
|
7
|
+
module BetaBrowserClickTarget
|
|
8
|
+
extend Anthropic::Internal::Type::Union
|
|
9
|
+
|
|
10
|
+
discriminator :type
|
|
11
|
+
|
|
12
|
+
# A point in the browser viewport, in viewport pixels (the same frame as a
|
|
13
|
+
# full-viewport screenshot).
|
|
14
|
+
variant :coordinate, -> { Anthropic::Beta::BetaBrowserCoordinateTarget }
|
|
15
|
+
|
|
16
|
+
# An element on the page, identified by a reference from a prior `read_page` or
|
|
17
|
+
# `find` result. References are scoped to the tab that produced them and become
|
|
18
|
+
# stale after navigation or a major re-render.
|
|
19
|
+
variant :ref, -> { Anthropic::Beta::BetaBrowserRefTarget }
|
|
20
|
+
|
|
21
|
+
module Type
|
|
22
|
+
extend Anthropic::Internal::Type::Enum
|
|
23
|
+
|
|
24
|
+
COORDINATE = :coordinate
|
|
25
|
+
REF = :ref
|
|
26
|
+
|
|
27
|
+
# @!method self.values
|
|
28
|
+
# @return [Array<Symbol>]
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# @!method self.variants
|
|
32
|
+
# @return [Array(Anthropic::Models::Beta::BetaBrowserCoordinateTarget, Anthropic::Models::Beta::BetaBrowserRefTarget)]
|
|
33
|
+
|
|
34
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
35
|
+
# value, passing the remaining arguments to its constructor.
|
|
36
|
+
#
|
|
37
|
+
# Some parameter documentations has been truncated, see
|
|
38
|
+
# {Anthropic::Models::Beta::BetaBrowserClickTarget} for more details.
|
|
39
|
+
#
|
|
40
|
+
# @param type [Symbol, Anthropic::Models::Beta::BetaBrowserClickTarget::Type, String]
|
|
41
|
+
#
|
|
42
|
+
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
43
|
+
#
|
|
44
|
+
# @option args [Integer] :x Pixels from the left edge of the viewport.
|
|
45
|
+
#
|
|
46
|
+
# @option args [Integer] :y_ Pixels from the top edge of the viewport.
|
|
47
|
+
#
|
|
48
|
+
# @option args [String] :ref An element reference (e.g. "ref_7") returned by a prior `read_page` or `find` re
|
|
49
|
+
#
|
|
50
|
+
# @raise [ArgumentError]
|
|
51
|
+
# @return [Anthropic::Models::Beta::BetaBrowserCoordinateTarget, Anthropic::Models::Beta::BetaBrowserRefTarget]
|
|
52
|
+
def self.new(type:, **args)
|
|
53
|
+
case type.to_sym
|
|
54
|
+
when :coordinate
|
|
55
|
+
Anthropic::Beta::BetaBrowserCoordinateTarget.new(**args)
|
|
56
|
+
when :ref
|
|
57
|
+
Anthropic::Beta::BetaBrowserRefTarget.new(**args)
|
|
58
|
+
else
|
|
59
|
+
raise ArgumentError, "unknown type: #{type}"
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
BetaBrowserClickTarget = Beta::BetaBrowserClickTarget
|
|
66
|
+
end
|
|
67
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserCloseTabInput < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute tab_id
|
|
8
|
+
# The tab to close.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :tab_id, String
|
|
12
|
+
|
|
13
|
+
# @!method initialize(tab_id:)
|
|
14
|
+
# Close the tab with the given tab_id.
|
|
15
|
+
#
|
|
16
|
+
# @param tab_id [String] The tab to close.
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
BetaBrowserCloseTabInput = Beta::BetaBrowserCloseTabInput
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserCloseTabToolUseBlock < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :id, String
|
|
11
|
+
|
|
12
|
+
# @!attribute input
|
|
13
|
+
# Close the tab with the given tab_id.
|
|
14
|
+
#
|
|
15
|
+
# @return [Anthropic::Models::Beta::BetaBrowserCloseTabInput]
|
|
16
|
+
required :input, -> { Anthropic::Beta::BetaBrowserCloseTabInput }
|
|
17
|
+
|
|
18
|
+
# @!attribute name
|
|
19
|
+
#
|
|
20
|
+
# @return [Symbol, :close_tab]
|
|
21
|
+
required :name, const: :close_tab
|
|
22
|
+
|
|
23
|
+
# @!attribute toolset_name
|
|
24
|
+
#
|
|
25
|
+
# @return [Symbol, :browser]
|
|
26
|
+
required :toolset_name, const: :browser
|
|
27
|
+
|
|
28
|
+
# @!attribute type
|
|
29
|
+
#
|
|
30
|
+
# @return [Symbol, :tool_use]
|
|
31
|
+
required :type, const: :tool_use
|
|
32
|
+
|
|
33
|
+
# @!attribute caller_
|
|
34
|
+
# Which party invoked the tool call: the model directly, or a server tool on its
|
|
35
|
+
# behalf.
|
|
36
|
+
#
|
|
37
|
+
# @return [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120, nil]
|
|
38
|
+
optional :caller_, union: -> { Anthropic::Beta::BetaToolUseCaller }, api_name: :caller
|
|
39
|
+
|
|
40
|
+
# @!method initialize(id:, input:, caller_: nil, name: :close_tab, toolset_name: :browser, type: :tool_use)
|
|
41
|
+
# Some parameter documentations has been truncated, see
|
|
42
|
+
# {Anthropic::Models::Beta::BetaBrowserCloseTabToolUseBlock} for more details.
|
|
43
|
+
#
|
|
44
|
+
# @param id [String]
|
|
45
|
+
#
|
|
46
|
+
# @param input [Anthropic::Models::Beta::BetaBrowserCloseTabInput] Close the tab with the given tab_id.
|
|
47
|
+
#
|
|
48
|
+
# @param caller_ [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] Which party invoked the tool call: the model directly, or a server tool on its b
|
|
49
|
+
#
|
|
50
|
+
# @param name [Symbol, :close_tab]
|
|
51
|
+
#
|
|
52
|
+
# @param toolset_name [Symbol, :browser]
|
|
53
|
+
#
|
|
54
|
+
# @param type [Symbol, :tool_use]
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
BetaBrowserCloseTabToolUseBlock = Beta::BetaBrowserCloseTabToolUseBlock
|
|
59
|
+
end
|
|
60
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserCoordinateTarget < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, :coordinate]
|
|
10
|
+
required :type, const: :coordinate
|
|
11
|
+
|
|
12
|
+
# @!attribute x
|
|
13
|
+
# Pixels from the left edge of the viewport.
|
|
14
|
+
#
|
|
15
|
+
# @return [Integer]
|
|
16
|
+
required :x, Integer
|
|
17
|
+
|
|
18
|
+
# @!attribute y_
|
|
19
|
+
# Pixels from the top edge of the viewport.
|
|
20
|
+
#
|
|
21
|
+
# @return [Integer]
|
|
22
|
+
required :y_, Integer, api_name: :y
|
|
23
|
+
|
|
24
|
+
# @!method initialize(x:, y_:, type: :coordinate)
|
|
25
|
+
# A point in the browser viewport, in viewport pixels (the same frame as a
|
|
26
|
+
# full-viewport screenshot).
|
|
27
|
+
#
|
|
28
|
+
# @param x [Integer] Pixels from the left edge of the viewport.
|
|
29
|
+
#
|
|
30
|
+
# @param y_ [Integer] Pixels from the top edge of the viewport.
|
|
31
|
+
#
|
|
32
|
+
# @param type [Symbol, :coordinate]
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
BetaBrowserCoordinateTarget = Beta::BetaBrowserCoordinateTarget
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserDoubleClickInput < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute target
|
|
8
|
+
# Where to act: either a viewport coordinate or an element reference.
|
|
9
|
+
#
|
|
10
|
+
# @return [Anthropic::Models::Beta::BetaBrowserCoordinateTarget, Anthropic::Models::Beta::BetaBrowserRefTarget]
|
|
11
|
+
required :target, union: -> { Anthropic::Beta::BetaBrowserClickTarget }
|
|
12
|
+
|
|
13
|
+
# @!attribute modifiers
|
|
14
|
+
# Optional modifier key chord to hold for the duration of this action (e.g.
|
|
15
|
+
# "shift", "ctrl+shift", "cmd+alt").
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
optional :modifiers, String, nil?: true
|
|
19
|
+
|
|
20
|
+
# @!attribute tab_id
|
|
21
|
+
# Tab to act on. Defaults to the active tab when omitted.
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :tab_id, String, nil?: true
|
|
25
|
+
|
|
26
|
+
# @!method initialize(target:, modifiers: nil, tab_id: nil)
|
|
27
|
+
# Double left-click at a viewport coordinate or on an element by reference.
|
|
28
|
+
#
|
|
29
|
+
# Some parameter documentations has been truncated, see
|
|
30
|
+
# {Anthropic::Models::Beta::BetaBrowserDoubleClickInput} for more details.
|
|
31
|
+
#
|
|
32
|
+
# @param target [Anthropic::Models::Beta::BetaBrowserCoordinateTarget, Anthropic::Models::Beta::BetaBrowserRefTarget] Where to act: either a viewport coordinate or an element reference.
|
|
33
|
+
#
|
|
34
|
+
# @param modifiers [String, nil] Optional modifier key chord to hold for the duration of this action (e.g. "shift
|
|
35
|
+
#
|
|
36
|
+
# @param tab_id [String, nil] Tab to act on. Defaults to the active tab when omitted.
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
BetaBrowserDoubleClickInput = Beta::BetaBrowserDoubleClickInput
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserDoubleClickToolUseBlock < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :id, String
|
|
11
|
+
|
|
12
|
+
# @!attribute input
|
|
13
|
+
# Double left-click at a viewport coordinate or on an element by reference.
|
|
14
|
+
#
|
|
15
|
+
# @return [Anthropic::Models::Beta::BetaBrowserDoubleClickInput]
|
|
16
|
+
required :input, -> { Anthropic::Beta::BetaBrowserDoubleClickInput }
|
|
17
|
+
|
|
18
|
+
# @!attribute name
|
|
19
|
+
#
|
|
20
|
+
# @return [Symbol, :double_click]
|
|
21
|
+
required :name, const: :double_click
|
|
22
|
+
|
|
23
|
+
# @!attribute toolset_name
|
|
24
|
+
#
|
|
25
|
+
# @return [Symbol, :browser]
|
|
26
|
+
required :toolset_name, const: :browser
|
|
27
|
+
|
|
28
|
+
# @!attribute type
|
|
29
|
+
#
|
|
30
|
+
# @return [Symbol, :tool_use]
|
|
31
|
+
required :type, const: :tool_use
|
|
32
|
+
|
|
33
|
+
# @!attribute caller_
|
|
34
|
+
# Which party invoked the tool call: the model directly, or a server tool on its
|
|
35
|
+
# behalf.
|
|
36
|
+
#
|
|
37
|
+
# @return [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120, nil]
|
|
38
|
+
optional :caller_, union: -> { Anthropic::Beta::BetaToolUseCaller }, api_name: :caller
|
|
39
|
+
|
|
40
|
+
# @!method initialize(id:, input:, caller_: nil, name: :double_click, toolset_name: :browser, type: :tool_use)
|
|
41
|
+
# Some parameter documentations has been truncated, see
|
|
42
|
+
# {Anthropic::Models::Beta::BetaBrowserDoubleClickToolUseBlock} for more details.
|
|
43
|
+
#
|
|
44
|
+
# @param id [String]
|
|
45
|
+
#
|
|
46
|
+
# @param input [Anthropic::Models::Beta::BetaBrowserDoubleClickInput] Double left-click at a viewport coordinate or on an element by reference.
|
|
47
|
+
#
|
|
48
|
+
# @param caller_ [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] Which party invoked the tool call: the model directly, or a server tool on its b
|
|
49
|
+
#
|
|
50
|
+
# @param name [Symbol, :double_click]
|
|
51
|
+
#
|
|
52
|
+
# @param toolset_name [Symbol, :browser]
|
|
53
|
+
#
|
|
54
|
+
# @param type [Symbol, :tool_use]
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
BetaBrowserDoubleClickToolUseBlock = Beta::BetaBrowserDoubleClickToolUseBlock
|
|
59
|
+
end
|
|
60
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserFileUploadInput < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute target
|
|
8
|
+
# An element on the page, identified by a reference from a prior `read_page` or
|
|
9
|
+
# `find` result. References are scoped to the tab that produced them and become
|
|
10
|
+
# stale after navigation or a major re-render.
|
|
11
|
+
#
|
|
12
|
+
# @return [Anthropic::Models::Beta::BetaBrowserRefTarget]
|
|
13
|
+
required :target, -> { Anthropic::Beta::BetaBrowserRefTarget }
|
|
14
|
+
|
|
15
|
+
# @!attribute document_ids
|
|
16
|
+
# References to files the harness has staged, for deployments where the browser
|
|
17
|
+
# executor cannot read the caller's filesystem.
|
|
18
|
+
#
|
|
19
|
+
# @return [Array<String>, nil]
|
|
20
|
+
optional :document_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute paths
|
|
23
|
+
# File paths on the browser executor's filesystem.
|
|
24
|
+
#
|
|
25
|
+
# @return [Array<String>, nil]
|
|
26
|
+
optional :paths, Anthropic::Internal::Type::ArrayOf[String], nil?: true
|
|
27
|
+
|
|
28
|
+
# @!attribute tab_id
|
|
29
|
+
# Tab to act on. Defaults to the active tab when omitted.
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :tab_id, String, nil?: true
|
|
33
|
+
|
|
34
|
+
# @!method initialize(target:, document_ids: nil, paths: nil, tab_id: nil)
|
|
35
|
+
# Set the value of a file-input element to one or more files. The target must be
|
|
36
|
+
# an element reference; at least one of paths or document_ids is required.
|
|
37
|
+
#
|
|
38
|
+
# Some parameter documentations has been truncated, see
|
|
39
|
+
# {Anthropic::Models::Beta::BetaBrowserFileUploadInput} for more details.
|
|
40
|
+
#
|
|
41
|
+
# @param target [Anthropic::Models::Beta::BetaBrowserRefTarget] An element on the page, identified by a reference from a prior `read_page` or
|
|
42
|
+
#
|
|
43
|
+
# @param document_ids [Array<String>, nil] References to files the harness has staged, for deployments where the browser ex
|
|
44
|
+
#
|
|
45
|
+
# @param paths [Array<String>, nil] File paths on the browser executor's filesystem.
|
|
46
|
+
#
|
|
47
|
+
# @param tab_id [String, nil] Tab to act on. Defaults to the active tab when omitted.
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
BetaBrowserFileUploadInput = Beta::BetaBrowserFileUploadInput
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserFileUploadToolUseBlock < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :id, String
|
|
11
|
+
|
|
12
|
+
# @!attribute input
|
|
13
|
+
# Set the value of a file-input element to one or more files. The target must be
|
|
14
|
+
# an element reference; at least one of paths or document_ids is required.
|
|
15
|
+
#
|
|
16
|
+
# @return [Anthropic::Models::Beta::BetaBrowserFileUploadInput]
|
|
17
|
+
required :input, -> { Anthropic::Beta::BetaBrowserFileUploadInput }
|
|
18
|
+
|
|
19
|
+
# @!attribute name
|
|
20
|
+
#
|
|
21
|
+
# @return [Symbol, :file_upload]
|
|
22
|
+
required :name, const: :file_upload
|
|
23
|
+
|
|
24
|
+
# @!attribute toolset_name
|
|
25
|
+
#
|
|
26
|
+
# @return [Symbol, :browser]
|
|
27
|
+
required :toolset_name, const: :browser
|
|
28
|
+
|
|
29
|
+
# @!attribute type
|
|
30
|
+
#
|
|
31
|
+
# @return [Symbol, :tool_use]
|
|
32
|
+
required :type, const: :tool_use
|
|
33
|
+
|
|
34
|
+
# @!attribute caller_
|
|
35
|
+
# Which party invoked the tool call: the model directly, or a server tool on its
|
|
36
|
+
# behalf.
|
|
37
|
+
#
|
|
38
|
+
# @return [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120, nil]
|
|
39
|
+
optional :caller_, union: -> { Anthropic::Beta::BetaToolUseCaller }, api_name: :caller
|
|
40
|
+
|
|
41
|
+
# @!method initialize(id:, input:, caller_: nil, name: :file_upload, toolset_name: :browser, type: :tool_use)
|
|
42
|
+
# Some parameter documentations has been truncated, see
|
|
43
|
+
# {Anthropic::Models::Beta::BetaBrowserFileUploadToolUseBlock} for more details.
|
|
44
|
+
#
|
|
45
|
+
# @param id [String]
|
|
46
|
+
#
|
|
47
|
+
# @param input [Anthropic::Models::Beta::BetaBrowserFileUploadInput] Set the value of a file-input element to one or more files. The target must be a
|
|
48
|
+
#
|
|
49
|
+
# @param caller_ [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] Which party invoked the tool call: the model directly, or a server tool on its b
|
|
50
|
+
#
|
|
51
|
+
# @param name [Symbol, :file_upload]
|
|
52
|
+
#
|
|
53
|
+
# @param toolset_name [Symbol, :browser]
|
|
54
|
+
#
|
|
55
|
+
# @param type [Symbol, :tool_use]
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
BetaBrowserFileUploadToolUseBlock = Beta::BetaBrowserFileUploadToolUseBlock
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserFindInput < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute query
|
|
8
|
+
# Natural-language description of the element(s) to find.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :query, String
|
|
12
|
+
|
|
13
|
+
# @!attribute tab_id
|
|
14
|
+
# Tab to act on. Defaults to the active tab when omitted.
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
optional :tab_id, String, nil?: true
|
|
18
|
+
|
|
19
|
+
# @!method initialize(query:, tab_id: nil)
|
|
20
|
+
# Find elements matching a natural-language description (e.g. "search bar", "add
|
|
21
|
+
# to cart button") and return up to 20 matches with element references.
|
|
22
|
+
#
|
|
23
|
+
# @param query [String] Natural-language description of the element(s) to find.
|
|
24
|
+
#
|
|
25
|
+
# @param tab_id [String, nil] Tab to act on. Defaults to the active tab when omitted.
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
BetaBrowserFindInput = Beta::BetaBrowserFindInput
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaBrowserFindToolUseBlock < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute id
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :id, String
|
|
11
|
+
|
|
12
|
+
# @!attribute input
|
|
13
|
+
# Find elements matching a natural-language description (e.g. "search bar", "add
|
|
14
|
+
# to cart button") and return up to 20 matches with element references.
|
|
15
|
+
#
|
|
16
|
+
# @return [Anthropic::Models::Beta::BetaBrowserFindInput]
|
|
17
|
+
required :input, -> { Anthropic::Beta::BetaBrowserFindInput }
|
|
18
|
+
|
|
19
|
+
# @!attribute name
|
|
20
|
+
#
|
|
21
|
+
# @return [Symbol, :find]
|
|
22
|
+
required :name, const: :find
|
|
23
|
+
|
|
24
|
+
# @!attribute toolset_name
|
|
25
|
+
#
|
|
26
|
+
# @return [Symbol, :browser]
|
|
27
|
+
required :toolset_name, const: :browser
|
|
28
|
+
|
|
29
|
+
# @!attribute type
|
|
30
|
+
#
|
|
31
|
+
# @return [Symbol, :tool_use]
|
|
32
|
+
required :type, const: :tool_use
|
|
33
|
+
|
|
34
|
+
# @!attribute caller_
|
|
35
|
+
# Which party invoked the tool call: the model directly, or a server tool on its
|
|
36
|
+
# behalf.
|
|
37
|
+
#
|
|
38
|
+
# @return [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120, nil]
|
|
39
|
+
optional :caller_, union: -> { Anthropic::Beta::BetaToolUseCaller }, api_name: :caller
|
|
40
|
+
|
|
41
|
+
# @!method initialize(id:, input:, caller_: nil, name: :find, toolset_name: :browser, type: :tool_use)
|
|
42
|
+
# Some parameter documentations has been truncated, see
|
|
43
|
+
# {Anthropic::Models::Beta::BetaBrowserFindToolUseBlock} for more details.
|
|
44
|
+
#
|
|
45
|
+
# @param id [String]
|
|
46
|
+
#
|
|
47
|
+
# @param input [Anthropic::Models::Beta::BetaBrowserFindInput] Find elements matching a natural-language description (e.g. "search bar", "add t
|
|
48
|
+
#
|
|
49
|
+
# @param caller_ [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] Which party invoked the tool call: the model directly, or a server tool on its b
|
|
50
|
+
#
|
|
51
|
+
# @param name [Symbol, :find]
|
|
52
|
+
#
|
|
53
|
+
# @param toolset_name [Symbol, :browser]
|
|
54
|
+
#
|
|
55
|
+
# @param type [Symbol, :tool_use]
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
BetaBrowserFindToolUseBlock = Beta::BetaBrowserFindToolUseBlock
|
|
60
|
+
end
|
|
61
|
+
end
|