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
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
BetaModelLine = Beta::BetaModelLine
|
|
6
|
+
|
|
7
|
+
module Beta
|
|
8
|
+
# A Claude model line, such as `opus` or `sonnet`. More lines may be added as new
|
|
9
|
+
# values.
|
|
10
|
+
module BetaModelLine
|
|
11
|
+
extend Anthropic::Internal::Type::Enum
|
|
12
|
+
|
|
13
|
+
TaggedSymbol =
|
|
14
|
+
T.type_alias { T.all(Symbol, Anthropic::Beta::BetaModelLine) }
|
|
15
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
16
|
+
|
|
17
|
+
HAIKU = T.let(:haiku, Anthropic::Beta::BetaModelLine::TaggedSymbol)
|
|
18
|
+
SONNET = T.let(:sonnet, Anthropic::Beta::BetaModelLine::TaggedSymbol)
|
|
19
|
+
OPUS = T.let(:opus, Anthropic::Beta::BetaModelLine::TaggedSymbol)
|
|
20
|
+
FABLE = T.let(:fable, Anthropic::Beta::BetaModelLine::TaggedSymbol)
|
|
21
|
+
MYTHOS = T.let(:mythos, Anthropic::Beta::BetaModelLine::TaggedSymbol)
|
|
22
|
+
|
|
23
|
+
sig do
|
|
24
|
+
override.returns(
|
|
25
|
+
T::Array[Anthropic::Beta::BetaModelLine::TaggedSymbol]
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
def self.values
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
BetaServerToolsCapability = Beta::BetaServerToolsCapability
|
|
6
|
+
|
|
7
|
+
module Beta
|
|
8
|
+
class BetaServerToolsCapability < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Anthropic::Beta::BetaServerToolsCapability,
|
|
13
|
+
Anthropic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# Whether the model supports the code execution tool: true when the model supports
|
|
18
|
+
# at least one version of the tool, not necessarily every version.
|
|
19
|
+
sig { returns(Anthropic::Beta::BetaCapabilitySupport) }
|
|
20
|
+
attr_reader :code_execution
|
|
21
|
+
|
|
22
|
+
sig do
|
|
23
|
+
params(
|
|
24
|
+
code_execution: Anthropic::Beta::BetaCapabilitySupport::OrHash
|
|
25
|
+
).void
|
|
26
|
+
end
|
|
27
|
+
attr_writer :code_execution
|
|
28
|
+
|
|
29
|
+
# Whether this capability is supported by the model.
|
|
30
|
+
sig { returns(T::Boolean) }
|
|
31
|
+
attr_accessor :supported
|
|
32
|
+
|
|
33
|
+
# Whether the model supports the web search tool: true when the model supports at
|
|
34
|
+
# least one version of the tool, not necessarily every version.
|
|
35
|
+
sig { returns(Anthropic::Beta::BetaCapabilitySupport) }
|
|
36
|
+
attr_reader :web_search
|
|
37
|
+
|
|
38
|
+
sig do
|
|
39
|
+
params(
|
|
40
|
+
web_search: Anthropic::Beta::BetaCapabilitySupport::OrHash
|
|
41
|
+
).void
|
|
42
|
+
end
|
|
43
|
+
attr_writer :web_search
|
|
44
|
+
|
|
45
|
+
# Web search and code execution tool support, with one entry per tool.
|
|
46
|
+
sig do
|
|
47
|
+
params(
|
|
48
|
+
code_execution: Anthropic::Beta::BetaCapabilitySupport::OrHash,
|
|
49
|
+
supported: T::Boolean,
|
|
50
|
+
web_search: Anthropic::Beta::BetaCapabilitySupport::OrHash
|
|
51
|
+
).returns(T.attached_class)
|
|
52
|
+
end
|
|
53
|
+
def self.new(
|
|
54
|
+
# Whether the model supports the code execution tool: true when the model supports
|
|
55
|
+
# at least one version of the tool, not necessarily every version.
|
|
56
|
+
code_execution:,
|
|
57
|
+
# Whether this capability is supported by the model.
|
|
58
|
+
supported:,
|
|
59
|
+
# Whether the model supports the web search tool: true when the model supports at
|
|
60
|
+
# least one version of the tool, not necessarily every version.
|
|
61
|
+
web_search:
|
|
62
|
+
)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
sig do
|
|
66
|
+
override.returns(
|
|
67
|
+
{
|
|
68
|
+
code_execution: Anthropic::Beta::BetaCapabilitySupport,
|
|
69
|
+
supported: T::Boolean,
|
|
70
|
+
web_search: Anthropic::Beta::BetaCapabilitySupport
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
end
|
|
74
|
+
def to_hash
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
@@ -14,7 +14,8 @@ module Anthropic
|
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
# Whether the model
|
|
17
|
+
# Whether the model accepts thinking with type 'adaptive' (the model decides
|
|
18
|
+
# whether and how much to think).
|
|
18
19
|
sig { returns(Anthropic::Beta::BetaCapabilitySupport) }
|
|
19
20
|
attr_reader :adaptive
|
|
20
21
|
|
|
@@ -23,7 +24,19 @@ module Anthropic
|
|
|
23
24
|
end
|
|
24
25
|
attr_writer :adaptive
|
|
25
26
|
|
|
26
|
-
# Whether the model
|
|
27
|
+
# Whether the model accepts thinking with type 'disabled' (thinking turned off).
|
|
28
|
+
# False exactly when a request that sends it gets a 400 from this model. True on a
|
|
29
|
+
# model that does not support thinking.
|
|
30
|
+
sig { returns(Anthropic::Beta::BetaCapabilitySupport) }
|
|
31
|
+
attr_reader :disabled
|
|
32
|
+
|
|
33
|
+
sig do
|
|
34
|
+
params(disabled: Anthropic::Beta::BetaCapabilitySupport::OrHash).void
|
|
35
|
+
end
|
|
36
|
+
attr_writer :disabled
|
|
37
|
+
|
|
38
|
+
# Whether the model accepts thinking with type 'enabled' (extended thinking with a
|
|
39
|
+
# caller-set `budget_tokens`).
|
|
27
40
|
sig { returns(Anthropic::Beta::BetaCapabilitySupport) }
|
|
28
41
|
attr_reader :enabled
|
|
29
42
|
|
|
@@ -32,17 +45,25 @@ module Anthropic
|
|
|
32
45
|
end
|
|
33
46
|
attr_writer :enabled
|
|
34
47
|
|
|
35
|
-
#
|
|
48
|
+
# Which `thinking.type` values the model accepts on requests. Read each key on its
|
|
49
|
+
# own: for example, `enabled` can be false while `disabled` is true.
|
|
36
50
|
sig do
|
|
37
51
|
params(
|
|
38
52
|
adaptive: Anthropic::Beta::BetaCapabilitySupport::OrHash,
|
|
53
|
+
disabled: Anthropic::Beta::BetaCapabilitySupport::OrHash,
|
|
39
54
|
enabled: Anthropic::Beta::BetaCapabilitySupport::OrHash
|
|
40
55
|
).returns(T.attached_class)
|
|
41
56
|
end
|
|
42
57
|
def self.new(
|
|
43
|
-
# Whether the model
|
|
58
|
+
# Whether the model accepts thinking with type 'adaptive' (the model decides
|
|
59
|
+
# whether and how much to think).
|
|
44
60
|
adaptive:,
|
|
45
|
-
# Whether the model
|
|
61
|
+
# Whether the model accepts thinking with type 'disabled' (thinking turned off).
|
|
62
|
+
# False exactly when a request that sends it gets a 400 from this model. True on a
|
|
63
|
+
# model that does not support thinking.
|
|
64
|
+
disabled:,
|
|
65
|
+
# Whether the model accepts thinking with type 'enabled' (extended thinking with a
|
|
66
|
+
# caller-set `budget_tokens`).
|
|
46
67
|
enabled:
|
|
47
68
|
)
|
|
48
69
|
end
|
|
@@ -51,6 +72,7 @@ module Anthropic
|
|
|
51
72
|
override.returns(
|
|
52
73
|
{
|
|
53
74
|
adaptive: Anthropic::Beta::BetaCapabilitySupport,
|
|
75
|
+
disabled: Anthropic::Beta::BetaCapabilitySupport,
|
|
54
76
|
enabled: Anthropic::Beta::BetaCapabilitySupport
|
|
55
77
|
}
|
|
56
78
|
)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
BetaToolUseCaller = Beta::BetaToolUseCaller
|
|
6
|
+
|
|
7
|
+
module Beta
|
|
8
|
+
# Which party invoked the tool call: the model directly, or a server tool on its
|
|
9
|
+
# behalf.
|
|
10
|
+
module BetaToolUseCaller
|
|
11
|
+
extend Anthropic::Internal::Type::Union
|
|
12
|
+
|
|
13
|
+
Variants =
|
|
14
|
+
T.type_alias do
|
|
15
|
+
T.any(
|
|
16
|
+
Anthropic::Beta::BetaDirectCaller,
|
|
17
|
+
Anthropic::Beta::BetaServerToolCaller,
|
|
18
|
+
Anthropic::Beta::BetaServerToolCaller20260120
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
module Type
|
|
23
|
+
extend Anthropic::Internal::Type::Enum
|
|
24
|
+
|
|
25
|
+
TaggedSymbol =
|
|
26
|
+
T.type_alias do
|
|
27
|
+
T.all(Symbol, Anthropic::Beta::BetaToolUseCaller::Type)
|
|
28
|
+
end
|
|
29
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
30
|
+
|
|
31
|
+
DIRECT =
|
|
32
|
+
T.let(
|
|
33
|
+
:direct,
|
|
34
|
+
Anthropic::Beta::BetaToolUseCaller::Type::TaggedSymbol
|
|
35
|
+
)
|
|
36
|
+
CODE_EXECUTION_20250825 =
|
|
37
|
+
T.let(
|
|
38
|
+
:code_execution_20250825,
|
|
39
|
+
Anthropic::Beta::BetaToolUseCaller::Type::TaggedSymbol
|
|
40
|
+
)
|
|
41
|
+
CODE_EXECUTION_20260120 =
|
|
42
|
+
T.let(
|
|
43
|
+
:code_execution_20260120,
|
|
44
|
+
Anthropic::Beta::BetaToolUseCaller::Type::TaggedSymbol
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
sig do
|
|
48
|
+
override.returns(
|
|
49
|
+
T::Array[Anthropic::Beta::BetaToolUseCaller::Type::TaggedSymbol]
|
|
50
|
+
)
|
|
51
|
+
end
|
|
52
|
+
def self.values
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
sig do
|
|
57
|
+
override.returns(
|
|
58
|
+
T::Array[Anthropic::Beta::BetaToolUseCaller::Variants]
|
|
59
|
+
)
|
|
60
|
+
end
|
|
61
|
+
def self.variants
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
65
|
+
# value, passing the remaining arguments to its constructor.
|
|
66
|
+
sig do
|
|
67
|
+
params(
|
|
68
|
+
type: Anthropic::Beta::BetaToolUseCaller::Type::OrSymbol,
|
|
69
|
+
tool_id: String
|
|
70
|
+
).returns(Anthropic::Beta::BetaToolUseCaller::Variants)
|
|
71
|
+
end
|
|
72
|
+
def self.new(type:, tool_id: nil)
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
BetaToolsetToolUseBlock = Beta::BetaToolsetToolUseBlock
|
|
6
|
+
|
|
7
|
+
module Beta
|
|
8
|
+
module BetaToolsetToolUseBlock
|
|
9
|
+
extend Anthropic::Internal::Type::Union
|
|
10
|
+
|
|
11
|
+
Variants =
|
|
12
|
+
T.type_alias do
|
|
13
|
+
T.any(
|
|
14
|
+
Anthropic::Beta::BetaBrowserToolUseBlock::Variants,
|
|
15
|
+
Anthropic::Beta::BetaComputerToolUseBlock::Variants,
|
|
16
|
+
Anthropic::Beta::BetaToolUseBlock
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
sig do
|
|
21
|
+
override.returns(
|
|
22
|
+
T::Array[Anthropic::Beta::BetaToolsetToolUseBlock::Variants]
|
|
23
|
+
)
|
|
24
|
+
end
|
|
25
|
+
def self.variants
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -31,6 +31,27 @@ module Anthropic
|
|
|
31
31
|
sig { params(before_id: String).void }
|
|
32
32
|
attr_writer :before_id
|
|
33
33
|
|
|
34
|
+
# Filter the list to models in any of the given lifecycle stages (`active`,
|
|
35
|
+
# `deprecated`, or `retired`). Up to 3 values. When omitted, the list contains the
|
|
36
|
+
# `active` and `deprecated` models; `retired` models appear only when `retired` is
|
|
37
|
+
# requested explicitly.
|
|
38
|
+
sig do
|
|
39
|
+
returns(
|
|
40
|
+
T.nilable(
|
|
41
|
+
T::Array[Anthropic::Beta::ModelListParams::Lifecycle::OrSymbol]
|
|
42
|
+
)
|
|
43
|
+
)
|
|
44
|
+
end
|
|
45
|
+
attr_reader :lifecycle
|
|
46
|
+
|
|
47
|
+
sig do
|
|
48
|
+
params(
|
|
49
|
+
lifecycle:
|
|
50
|
+
T::Array[Anthropic::Beta::ModelListParams::Lifecycle::OrSymbol]
|
|
51
|
+
).void
|
|
52
|
+
end
|
|
53
|
+
attr_writer :lifecycle
|
|
54
|
+
|
|
34
55
|
# Number of items to return per page.
|
|
35
56
|
#
|
|
36
57
|
# Defaults to `20`. Ranges from `1` to `1000`.
|
|
@@ -73,6 +94,8 @@ module Anthropic
|
|
|
73
94
|
params(
|
|
74
95
|
after_id: String,
|
|
75
96
|
before_id: String,
|
|
97
|
+
lifecycle:
|
|
98
|
+
T::Array[Anthropic::Beta::ModelListParams::Lifecycle::OrSymbol],
|
|
76
99
|
limit: Integer,
|
|
77
100
|
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
78
101
|
workspace_id: String,
|
|
@@ -86,6 +109,11 @@ module Anthropic
|
|
|
86
109
|
# ID of the object to use as a cursor for pagination. When provided, returns the
|
|
87
110
|
# page of results immediately before this object.
|
|
88
111
|
before_id: nil,
|
|
112
|
+
# Filter the list to models in any of the given lifecycle stages (`active`,
|
|
113
|
+
# `deprecated`, or `retired`). Up to 3 values. When omitted, the list contains the
|
|
114
|
+
# `active` and `deprecated` models; `retired` models appear only when `retired` is
|
|
115
|
+
# requested explicitly.
|
|
116
|
+
lifecycle: nil,
|
|
89
117
|
# Number of items to return per page.
|
|
90
118
|
#
|
|
91
119
|
# Defaults to `20`. Ranges from `1` to `1000`.
|
|
@@ -108,6 +136,8 @@ module Anthropic
|
|
|
108
136
|
{
|
|
109
137
|
after_id: String,
|
|
110
138
|
before_id: String,
|
|
139
|
+
lifecycle:
|
|
140
|
+
T::Array[Anthropic::Beta::ModelListParams::Lifecycle::OrSymbol],
|
|
111
141
|
limit: Integer,
|
|
112
142
|
betas:
|
|
113
143
|
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
@@ -118,6 +148,42 @@ module Anthropic
|
|
|
118
148
|
end
|
|
119
149
|
def to_hash
|
|
120
150
|
end
|
|
151
|
+
|
|
152
|
+
module Lifecycle
|
|
153
|
+
extend Anthropic::Internal::Type::Enum
|
|
154
|
+
|
|
155
|
+
TaggedSymbol =
|
|
156
|
+
T.type_alias do
|
|
157
|
+
T.all(Symbol, Anthropic::Beta::ModelListParams::Lifecycle)
|
|
158
|
+
end
|
|
159
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
160
|
+
|
|
161
|
+
ACTIVE =
|
|
162
|
+
T.let(
|
|
163
|
+
:active,
|
|
164
|
+
Anthropic::Beta::ModelListParams::Lifecycle::TaggedSymbol
|
|
165
|
+
)
|
|
166
|
+
DEPRECATED =
|
|
167
|
+
T.let(
|
|
168
|
+
:deprecated,
|
|
169
|
+
Anthropic::Beta::ModelListParams::Lifecycle::TaggedSymbol
|
|
170
|
+
)
|
|
171
|
+
RETIRED =
|
|
172
|
+
T.let(
|
|
173
|
+
:retired,
|
|
174
|
+
Anthropic::Beta::ModelListParams::Lifecycle::TaggedSymbol
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
sig do
|
|
178
|
+
override.returns(
|
|
179
|
+
T::Array[
|
|
180
|
+
Anthropic::Beta::ModelListParams::Lifecycle::TaggedSymbol
|
|
181
|
+
]
|
|
182
|
+
)
|
|
183
|
+
end
|
|
184
|
+
def self.values
|
|
185
|
+
end
|
|
186
|
+
end
|
|
121
187
|
end
|
|
122
188
|
end
|
|
123
189
|
end
|
|
@@ -21,7 +21,14 @@ module Anthropic
|
|
|
21
21
|
sig { returns(Time) }
|
|
22
22
|
attr_accessor :created_at
|
|
23
23
|
|
|
24
|
-
# Name of the RBAC Role.
|
|
24
|
+
# Name of the RBAC Role. For a role created by Anthropic, this name can differ
|
|
25
|
+
# from the label claude.ai shows, and Anthropic may change the name. To keep a
|
|
26
|
+
# lasting reference to a role, store its `id`.
|
|
27
|
+
sig { returns(String) }
|
|
28
|
+
attr_accessor :display_name
|
|
29
|
+
|
|
30
|
+
# Deprecated: use `display_name` instead. Name of the RBAC Role; always the same
|
|
31
|
+
# value as `display_name`.
|
|
25
32
|
sig { returns(String) }
|
|
26
33
|
attr_accessor :name
|
|
27
34
|
|
|
@@ -39,6 +46,7 @@ module Anthropic
|
|
|
39
46
|
params(
|
|
40
47
|
id: String,
|
|
41
48
|
created_at: Time,
|
|
49
|
+
display_name: String,
|
|
42
50
|
name: String,
|
|
43
51
|
updated_at: Time,
|
|
44
52
|
type: Symbol
|
|
@@ -49,7 +57,12 @@ module Anthropic
|
|
|
49
57
|
id:,
|
|
50
58
|
# RFC 3339 datetime string indicating when the RBAC Role was created.
|
|
51
59
|
created_at:,
|
|
52
|
-
# Name of the RBAC Role.
|
|
60
|
+
# Name of the RBAC Role. For a role created by Anthropic, this name can differ
|
|
61
|
+
# from the label claude.ai shows, and Anthropic may change the name. To keep a
|
|
62
|
+
# lasting reference to a role, store its `id`.
|
|
63
|
+
display_name:,
|
|
64
|
+
# Deprecated: use `display_name` instead. Name of the RBAC Role; always the same
|
|
65
|
+
# value as `display_name`.
|
|
53
66
|
name:,
|
|
54
67
|
# RFC 3339 datetime string indicating when the RBAC Role was last updated.
|
|
55
68
|
updated_at:,
|
|
@@ -65,6 +78,7 @@ module Anthropic
|
|
|
65
78
|
{
|
|
66
79
|
id: String,
|
|
67
80
|
created_at: Time,
|
|
81
|
+
display_name: String,
|
|
68
82
|
name: String,
|
|
69
83
|
type: Symbol,
|
|
70
84
|
updated_at: Time
|
|
@@ -81,8 +81,9 @@ module Anthropic
|
|
|
81
81
|
sig { returns(String) }
|
|
82
82
|
attr_accessor :oauth_scope
|
|
83
83
|
|
|
84
|
-
#
|
|
85
|
-
# `service_account`
|
|
84
|
+
# What this rule targets. Check `type` before reading the other fields. Tokens
|
|
85
|
+
# minted via a rule whose target `type` is `service_account` act as that service
|
|
86
|
+
# account.
|
|
86
87
|
sig do
|
|
87
88
|
returns(
|
|
88
89
|
Anthropic::Beta::Organization::Federation::BetaServiceAccountTarget
|
|
@@ -191,8 +192,9 @@ module Anthropic
|
|
|
191
192
|
name:,
|
|
192
193
|
# Space-separated OAuth scopes granted on the minted token.
|
|
193
194
|
oauth_scope:,
|
|
194
|
-
#
|
|
195
|
-
# `service_account`
|
|
195
|
+
# What this rule targets. Check `type` before reading the other fields. Tokens
|
|
196
|
+
# minted via a rule whose target `type` is `service_account` act as that service
|
|
197
|
+
# account.
|
|
196
198
|
target:,
|
|
197
199
|
# Lifetime in seconds of access tokens minted via this rule. Minted tokens are
|
|
198
200
|
# capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds.
|
|
@@ -56,6 +56,23 @@ module Anthropic
|
|
|
56
56
|
end
|
|
57
57
|
attr_writer :period
|
|
58
58
|
|
|
59
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
60
|
+
sig do
|
|
61
|
+
returns(
|
|
62
|
+
T.nilable(
|
|
63
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
64
|
+
)
|
|
65
|
+
)
|
|
66
|
+
end
|
|
67
|
+
attr_reader :betas
|
|
68
|
+
|
|
69
|
+
sig do
|
|
70
|
+
params(
|
|
71
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
72
|
+
).void
|
|
73
|
+
end
|
|
74
|
+
attr_writer :betas
|
|
75
|
+
|
|
59
76
|
sig do
|
|
60
77
|
params(
|
|
61
78
|
amount: T.nilable(String),
|
|
@@ -67,6 +84,8 @@ module Anthropic
|
|
|
67
84
|
),
|
|
68
85
|
period:
|
|
69
86
|
Anthropic::Beta::Organization::BetaSpendLimitPeriod::OrSymbol,
|
|
87
|
+
betas:
|
|
88
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
70
89
|
request_options: Anthropic::RequestOptions::OrHash
|
|
71
90
|
).returns(T.attached_class)
|
|
72
91
|
end
|
|
@@ -83,6 +102,8 @@ module Anthropic
|
|
|
83
102
|
# Anthropic account team.
|
|
84
103
|
scope:,
|
|
85
104
|
period: nil,
|
|
105
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
106
|
+
betas: nil,
|
|
86
107
|
request_options: {}
|
|
87
108
|
)
|
|
88
109
|
end
|
|
@@ -99,6 +120,8 @@ module Anthropic
|
|
|
99
120
|
),
|
|
100
121
|
period:
|
|
101
122
|
Anthropic::Beta::Organization::BetaSpendLimitPeriod::OrSymbol,
|
|
123
|
+
betas:
|
|
124
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
102
125
|
request_options: Anthropic::RequestOptions
|
|
103
126
|
}
|
|
104
127
|
)
|
|
@@ -39,6 +39,13 @@ module Anthropic
|
|
|
39
39
|
sig { params(include_archived: T::Boolean).void }
|
|
40
40
|
attr_writer :include_archived
|
|
41
41
|
|
|
42
|
+
# Whether to include the organization's default Workspace in the response
|
|
43
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
44
|
+
attr_reader :include_default
|
|
45
|
+
|
|
46
|
+
sig { params(include_default: T::Boolean).void }
|
|
47
|
+
attr_writer :include_default
|
|
48
|
+
|
|
42
49
|
# Number of items to return per page.
|
|
43
50
|
#
|
|
44
51
|
# Defaults to `20`. Ranges from `1` to `1000`.
|
|
@@ -53,6 +60,7 @@ module Anthropic
|
|
|
53
60
|
after_id: String,
|
|
54
61
|
before_id: String,
|
|
55
62
|
include_archived: T::Boolean,
|
|
63
|
+
include_default: T::Boolean,
|
|
56
64
|
limit: Integer,
|
|
57
65
|
request_options: Anthropic::RequestOptions::OrHash
|
|
58
66
|
).returns(T.attached_class)
|
|
@@ -66,6 +74,8 @@ module Anthropic
|
|
|
66
74
|
before_id: nil,
|
|
67
75
|
# Whether to include Workspaces that have been archived in the response
|
|
68
76
|
include_archived: nil,
|
|
77
|
+
# Whether to include the organization's default Workspace in the response
|
|
78
|
+
include_default: nil,
|
|
69
79
|
# Number of items to return per page.
|
|
70
80
|
#
|
|
71
81
|
# Defaults to `20`. Ranges from `1` to `1000`.
|
|
@@ -80,6 +90,7 @@ module Anthropic
|
|
|
80
90
|
after_id: String,
|
|
81
91
|
before_id: String,
|
|
82
92
|
include_archived: T::Boolean,
|
|
93
|
+
include_default: T::Boolean,
|
|
83
94
|
limit: Integer,
|
|
84
95
|
request_options: Anthropic::RequestOptions
|
|
85
96
|
}
|
|
@@ -104,7 +104,7 @@ module Anthropic
|
|
|
104
104
|
attr_writer :usage
|
|
105
105
|
|
|
106
106
|
# An execution thread within a `session`. Each session has one primary thread plus
|
|
107
|
-
# zero or more child threads
|
|
107
|
+
# zero or more child threads.
|
|
108
108
|
sig do
|
|
109
109
|
params(
|
|
110
110
|
id: String,
|
data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbi
CHANGED
|
@@ -36,8 +36,8 @@ module Anthropic
|
|
|
36
36
|
end
|
|
37
37
|
attr_accessor :type
|
|
38
38
|
|
|
39
|
-
# Emitted when a
|
|
40
|
-
#
|
|
39
|
+
# Emitted when a child thread is created. Written to the parent thread's output
|
|
40
|
+
# stream so clients observing the session see child creation.
|
|
41
41
|
sig do
|
|
42
42
|
params(
|
|
43
43
|
id: String,
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
# Where to act: either a viewport coordinate or an element reference.
|
|
6
|
+
module BrowserClickTarget
|
|
7
|
+
extend Anthropic::Internal::Type::Union
|
|
8
|
+
|
|
9
|
+
Variants =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Anthropic::BrowserCoordinateTarget, Anthropic::BrowserRefTarget)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
module Type
|
|
15
|
+
extend Anthropic::Internal::Type::Enum
|
|
16
|
+
|
|
17
|
+
TaggedSymbol =
|
|
18
|
+
T.type_alias { T.all(Symbol, Anthropic::BrowserClickTarget::Type) }
|
|
19
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
20
|
+
|
|
21
|
+
COORDINATE =
|
|
22
|
+
T.let(:coordinate, Anthropic::BrowserClickTarget::Type::TaggedSymbol)
|
|
23
|
+
REF = T.let(:ref, Anthropic::BrowserClickTarget::Type::TaggedSymbol)
|
|
24
|
+
|
|
25
|
+
sig do
|
|
26
|
+
override.returns(
|
|
27
|
+
T::Array[Anthropic::BrowserClickTarget::Type::TaggedSymbol]
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
def self.values
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(T::Array[Anthropic::BrowserClickTarget::Variants])
|
|
36
|
+
end
|
|
37
|
+
def self.variants
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
41
|
+
# value, passing the remaining arguments to its constructor.
|
|
42
|
+
sig do
|
|
43
|
+
params(
|
|
44
|
+
type: Anthropic::BrowserClickTarget::Type::OrSymbol,
|
|
45
|
+
x: Integer,
|
|
46
|
+
y_: Integer,
|
|
47
|
+
ref: String
|
|
48
|
+
).returns(Anthropic::BrowserClickTarget::Variants)
|
|
49
|
+
end
|
|
50
|
+
def self.new(
|
|
51
|
+
type:,
|
|
52
|
+
# Pixels from the left edge of the viewport.
|
|
53
|
+
x: nil,
|
|
54
|
+
# Pixels from the top edge of the viewport.
|
|
55
|
+
y_: nil,
|
|
56
|
+
# An element reference (e.g. "ref_7") returned by a prior `read_page` or `find`
|
|
57
|
+
# result.
|
|
58
|
+
ref: nil
|
|
59
|
+
)
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
class BrowserCloseTabInput < Anthropic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Anthropic::BrowserCloseTabInput, Anthropic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# The tab to close.
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
attr_accessor :tab_id
|
|
14
|
+
|
|
15
|
+
# Close the tab with the given tab_id.
|
|
16
|
+
sig { params(tab_id: String).returns(T.attached_class) }
|
|
17
|
+
def self.new(
|
|
18
|
+
# The tab to close.
|
|
19
|
+
tab_id:
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { override.returns({ tab_id: String }) }
|
|
24
|
+
def to_hash
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|