anthropic 1.76.0 → 1.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +43 -0
- data/README.md +1 -1
- data/lib/anthropic/internal/util.rb +8 -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.rb +10 -6
- 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.rbi +14 -9
- 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
|
@@ -33,12 +33,42 @@ module Anthropic
|
|
|
33
33
|
# @return [Time]
|
|
34
34
|
required :created_at, Time
|
|
35
35
|
|
|
36
|
+
# @!attribute deprecated_at
|
|
37
|
+
# RFC 3339 datetime string representing the time of the model's most recent
|
|
38
|
+
# deprecation. Populated for `deprecated` and `retired` models; `null` while the
|
|
39
|
+
# model is `active`.
|
|
40
|
+
#
|
|
41
|
+
# @return [Time, nil]
|
|
42
|
+
required :deprecated_at, Time, nil?: true
|
|
43
|
+
|
|
36
44
|
# @!attribute display_name
|
|
37
45
|
# A human-readable name for the model.
|
|
38
46
|
#
|
|
39
47
|
# @return [String]
|
|
40
48
|
required :display_name, String
|
|
41
49
|
|
|
50
|
+
# @!attribute lifecycle
|
|
51
|
+
# The model's current lifecycle stage.
|
|
52
|
+
#
|
|
53
|
+
# - `active`: The model is available for use, open to new adopters, and not
|
|
54
|
+
# scheduled for retirement.
|
|
55
|
+
# - `deprecated`: The model remains callable for organizations with existing
|
|
56
|
+
# access, but is headed for retirement and closed to new adopters.
|
|
57
|
+
# - `retired`: The model is no longer available for use; inference requests naming
|
|
58
|
+
# it fail. It remains in the catalogue as the historical record of its
|
|
59
|
+
# retirement.
|
|
60
|
+
#
|
|
61
|
+
# @return [Symbol, Anthropic::Models::Beta::BetaModelInfo::Lifecycle]
|
|
62
|
+
required :lifecycle, enum: -> { Anthropic::Beta::BetaModelInfo::Lifecycle }
|
|
63
|
+
|
|
64
|
+
# @!attribute line
|
|
65
|
+
# The model line this model belongs to, such as `opus` for both Claude Opus 4.5
|
|
66
|
+
# and Claude Opus 4.6. More lines may be added. `null` when the model belongs to
|
|
67
|
+
# no line; do not infer a line from the `id`.
|
|
68
|
+
#
|
|
69
|
+
# @return [Symbol, Anthropic::Models::Beta::BetaModelLine, nil]
|
|
70
|
+
required :line, enum: -> { Anthropic::Beta::BetaModelLine }, nil?: true
|
|
71
|
+
|
|
42
72
|
# @!attribute max_input_tokens
|
|
43
73
|
# Maximum input context window size in tokens for this model.
|
|
44
74
|
#
|
|
@@ -51,6 +81,16 @@ module Anthropic
|
|
|
51
81
|
# @return [Integer, nil]
|
|
52
82
|
required :max_tokens, Integer, nil?: true
|
|
53
83
|
|
|
84
|
+
# @!attribute retires_at
|
|
85
|
+
# RFC 3339 datetime string representing the model's currently scheduled retirement
|
|
86
|
+
# date. The schedule can be revised until retirement occurs; `null` while the
|
|
87
|
+
# model is `active` or while no retirement is scheduled. A past date on a
|
|
88
|
+
# `deprecated` model means retirement is overdue, not that it has occurred:
|
|
89
|
+
# `lifecycle` is the retirement signal.
|
|
90
|
+
#
|
|
91
|
+
# @return [Time, nil]
|
|
92
|
+
required :retires_at, Time, nil?: true
|
|
93
|
+
|
|
54
94
|
# @!attribute type
|
|
55
95
|
# Object type.
|
|
56
96
|
#
|
|
@@ -59,7 +99,7 @@ module Anthropic
|
|
|
59
99
|
# @return [Symbol, :model]
|
|
60
100
|
required :type, const: :model
|
|
61
101
|
|
|
62
|
-
# @!method initialize(id:, allowed_fallback_models:, capabilities:, created_at:, display_name:, max_input_tokens:, max_tokens:, type: :model)
|
|
102
|
+
# @!method initialize(id:, allowed_fallback_models:, capabilities:, created_at:, deprecated_at:, display_name:, lifecycle:, line:, max_input_tokens:, max_tokens:, retires_at:, type: :model)
|
|
63
103
|
# Some parameter documentations has been truncated, see
|
|
64
104
|
# {Anthropic::Models::Beta::BetaModelInfo} for more details.
|
|
65
105
|
#
|
|
@@ -71,13 +111,43 @@ module Anthropic
|
|
|
71
111
|
#
|
|
72
112
|
# @param created_at [Time] RFC 3339 datetime string representing the time at which the model was released.
|
|
73
113
|
#
|
|
114
|
+
# @param deprecated_at [Time, nil] RFC 3339 datetime string representing the time of the model's most recent deprec
|
|
115
|
+
#
|
|
74
116
|
# @param display_name [String] A human-readable name for the model.
|
|
75
117
|
#
|
|
118
|
+
# @param lifecycle [Symbol, Anthropic::Models::Beta::BetaModelInfo::Lifecycle] The model's current lifecycle stage.
|
|
119
|
+
#
|
|
120
|
+
# @param line [Symbol, Anthropic::Models::Beta::BetaModelLine, nil] The model line this model belongs to, such as `opus` for both Claude Opus 4.5 an
|
|
121
|
+
#
|
|
76
122
|
# @param max_input_tokens [Integer, nil] Maximum input context window size in tokens for this model.
|
|
77
123
|
#
|
|
78
124
|
# @param max_tokens [Integer, nil] Maximum value for the `max_tokens` parameter when using this model.
|
|
79
125
|
#
|
|
126
|
+
# @param retires_at [Time, nil] RFC 3339 datetime string representing the model's currently scheduled retirement
|
|
127
|
+
#
|
|
80
128
|
# @param type [Symbol, :model] Object type.
|
|
129
|
+
|
|
130
|
+
# The model's current lifecycle stage.
|
|
131
|
+
#
|
|
132
|
+
# - `active`: The model is available for use, open to new adopters, and not
|
|
133
|
+
# scheduled for retirement.
|
|
134
|
+
# - `deprecated`: The model remains callable for organizations with existing
|
|
135
|
+
# access, but is headed for retirement and closed to new adopters.
|
|
136
|
+
# - `retired`: The model is no longer available for use; inference requests naming
|
|
137
|
+
# it fail. It remains in the catalogue as the historical record of its
|
|
138
|
+
# retirement.
|
|
139
|
+
#
|
|
140
|
+
# @see Anthropic::Models::Beta::BetaModelInfo#lifecycle
|
|
141
|
+
module Lifecycle
|
|
142
|
+
extend Anthropic::Internal::Type::Enum
|
|
143
|
+
|
|
144
|
+
ACTIVE = :active
|
|
145
|
+
DEPRECATED = :deprecated
|
|
146
|
+
RETIRED = :retired
|
|
147
|
+
|
|
148
|
+
# @!method self.values
|
|
149
|
+
# @return [Array<Symbol>]
|
|
150
|
+
end
|
|
81
151
|
end
|
|
82
152
|
end
|
|
83
153
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# A Claude model line, such as `opus` or `sonnet`. More lines may be added as new
|
|
7
|
+
# values.
|
|
8
|
+
module BetaModelLine
|
|
9
|
+
extend Anthropic::Internal::Type::Enum
|
|
10
|
+
|
|
11
|
+
HAIKU = :haiku
|
|
12
|
+
SONNET = :sonnet
|
|
13
|
+
OPUS = :opus
|
|
14
|
+
FABLE = :fable
|
|
15
|
+
MYTHOS = :mythos
|
|
16
|
+
|
|
17
|
+
# @!method self.values
|
|
18
|
+
# @return [Array<Symbol>]
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
BetaModelLine = Beta::BetaModelLine
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaServerToolsCapability < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute code_execution
|
|
8
|
+
# Whether the model supports the code execution tool: true when the model supports
|
|
9
|
+
# at least one version of the tool, not necessarily every version.
|
|
10
|
+
#
|
|
11
|
+
# @return [Anthropic::Models::Beta::BetaCapabilitySupport]
|
|
12
|
+
required :code_execution, -> { Anthropic::Beta::BetaCapabilitySupport }
|
|
13
|
+
|
|
14
|
+
# @!attribute supported
|
|
15
|
+
# Whether this capability is supported by the model.
|
|
16
|
+
#
|
|
17
|
+
# @return [Boolean]
|
|
18
|
+
required :supported, Anthropic::Internal::Type::Boolean
|
|
19
|
+
|
|
20
|
+
# @!attribute web_search
|
|
21
|
+
# Whether the model supports the web search tool: true when the model supports at
|
|
22
|
+
# least one version of the tool, not necessarily every version.
|
|
23
|
+
#
|
|
24
|
+
# @return [Anthropic::Models::Beta::BetaCapabilitySupport]
|
|
25
|
+
required :web_search, -> { Anthropic::Beta::BetaCapabilitySupport }
|
|
26
|
+
|
|
27
|
+
# @!method initialize(code_execution:, supported:, web_search:)
|
|
28
|
+
# Web search and code execution tool support, with one entry per tool.
|
|
29
|
+
#
|
|
30
|
+
# Some parameter documentations has been truncated, see
|
|
31
|
+
# {Anthropic::Models::Beta::BetaServerToolsCapability} for more details.
|
|
32
|
+
#
|
|
33
|
+
# @param code_execution [Anthropic::Models::Beta::BetaCapabilitySupport] Whether the model supports the code execution tool: true when the model supports
|
|
34
|
+
#
|
|
35
|
+
# @param supported [Boolean] Whether this capability is supported by the model.
|
|
36
|
+
#
|
|
37
|
+
# @param web_search [Anthropic::Models::Beta::BetaCapabilitySupport] Whether the model supports the web search tool: true when the model supports at
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
BetaServerToolsCapability = Beta::BetaServerToolsCapability
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -5,23 +5,39 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaThinkingTypes < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute adaptive
|
|
8
|
-
# Whether the model
|
|
8
|
+
# Whether the model accepts thinking with type 'adaptive' (the model decides
|
|
9
|
+
# whether and how much to think).
|
|
9
10
|
#
|
|
10
11
|
# @return [Anthropic::Models::Beta::BetaCapabilitySupport]
|
|
11
12
|
required :adaptive, -> { Anthropic::Beta::BetaCapabilitySupport }
|
|
12
13
|
|
|
14
|
+
# @!attribute disabled
|
|
15
|
+
# Whether the model accepts thinking with type 'disabled' (thinking turned off).
|
|
16
|
+
# False exactly when a request that sends it gets a 400 from this model. True on a
|
|
17
|
+
# model that does not support thinking.
|
|
18
|
+
#
|
|
19
|
+
# @return [Anthropic::Models::Beta::BetaCapabilitySupport]
|
|
20
|
+
required :disabled, -> { Anthropic::Beta::BetaCapabilitySupport }
|
|
21
|
+
|
|
13
22
|
# @!attribute enabled
|
|
14
|
-
# Whether the model
|
|
23
|
+
# Whether the model accepts thinking with type 'enabled' (extended thinking with a
|
|
24
|
+
# caller-set `budget_tokens`).
|
|
15
25
|
#
|
|
16
26
|
# @return [Anthropic::Models::Beta::BetaCapabilitySupport]
|
|
17
27
|
required :enabled, -> { Anthropic::Beta::BetaCapabilitySupport }
|
|
18
28
|
|
|
19
|
-
# @!method initialize(adaptive:, enabled:)
|
|
20
|
-
#
|
|
29
|
+
# @!method initialize(adaptive:, disabled:, enabled:)
|
|
30
|
+
# Which `thinking.type` values the model accepts on requests. Read each key on its
|
|
31
|
+
# own: for example, `enabled` can be false while `disabled` is true.
|
|
32
|
+
#
|
|
33
|
+
# Some parameter documentations has been truncated, see
|
|
34
|
+
# {Anthropic::Models::Beta::BetaThinkingTypes} for more details.
|
|
35
|
+
#
|
|
36
|
+
# @param adaptive [Anthropic::Models::Beta::BetaCapabilitySupport] Whether the model accepts thinking with type 'adaptive' (the model decides wheth
|
|
21
37
|
#
|
|
22
|
-
# @param
|
|
38
|
+
# @param disabled [Anthropic::Models::Beta::BetaCapabilitySupport] Whether the model accepts thinking with type 'disabled' (thinking turned off). F
|
|
23
39
|
#
|
|
24
|
-
# @param enabled [Anthropic::Models::Beta::BetaCapabilitySupport] Whether the model
|
|
40
|
+
# @param enabled [Anthropic::Models::Beta::BetaCapabilitySupport] Whether the model accepts thinking with type 'enabled' (extended thinking with a
|
|
25
41
|
end
|
|
26
42
|
end
|
|
27
43
|
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# Which party invoked the tool call: the model directly, or a server tool on its
|
|
7
|
+
# behalf.
|
|
8
|
+
module BetaToolUseCaller
|
|
9
|
+
extend Anthropic::Internal::Type::Union
|
|
10
|
+
|
|
11
|
+
discriminator :type
|
|
12
|
+
|
|
13
|
+
# Tool invocation directly from the model.
|
|
14
|
+
variant :direct, -> { Anthropic::Beta::BetaDirectCaller }
|
|
15
|
+
|
|
16
|
+
# Tool invocation generated by a server-side tool.
|
|
17
|
+
variant :code_execution_20250825, -> { Anthropic::Beta::BetaServerToolCaller }
|
|
18
|
+
|
|
19
|
+
variant :code_execution_20260120, -> { Anthropic::Beta::BetaServerToolCaller20260120 }
|
|
20
|
+
|
|
21
|
+
module Type
|
|
22
|
+
extend Anthropic::Internal::Type::Enum
|
|
23
|
+
|
|
24
|
+
DIRECT = :direct
|
|
25
|
+
CODE_EXECUTION_20250825 = :code_execution_20250825
|
|
26
|
+
CODE_EXECUTION_20260120 = :code_execution_20260120
|
|
27
|
+
|
|
28
|
+
# @!method self.values
|
|
29
|
+
# @return [Array<Symbol>]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# @!method self.variants
|
|
33
|
+
# @return [Array(Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120)]
|
|
34
|
+
|
|
35
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
36
|
+
# value, passing the remaining arguments to its constructor.
|
|
37
|
+
#
|
|
38
|
+
# @param type [Symbol, Anthropic::Models::Beta::BetaToolUseCaller::Type, String]
|
|
39
|
+
#
|
|
40
|
+
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
41
|
+
#
|
|
42
|
+
# @option args [String] :tool_id
|
|
43
|
+
#
|
|
44
|
+
# @raise [ArgumentError]
|
|
45
|
+
# @return [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120]
|
|
46
|
+
def self.new(type:, **args)
|
|
47
|
+
case type.to_sym
|
|
48
|
+
when :direct
|
|
49
|
+
Anthropic::Beta::BetaDirectCaller.new(**args)
|
|
50
|
+
when :code_execution_20250825
|
|
51
|
+
Anthropic::Beta::BetaServerToolCaller.new(**args)
|
|
52
|
+
when :code_execution_20260120
|
|
53
|
+
Anthropic::Beta::BetaServerToolCaller20260120.new(**args)
|
|
54
|
+
else
|
|
55
|
+
raise ArgumentError, "unknown type: #{type}"
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
BetaToolUseCaller = Beta::BetaToolUseCaller
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module BetaToolsetToolUseBlock
|
|
7
|
+
extend Anthropic::Internal::Type::Union
|
|
8
|
+
|
|
9
|
+
variant union: -> { Anthropic::Beta::BetaBrowserToolUseBlock }
|
|
10
|
+
|
|
11
|
+
variant union: -> { Anthropic::Beta::BetaComputerToolUseBlock }
|
|
12
|
+
|
|
13
|
+
variant -> { Anthropic::Beta::BetaToolUseBlock }
|
|
14
|
+
|
|
15
|
+
# @!method self.variants
|
|
16
|
+
# @return [Array(Anthropic::Models::Beta::BetaBrowserNavigateToolUseBlock, Anthropic::Models::Beta::BetaBrowserListTabsToolUseBlock, Anthropic::Models::Beta::BetaBrowserNewTabToolUseBlock, Anthropic::Models::Beta::BetaBrowserSwitchTabToolUseBlock, Anthropic::Models::Beta::BetaBrowserCloseTabToolUseBlock, Anthropic::Models::Beta::BetaBrowserReadPageToolUseBlock, Anthropic::Models::Beta::BetaBrowserGetPageTextToolUseBlock, Anthropic::Models::Beta::BetaBrowserReadConsoleToolUseBlock, Anthropic::Models::Beta::BetaBrowserReadNetworkToolUseBlock, Anthropic::Models::Beta::BetaBrowserFindToolUseBlock, Anthropic::Models::Beta::BetaBrowserFormInputToolUseBlock, Anthropic::Models::Beta::BetaBrowserFileUploadToolUseBlock, Anthropic::Models::Beta::BetaBrowserScrollToToolUseBlock, Anthropic::Models::Beta::BetaBrowserScreenshotToolUseBlock, Anthropic::Models::Beta::BetaBrowserZoomToolUseBlock, Anthropic::Models::Beta::BetaBrowserLeftClickToolUseBlock, Anthropic::Models::Beta::BetaBrowserRightClickToolUseBlock, Anthropic::Models::Beta::BetaBrowserMiddleClickToolUseBlock, Anthropic::Models::Beta::BetaBrowserDoubleClickToolUseBlock, Anthropic::Models::Beta::BetaBrowserTripleClickToolUseBlock, Anthropic::Models::Beta::BetaBrowserHoverToolUseBlock, Anthropic::Models::Beta::BetaBrowserLeftClickDragToolUseBlock, Anthropic::Models::Beta::BetaBrowserLeftMouseDownToolUseBlock, Anthropic::Models::Beta::BetaBrowserLeftMouseUpToolUseBlock, Anthropic::Models::Beta::BetaBrowserMouseMoveToolUseBlock, Anthropic::Models::Beta::BetaBrowserScrollToolUseBlock, Anthropic::Models::Beta::BetaBrowserTypeToolUseBlock, Anthropic::Models::Beta::BetaBrowserKeyToolUseBlock, Anthropic::Models::Beta::BetaBrowserHoldKeyToolUseBlock, Anthropic::Models::Beta::BetaBrowserWaitToolUseBlock, Anthropic::Models::Beta::BetaBrowserJavascriptExecToolUseBlock, Anthropic::Models::Beta::BetaComputerKeyToolUseBlock, Anthropic::Models::Beta::BetaComputerHoldKeyToolUseBlock, Anthropic::Models::Beta::BetaComputerTypeToolUseBlock, Anthropic::Models::Beta::BetaComputerCursorPositionToolUseBlock, Anthropic::Models::Beta::BetaComputerMouseMoveToolUseBlock, Anthropic::Models::Beta::BetaComputerLeftMouseDownToolUseBlock, Anthropic::Models::Beta::BetaComputerLeftMouseUpToolUseBlock, Anthropic::Models::Beta::BetaComputerLeftClickToolUseBlock, Anthropic::Models::Beta::BetaComputerLeftClickDragToolUseBlock, Anthropic::Models::Beta::BetaComputerRightClickToolUseBlock, Anthropic::Models::Beta::BetaComputerMiddleClickToolUseBlock, Anthropic::Models::Beta::BetaComputerDoubleClickToolUseBlock, Anthropic::Models::Beta::BetaComputerTripleClickToolUseBlock, Anthropic::Models::Beta::BetaComputerScrollToolUseBlock, Anthropic::Models::Beta::BetaComputerWaitToolUseBlock, Anthropic::Models::Beta::BetaComputerScreenshotToolUseBlock, Anthropic::Models::Beta::BetaComputerZoomToolUseBlock, Anthropic::Models::Beta::BetaToolUseBlock)]
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
BetaToolsetToolUseBlock = Beta::BetaToolsetToolUseBlock
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -22,6 +22,16 @@ module Anthropic
|
|
|
22
22
|
# @return [String, nil]
|
|
23
23
|
optional :before_id, String
|
|
24
24
|
|
|
25
|
+
# @!attribute lifecycle
|
|
26
|
+
# Filter the list to models in any of the given lifecycle stages (`active`,
|
|
27
|
+
# `deprecated`, or `retired`). Up to 3 values. When omitted, the list contains the
|
|
28
|
+
# `active` and `deprecated` models; `retired` models appear only when `retired` is
|
|
29
|
+
# requested explicitly.
|
|
30
|
+
#
|
|
31
|
+
# @return [Array<Symbol, Anthropic::Models::Beta::ModelListParams::Lifecycle>, nil]
|
|
32
|
+
optional :lifecycle,
|
|
33
|
+
-> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::ModelListParams::Lifecycle] }
|
|
34
|
+
|
|
25
35
|
# @!attribute limit
|
|
26
36
|
# Number of items to return per page.
|
|
27
37
|
#
|
|
@@ -47,7 +57,7 @@ module Anthropic
|
|
|
47
57
|
# @return [String, nil]
|
|
48
58
|
optional :workspace_id, String
|
|
49
59
|
|
|
50
|
-
# @!method initialize(after_id: nil, before_id: nil, limit: nil, betas: nil, workspace_id: nil, request_options: {})
|
|
60
|
+
# @!method initialize(after_id: nil, before_id: nil, lifecycle: nil, limit: nil, betas: nil, workspace_id: nil, request_options: {})
|
|
51
61
|
# Some parameter documentations has been truncated, see
|
|
52
62
|
# {Anthropic::Models::Beta::ModelListParams} for more details.
|
|
53
63
|
#
|
|
@@ -55,6 +65,8 @@ module Anthropic
|
|
|
55
65
|
#
|
|
56
66
|
# @param before_id [String] ID of the object to use as a cursor for pagination. When provided, returns the p
|
|
57
67
|
#
|
|
68
|
+
# @param lifecycle [Array<Symbol, Anthropic::Models::Beta::ModelListParams::Lifecycle>] Filter the list to models in any of the given lifecycle stages (`active`, `depre
|
|
69
|
+
#
|
|
58
70
|
# @param limit [Integer] Number of items to return per page.
|
|
59
71
|
#
|
|
60
72
|
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
@@ -62,6 +74,17 @@ module Anthropic
|
|
|
62
74
|
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
63
75
|
#
|
|
64
76
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
77
|
+
|
|
78
|
+
module Lifecycle
|
|
79
|
+
extend Anthropic::Internal::Type::Enum
|
|
80
|
+
|
|
81
|
+
ACTIVE = :active
|
|
82
|
+
DEPRECATED = :deprecated
|
|
83
|
+
RETIRED = :retired
|
|
84
|
+
|
|
85
|
+
# @!method self.values
|
|
86
|
+
# @return [Array<Symbol>]
|
|
87
|
+
end
|
|
65
88
|
end
|
|
66
89
|
end
|
|
67
90
|
end
|
|
@@ -18,8 +18,19 @@ module Anthropic
|
|
|
18
18
|
# @return [Time]
|
|
19
19
|
required :created_at, Time
|
|
20
20
|
|
|
21
|
+
# @!attribute display_name
|
|
22
|
+
# Name of the RBAC Role. For a role created by Anthropic, this name can differ
|
|
23
|
+
# from the label claude.ai shows, and Anthropic may change the name. To keep a
|
|
24
|
+
# lasting reference to a role, store its `id`.
|
|
25
|
+
#
|
|
26
|
+
# @return [String]
|
|
27
|
+
required :display_name, String
|
|
28
|
+
|
|
21
29
|
# @!attribute name
|
|
22
|
-
#
|
|
30
|
+
# @deprecated Use `display_name` instead; `name` always has the same value.
|
|
31
|
+
#
|
|
32
|
+
# Deprecated: use `display_name` instead. Name of the RBAC Role; always the same
|
|
33
|
+
# value as `display_name`.
|
|
23
34
|
#
|
|
24
35
|
# @return [String]
|
|
25
36
|
required :name, String
|
|
@@ -38,7 +49,7 @@ module Anthropic
|
|
|
38
49
|
# @return [Time]
|
|
39
50
|
required :updated_at, Time
|
|
40
51
|
|
|
41
|
-
# @!method initialize(id:, created_at:, name:, updated_at:, type: :rbac_role)
|
|
52
|
+
# @!method initialize(id:, created_at:, display_name:, name:, updated_at:, type: :rbac_role)
|
|
42
53
|
# Some parameter documentations has been truncated, see
|
|
43
54
|
# {Anthropic::Models::Beta::Organization::BetaRBACRole} for more details.
|
|
44
55
|
#
|
|
@@ -46,7 +57,9 @@ module Anthropic
|
|
|
46
57
|
#
|
|
47
58
|
# @param created_at [Time] RFC 3339 datetime string indicating when the RBAC Role was created.
|
|
48
59
|
#
|
|
49
|
-
# @param
|
|
60
|
+
# @param display_name [String] Name of the RBAC Role. For a role created by Anthropic, this name can differ fro
|
|
61
|
+
#
|
|
62
|
+
# @param name [String] Deprecated: use `display_name` instead. Name of the RBAC Role; always the same v
|
|
50
63
|
#
|
|
51
64
|
# @param updated_at [Time] RFC 3339 datetime string indicating when the RBAC Role was last updated.
|
|
52
65
|
#
|
|
@@ -89,8 +89,9 @@ module Anthropic
|
|
|
89
89
|
required :oauth_scope, String
|
|
90
90
|
|
|
91
91
|
# @!attribute target
|
|
92
|
-
#
|
|
93
|
-
# `service_account`
|
|
92
|
+
# What this rule targets. Check `type` before reading the other fields. Tokens
|
|
93
|
+
# minted via a rule whose target `type` is `service_account` act as that service
|
|
94
|
+
# account.
|
|
94
95
|
#
|
|
95
96
|
# @return [Anthropic::Models::Beta::Organization::Federation::BetaServiceAccountTarget]
|
|
96
97
|
required :target, -> { Anthropic::Beta::Organization::Federation::BetaServiceAccountTarget }
|
|
@@ -176,7 +177,7 @@ module Anthropic
|
|
|
176
177
|
#
|
|
177
178
|
# @param oauth_scope [String] Space-separated OAuth scopes granted on the minted token.
|
|
178
179
|
#
|
|
179
|
-
# @param target [Anthropic::Models::Beta::Organization::Federation::BetaServiceAccountTarget]
|
|
180
|
+
# @param target [Anthropic::Models::Beta::Organization::Federation::BetaServiceAccountTarget] What this rule targets. Check `type` before reading the other fields. Tokens min
|
|
180
181
|
#
|
|
181
182
|
# @param token_lifetime_seconds [Integer] Lifetime in seconds of access tokens minted via this rule. Minted tokens are cap
|
|
182
183
|
#
|
|
@@ -33,7 +33,13 @@ module Anthropic
|
|
|
33
33
|
# @return [Symbol, Anthropic::Models::Beta::Organization::BetaSpendLimitPeriod, nil]
|
|
34
34
|
optional :period, enum: -> { Anthropic::Beta::Organization::BetaSpendLimitPeriod }
|
|
35
35
|
|
|
36
|
-
# @!
|
|
36
|
+
# @!attribute betas
|
|
37
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
38
|
+
#
|
|
39
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
40
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
41
|
+
|
|
42
|
+
# @!method initialize(amount:, scope:, period: nil, betas: nil, request_options: {})
|
|
37
43
|
# Some parameter documentations has been truncated, see
|
|
38
44
|
# {Anthropic::Models::Beta::Organization::SpendLimitSetParams} for more details.
|
|
39
45
|
#
|
|
@@ -43,6 +49,8 @@ module Anthropic
|
|
|
43
49
|
#
|
|
44
50
|
# @param period [Symbol, Anthropic::Models::Beta::Organization::BetaSpendLimitPeriod]
|
|
45
51
|
#
|
|
52
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
53
|
+
#
|
|
46
54
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
47
55
|
|
|
48
56
|
# What the limit applies to. Claude Enterprise organizations set `user` limits.
|
|
@@ -29,6 +29,12 @@ module Anthropic
|
|
|
29
29
|
# @return [Boolean, nil]
|
|
30
30
|
optional :include_archived, Anthropic::Internal::Type::Boolean
|
|
31
31
|
|
|
32
|
+
# @!attribute include_default
|
|
33
|
+
# Whether to include the organization's default Workspace in the response
|
|
34
|
+
#
|
|
35
|
+
# @return [Boolean, nil]
|
|
36
|
+
optional :include_default, Anthropic::Internal::Type::Boolean
|
|
37
|
+
|
|
32
38
|
# @!attribute limit
|
|
33
39
|
# Number of items to return per page.
|
|
34
40
|
#
|
|
@@ -37,7 +43,7 @@ module Anthropic
|
|
|
37
43
|
# @return [Integer, nil]
|
|
38
44
|
optional :limit, Integer
|
|
39
45
|
|
|
40
|
-
# @!method initialize(after_id: nil, before_id: nil, include_archived: nil, limit: nil, request_options: {})
|
|
46
|
+
# @!method initialize(after_id: nil, before_id: nil, include_archived: nil, include_default: nil, limit: nil, request_options: {})
|
|
41
47
|
# Some parameter documentations has been truncated, see
|
|
42
48
|
# {Anthropic::Models::Beta::Organization::WorkspaceListParams} for more details.
|
|
43
49
|
#
|
|
@@ -47,6 +53,8 @@ module Anthropic
|
|
|
47
53
|
#
|
|
48
54
|
# @param include_archived [Boolean] Whether to include Workspaces that have been archived in the response
|
|
49
55
|
#
|
|
56
|
+
# @param include_default [Boolean] Whether to include the organization's default Workspace in the response
|
|
57
|
+
#
|
|
50
58
|
# @param limit [Integer] Number of items to return per page.
|
|
51
59
|
#
|
|
52
60
|
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -79,7 +79,7 @@ module Anthropic
|
|
|
79
79
|
variant :"session.status_terminated",
|
|
80
80
|
-> { Anthropic::Beta::Sessions::BetaManagedAgentsSessionStatusTerminatedEvent }
|
|
81
81
|
|
|
82
|
-
# Emitted when a
|
|
82
|
+
# Emitted when a child thread is created. Written to the parent thread's output stream so clients observing the session see child creation.
|
|
83
83
|
variant :"session.thread_created",
|
|
84
84
|
-> { Anthropic::Beta::Sessions::BetaManagedAgentsSessionThreadCreatedEvent }
|
|
85
85
|
|
|
@@ -76,7 +76,7 @@ module Anthropic
|
|
|
76
76
|
|
|
77
77
|
# @!method initialize(id:, agent:, archived_at:, created_at:, parent_thread_id:, session_id:, stats:, status:, type:, updated_at:, usage:)
|
|
78
78
|
# An execution thread within a `session`. Each session has one primary thread plus
|
|
79
|
-
# zero or more child threads
|
|
79
|
+
# zero or more child threads.
|
|
80
80
|
#
|
|
81
81
|
# Some parameter documentations has been truncated, see
|
|
82
82
|
# {Anthropic::Models::Beta::Sessions::BetaManagedAgentsSessionThread} for more
|
|
@@ -35,8 +35,8 @@ module Anthropic
|
|
|
35
35
|
required :type, enum: -> { Anthropic::Beta::Sessions::BetaManagedAgentsSessionThreadCreatedEvent::Type }
|
|
36
36
|
|
|
37
37
|
# @!method initialize(id:, agent_name:, processed_at:, session_thread_id:, type:)
|
|
38
|
-
# Emitted when a
|
|
39
|
-
#
|
|
38
|
+
# Emitted when a child thread is created. Written to the parent thread's output
|
|
39
|
+
# stream so clients observing the session see child creation.
|
|
40
40
|
#
|
|
41
41
|
# @param id [String] Unique identifier for this event.
|
|
42
42
|
#
|
|
@@ -79,7 +79,7 @@ module Anthropic
|
|
|
79
79
|
variant :"session.status_terminated",
|
|
80
80
|
-> { Anthropic::Beta::Sessions::BetaManagedAgentsSessionStatusTerminatedEvent }
|
|
81
81
|
|
|
82
|
-
# Emitted when a
|
|
82
|
+
# Emitted when a child thread is created. Written to the parent thread's output stream so clients observing the session see child creation.
|
|
83
83
|
variant :"session.thread_created",
|
|
84
84
|
-> { Anthropic::Beta::Sessions::BetaManagedAgentsSessionThreadCreatedEvent }
|
|
85
85
|
|
|
@@ -77,7 +77,7 @@ module Anthropic
|
|
|
77
77
|
variant :"session.status_terminated",
|
|
78
78
|
-> { Anthropic::Beta::Sessions::BetaManagedAgentsSessionStatusTerminatedEvent }
|
|
79
79
|
|
|
80
|
-
# Emitted when a
|
|
80
|
+
# Emitted when a child thread is created. Written to the parent thread's output stream so clients observing the session see child creation.
|
|
81
81
|
variant :"session.thread_created",
|
|
82
82
|
-> { Anthropic::Beta::Sessions::BetaManagedAgentsSessionThreadCreatedEvent }
|
|
83
83
|
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
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
|
+
discriminator :type
|
|
10
|
+
|
|
11
|
+
# A point in the browser viewport, in viewport pixels (the same frame as a
|
|
12
|
+
# full-viewport screenshot).
|
|
13
|
+
variant :coordinate, -> { Anthropic::BrowserCoordinateTarget }
|
|
14
|
+
|
|
15
|
+
# An element on the page, identified by a reference from a prior `read_page` or
|
|
16
|
+
# `find` result. References are scoped to the tab that produced them and become
|
|
17
|
+
# stale after navigation or a major re-render.
|
|
18
|
+
variant :ref, -> { Anthropic::BrowserRefTarget }
|
|
19
|
+
|
|
20
|
+
module Type
|
|
21
|
+
extend Anthropic::Internal::Type::Enum
|
|
22
|
+
|
|
23
|
+
COORDINATE = :coordinate
|
|
24
|
+
REF = :ref
|
|
25
|
+
|
|
26
|
+
# @!method self.values
|
|
27
|
+
# @return [Array<Symbol>]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# @!method self.variants
|
|
31
|
+
# @return [Array(Anthropic::Models::BrowserCoordinateTarget, Anthropic::Models::BrowserRefTarget)]
|
|
32
|
+
|
|
33
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
34
|
+
# value, passing the remaining arguments to its constructor.
|
|
35
|
+
#
|
|
36
|
+
# Some parameter documentations has been truncated, see
|
|
37
|
+
# {Anthropic::Models::BrowserClickTarget} for more details.
|
|
38
|
+
#
|
|
39
|
+
# @param type [Symbol, Anthropic::Models::BrowserClickTarget::Type, String]
|
|
40
|
+
#
|
|
41
|
+
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
42
|
+
#
|
|
43
|
+
# @option args [Integer] :x Pixels from the left edge of the viewport.
|
|
44
|
+
#
|
|
45
|
+
# @option args [Integer] :y_ Pixels from the top edge of the viewport.
|
|
46
|
+
#
|
|
47
|
+
# @option args [String] :ref An element reference (e.g. "ref_7") returned by a prior `read_page` or `find` re
|
|
48
|
+
#
|
|
49
|
+
# @raise [ArgumentError]
|
|
50
|
+
# @return [Anthropic::Models::BrowserCoordinateTarget, Anthropic::Models::BrowserRefTarget]
|
|
51
|
+
def self.new(type:, **args)
|
|
52
|
+
case type.to_sym
|
|
53
|
+
when :coordinate
|
|
54
|
+
Anthropic::BrowserCoordinateTarget.new(**args)
|
|
55
|
+
when :ref
|
|
56
|
+
Anthropic::BrowserRefTarget.new(**args)
|
|
57
|
+
else
|
|
58
|
+
raise ArgumentError, "unknown type: #{type}"
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
class BrowserCloseTabInput < Anthropic::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute tab_id
|
|
7
|
+
# The tab to close.
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :tab_id, String
|
|
11
|
+
|
|
12
|
+
# @!method initialize(tab_id:)
|
|
13
|
+
# Close the tab with the given tab_id.
|
|
14
|
+
#
|
|
15
|
+
# @param tab_id [String] The tab to close.
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|