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
|
@@ -22,7 +22,10 @@ module Anthropic
|
|
|
22
22
|
sig { params(citations: Anthropic::CapabilitySupport::OrHash).void }
|
|
23
23
|
attr_writer :citations
|
|
24
24
|
|
|
25
|
-
# Whether the model
|
|
25
|
+
# Whether code that the model runs in the code execution tool can call the
|
|
26
|
+
# request's other tools, as in programmatic tool calling and dynamic filtering for
|
|
27
|
+
# web search and web fetch. Support for the code execution tool itself is in
|
|
28
|
+
# `server_tools.code_execution`.
|
|
26
29
|
sig { returns(Anthropic::CapabilitySupport) }
|
|
27
30
|
attr_reader :code_execution
|
|
28
31
|
|
|
@@ -61,6 +64,18 @@ module Anthropic
|
|
|
61
64
|
sig { params(pdf_input: Anthropic::CapabilitySupport::OrHash).void }
|
|
62
65
|
attr_writer :pdf_input
|
|
63
66
|
|
|
67
|
+
# Whether this model supports the web search and code execution server tools.
|
|
68
|
+
# `supported` is true when the model supports at least one of the tools. A
|
|
69
|
+
# supported tool can still be rejected for your organization, for example when an
|
|
70
|
+
# admin has turned web search off.
|
|
71
|
+
sig { returns(Anthropic::ServerToolsCapability) }
|
|
72
|
+
attr_reader :server_tools
|
|
73
|
+
|
|
74
|
+
sig do
|
|
75
|
+
params(server_tools: Anthropic::ServerToolsCapability::OrHash).void
|
|
76
|
+
end
|
|
77
|
+
attr_writer :server_tools
|
|
78
|
+
|
|
64
79
|
# Whether the model supports structured output / JSON mode / strict tool schemas.
|
|
65
80
|
sig { returns(Anthropic::CapabilitySupport) }
|
|
66
81
|
attr_reader :structured_outputs
|
|
@@ -87,6 +102,7 @@ module Anthropic
|
|
|
87
102
|
effort: Anthropic::EffortCapability::OrHash,
|
|
88
103
|
image_input: Anthropic::CapabilitySupport::OrHash,
|
|
89
104
|
pdf_input: Anthropic::CapabilitySupport::OrHash,
|
|
105
|
+
server_tools: Anthropic::ServerToolsCapability::OrHash,
|
|
90
106
|
structured_outputs: Anthropic::CapabilitySupport::OrHash,
|
|
91
107
|
thinking: Anthropic::ThinkingCapability::OrHash
|
|
92
108
|
).returns(T.attached_class)
|
|
@@ -96,7 +112,10 @@ module Anthropic
|
|
|
96
112
|
batch:,
|
|
97
113
|
# Whether the model supports citation generation.
|
|
98
114
|
citations:,
|
|
99
|
-
# Whether the model
|
|
115
|
+
# Whether code that the model runs in the code execution tool can call the
|
|
116
|
+
# request's other tools, as in programmatic tool calling and dynamic filtering for
|
|
117
|
+
# web search and web fetch. Support for the code execution tool itself is in
|
|
118
|
+
# `server_tools.code_execution`.
|
|
100
119
|
code_execution:,
|
|
101
120
|
# Context management support and available strategies.
|
|
102
121
|
context_management:,
|
|
@@ -106,6 +125,11 @@ module Anthropic
|
|
|
106
125
|
image_input:,
|
|
107
126
|
# Whether the model accepts PDF content blocks.
|
|
108
127
|
pdf_input:,
|
|
128
|
+
# Whether this model supports the web search and code execution server tools.
|
|
129
|
+
# `supported` is true when the model supports at least one of the tools. A
|
|
130
|
+
# supported tool can still be rejected for your organization, for example when an
|
|
131
|
+
# admin has turned web search off.
|
|
132
|
+
server_tools:,
|
|
109
133
|
# Whether the model supports structured output / JSON mode / strict tool schemas.
|
|
110
134
|
structured_outputs:,
|
|
111
135
|
# Thinking capability and supported type configurations.
|
|
@@ -123,6 +147,7 @@ module Anthropic
|
|
|
123
147
|
effort: Anthropic::EffortCapability,
|
|
124
148
|
image_input: Anthropic::CapabilitySupport,
|
|
125
149
|
pdf_input: Anthropic::CapabilitySupport,
|
|
150
|
+
server_tools: Anthropic::ServerToolsCapability,
|
|
126
151
|
structured_outputs: Anthropic::CapabilitySupport,
|
|
127
152
|
thinking: Anthropic::ThinkingCapability
|
|
128
153
|
}
|
|
@@ -29,10 +29,34 @@ module Anthropic
|
|
|
29
29
|
sig { returns(Time) }
|
|
30
30
|
attr_accessor :created_at
|
|
31
31
|
|
|
32
|
+
# RFC 3339 datetime string representing the time of the model's most recent
|
|
33
|
+
# deprecation. Populated for `deprecated` and `retired` models; `null` while the
|
|
34
|
+
# model is `active`.
|
|
35
|
+
sig { returns(T.nilable(Time)) }
|
|
36
|
+
attr_accessor :deprecated_at
|
|
37
|
+
|
|
32
38
|
# A human-readable name for the model.
|
|
33
39
|
sig { returns(String) }
|
|
34
40
|
attr_accessor :display_name
|
|
35
41
|
|
|
42
|
+
# The model's current lifecycle stage.
|
|
43
|
+
#
|
|
44
|
+
# - `active`: The model is available for use, open to new adopters, and not
|
|
45
|
+
# scheduled for retirement.
|
|
46
|
+
# - `deprecated`: The model remains callable for organizations with existing
|
|
47
|
+
# access, but is headed for retirement and closed to new adopters.
|
|
48
|
+
# - `retired`: The model is no longer available for use; inference requests naming
|
|
49
|
+
# it fail. It remains in the catalogue as the historical record of its
|
|
50
|
+
# retirement.
|
|
51
|
+
sig { returns(Anthropic::ModelInfo::Lifecycle::TaggedSymbol) }
|
|
52
|
+
attr_accessor :lifecycle
|
|
53
|
+
|
|
54
|
+
# The model line this model belongs to, such as `opus` for both Claude Opus 4.5
|
|
55
|
+
# and Claude Opus 4.6. More lines may be added. `null` when the model belongs to
|
|
56
|
+
# no line; do not infer a line from the `id`.
|
|
57
|
+
sig { returns(T.nilable(Anthropic::ModelLine::TaggedSymbol)) }
|
|
58
|
+
attr_accessor :line
|
|
59
|
+
|
|
36
60
|
# Maximum input context window size in tokens for this model.
|
|
37
61
|
sig { returns(T.nilable(Integer)) }
|
|
38
62
|
attr_accessor :max_input_tokens
|
|
@@ -41,6 +65,14 @@ module Anthropic
|
|
|
41
65
|
sig { returns(T.nilable(Integer)) }
|
|
42
66
|
attr_accessor :max_tokens
|
|
43
67
|
|
|
68
|
+
# RFC 3339 datetime string representing the model's currently scheduled retirement
|
|
69
|
+
# date. The schedule can be revised until retirement occurs; `null` while the
|
|
70
|
+
# model is `active` or while no retirement is scheduled. A past date on a
|
|
71
|
+
# `deprecated` model means retirement is overdue, not that it has occurred:
|
|
72
|
+
# `lifecycle` is the retirement signal.
|
|
73
|
+
sig { returns(T.nilable(Time)) }
|
|
74
|
+
attr_accessor :retires_at
|
|
75
|
+
|
|
44
76
|
# Object type.
|
|
45
77
|
#
|
|
46
78
|
# For Models, this is always `"model"`.
|
|
@@ -52,9 +84,13 @@ module Anthropic
|
|
|
52
84
|
id: String,
|
|
53
85
|
capabilities: T.nilable(Anthropic::ModelCapabilities::OrHash),
|
|
54
86
|
created_at: Time,
|
|
87
|
+
deprecated_at: T.nilable(Time),
|
|
55
88
|
display_name: String,
|
|
89
|
+
lifecycle: Anthropic::ModelInfo::Lifecycle::OrSymbol,
|
|
90
|
+
line: T.nilable(Anthropic::ModelLine::OrSymbol),
|
|
56
91
|
max_input_tokens: T.nilable(Integer),
|
|
57
92
|
max_tokens: T.nilable(Integer),
|
|
93
|
+
retires_at: T.nilable(Time),
|
|
58
94
|
type: Symbol
|
|
59
95
|
).returns(T.attached_class)
|
|
60
96
|
end
|
|
@@ -67,12 +103,36 @@ module Anthropic
|
|
|
67
103
|
# RFC 3339 datetime string representing the time at which the model was released.
|
|
68
104
|
# May be set to an epoch value if the release date is unknown.
|
|
69
105
|
created_at:,
|
|
106
|
+
# RFC 3339 datetime string representing the time of the model's most recent
|
|
107
|
+
# deprecation. Populated for `deprecated` and `retired` models; `null` while the
|
|
108
|
+
# model is `active`.
|
|
109
|
+
deprecated_at:,
|
|
70
110
|
# A human-readable name for the model.
|
|
71
111
|
display_name:,
|
|
112
|
+
# The model's current lifecycle stage.
|
|
113
|
+
#
|
|
114
|
+
# - `active`: The model is available for use, open to new adopters, and not
|
|
115
|
+
# scheduled for retirement.
|
|
116
|
+
# - `deprecated`: The model remains callable for organizations with existing
|
|
117
|
+
# access, but is headed for retirement and closed to new adopters.
|
|
118
|
+
# - `retired`: The model is no longer available for use; inference requests naming
|
|
119
|
+
# it fail. It remains in the catalogue as the historical record of its
|
|
120
|
+
# retirement.
|
|
121
|
+
lifecycle:,
|
|
122
|
+
# The model line this model belongs to, such as `opus` for both Claude Opus 4.5
|
|
123
|
+
# and Claude Opus 4.6. More lines may be added. `null` when the model belongs to
|
|
124
|
+
# no line; do not infer a line from the `id`.
|
|
125
|
+
line:,
|
|
72
126
|
# Maximum input context window size in tokens for this model.
|
|
73
127
|
max_input_tokens:,
|
|
74
128
|
# Maximum value for the `max_tokens` parameter when using this model.
|
|
75
129
|
max_tokens:,
|
|
130
|
+
# RFC 3339 datetime string representing the model's currently scheduled retirement
|
|
131
|
+
# date. The schedule can be revised until retirement occurs; `null` while the
|
|
132
|
+
# model is `active` or while no retirement is scheduled. A past date on a
|
|
133
|
+
# `deprecated` model means retirement is overdue, not that it has occurred:
|
|
134
|
+
# `lifecycle` is the retirement signal.
|
|
135
|
+
retires_at:,
|
|
76
136
|
# Object type.
|
|
77
137
|
#
|
|
78
138
|
# For Models, this is always `"model"`.
|
|
@@ -86,15 +146,49 @@ module Anthropic
|
|
|
86
146
|
id: String,
|
|
87
147
|
capabilities: T.nilable(Anthropic::ModelCapabilities),
|
|
88
148
|
created_at: Time,
|
|
149
|
+
deprecated_at: T.nilable(Time),
|
|
89
150
|
display_name: String,
|
|
151
|
+
lifecycle: Anthropic::ModelInfo::Lifecycle::TaggedSymbol,
|
|
152
|
+
line: T.nilable(Anthropic::ModelLine::TaggedSymbol),
|
|
90
153
|
max_input_tokens: T.nilable(Integer),
|
|
91
154
|
max_tokens: T.nilable(Integer),
|
|
155
|
+
retires_at: T.nilable(Time),
|
|
92
156
|
type: Symbol
|
|
93
157
|
}
|
|
94
158
|
)
|
|
95
159
|
end
|
|
96
160
|
def to_hash
|
|
97
161
|
end
|
|
162
|
+
|
|
163
|
+
# The model's current lifecycle stage.
|
|
164
|
+
#
|
|
165
|
+
# - `active`: The model is available for use, open to new adopters, and not
|
|
166
|
+
# scheduled for retirement.
|
|
167
|
+
# - `deprecated`: The model remains callable for organizations with existing
|
|
168
|
+
# access, but is headed for retirement and closed to new adopters.
|
|
169
|
+
# - `retired`: The model is no longer available for use; inference requests naming
|
|
170
|
+
# it fail. It remains in the catalogue as the historical record of its
|
|
171
|
+
# retirement.
|
|
172
|
+
module Lifecycle
|
|
173
|
+
extend Anthropic::Internal::Type::Enum
|
|
174
|
+
|
|
175
|
+
TaggedSymbol =
|
|
176
|
+
T.type_alias { T.all(Symbol, Anthropic::ModelInfo::Lifecycle) }
|
|
177
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
178
|
+
|
|
179
|
+
ACTIVE = T.let(:active, Anthropic::ModelInfo::Lifecycle::TaggedSymbol)
|
|
180
|
+
DEPRECATED =
|
|
181
|
+
T.let(:deprecated, Anthropic::ModelInfo::Lifecycle::TaggedSymbol)
|
|
182
|
+
RETIRED = T.let(:retired, Anthropic::ModelInfo::Lifecycle::TaggedSymbol)
|
|
183
|
+
|
|
184
|
+
sig do
|
|
185
|
+
override.returns(
|
|
186
|
+
T::Array[Anthropic::ModelInfo::Lifecycle::TaggedSymbol]
|
|
187
|
+
)
|
|
188
|
+
end
|
|
189
|
+
def self.values
|
|
190
|
+
end
|
|
191
|
+
end
|
|
98
192
|
end
|
|
99
193
|
end
|
|
100
194
|
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
# A Claude model line, such as `opus` or `sonnet`. More lines may be added as new
|
|
6
|
+
# values.
|
|
7
|
+
module ModelLine
|
|
8
|
+
extend Anthropic::Internal::Type::Enum
|
|
9
|
+
|
|
10
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, Anthropic::ModelLine) }
|
|
11
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
12
|
+
|
|
13
|
+
HAIKU = T.let(:haiku, Anthropic::ModelLine::TaggedSymbol)
|
|
14
|
+
SONNET = T.let(:sonnet, Anthropic::ModelLine::TaggedSymbol)
|
|
15
|
+
OPUS = T.let(:opus, Anthropic::ModelLine::TaggedSymbol)
|
|
16
|
+
FABLE = T.let(:fable, Anthropic::ModelLine::TaggedSymbol)
|
|
17
|
+
MYTHOS = T.let(:mythos, Anthropic::ModelLine::TaggedSymbol)
|
|
18
|
+
|
|
19
|
+
sig { override.returns(T::Array[Anthropic::ModelLine::TaggedSymbol]) }
|
|
20
|
+
def self.values
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -27,6 +27,24 @@ module Anthropic
|
|
|
27
27
|
sig { params(before_id: String).void }
|
|
28
28
|
attr_writer :before_id
|
|
29
29
|
|
|
30
|
+
# Filter the list to models in any of the given lifecycle stages (`active`,
|
|
31
|
+
# `deprecated`, or `retired`). Up to 3 values. When omitted, the list contains the
|
|
32
|
+
# `active` and `deprecated` models; `retired` models appear only when `retired` is
|
|
33
|
+
# requested explicitly.
|
|
34
|
+
sig do
|
|
35
|
+
returns(
|
|
36
|
+
T.nilable(T::Array[Anthropic::ModelListParams::Lifecycle::OrSymbol])
|
|
37
|
+
)
|
|
38
|
+
end
|
|
39
|
+
attr_reader :lifecycle
|
|
40
|
+
|
|
41
|
+
sig do
|
|
42
|
+
params(
|
|
43
|
+
lifecycle: T::Array[Anthropic::ModelListParams::Lifecycle::OrSymbol]
|
|
44
|
+
).void
|
|
45
|
+
end
|
|
46
|
+
attr_writer :lifecycle
|
|
47
|
+
|
|
30
48
|
# Number of items to return per page.
|
|
31
49
|
#
|
|
32
50
|
# Defaults to `20`. Ranges from `1` to `1000`.
|
|
@@ -67,6 +85,7 @@ module Anthropic
|
|
|
67
85
|
params(
|
|
68
86
|
after_id: String,
|
|
69
87
|
before_id: String,
|
|
88
|
+
lifecycle: T::Array[Anthropic::ModelListParams::Lifecycle::OrSymbol],
|
|
70
89
|
limit: Integer,
|
|
71
90
|
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
72
91
|
workspace_id: String,
|
|
@@ -80,6 +99,11 @@ module Anthropic
|
|
|
80
99
|
# ID of the object to use as a cursor for pagination. When provided, returns the
|
|
81
100
|
# page of results immediately before this object.
|
|
82
101
|
before_id: nil,
|
|
102
|
+
# Filter the list to models in any of the given lifecycle stages (`active`,
|
|
103
|
+
# `deprecated`, or `retired`). Up to 3 values. When omitted, the list contains the
|
|
104
|
+
# `active` and `deprecated` models; `retired` models appear only when `retired` is
|
|
105
|
+
# requested explicitly.
|
|
106
|
+
lifecycle: nil,
|
|
83
107
|
# Number of items to return per page.
|
|
84
108
|
#
|
|
85
109
|
# Defaults to `20`. Ranges from `1` to `1000`.
|
|
@@ -102,6 +126,8 @@ module Anthropic
|
|
|
102
126
|
{
|
|
103
127
|
after_id: String,
|
|
104
128
|
before_id: String,
|
|
129
|
+
lifecycle:
|
|
130
|
+
T::Array[Anthropic::ModelListParams::Lifecycle::OrSymbol],
|
|
105
131
|
limit: Integer,
|
|
106
132
|
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
107
133
|
workspace_id: String,
|
|
@@ -111,6 +137,32 @@ module Anthropic
|
|
|
111
137
|
end
|
|
112
138
|
def to_hash
|
|
113
139
|
end
|
|
140
|
+
|
|
141
|
+
module Lifecycle
|
|
142
|
+
extend Anthropic::Internal::Type::Enum
|
|
143
|
+
|
|
144
|
+
TaggedSymbol =
|
|
145
|
+
T.type_alias { T.all(Symbol, Anthropic::ModelListParams::Lifecycle) }
|
|
146
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
147
|
+
|
|
148
|
+
ACTIVE =
|
|
149
|
+
T.let(:active, Anthropic::ModelListParams::Lifecycle::TaggedSymbol)
|
|
150
|
+
DEPRECATED =
|
|
151
|
+
T.let(
|
|
152
|
+
:deprecated,
|
|
153
|
+
Anthropic::ModelListParams::Lifecycle::TaggedSymbol
|
|
154
|
+
)
|
|
155
|
+
RETIRED =
|
|
156
|
+
T.let(:retired, Anthropic::ModelListParams::Lifecycle::TaggedSymbol)
|
|
157
|
+
|
|
158
|
+
sig do
|
|
159
|
+
override.returns(
|
|
160
|
+
T::Array[Anthropic::ModelListParams::Lifecycle::TaggedSymbol]
|
|
161
|
+
)
|
|
162
|
+
end
|
|
163
|
+
def self.values
|
|
164
|
+
end
|
|
165
|
+
end
|
|
114
166
|
end
|
|
115
167
|
end
|
|
116
168
|
end
|
|
@@ -75,8 +75,9 @@ module Anthropic
|
|
|
75
75
|
sig { returns(String) }
|
|
76
76
|
attr_accessor :oauth_scope
|
|
77
77
|
|
|
78
|
-
#
|
|
79
|
-
# `service_account`
|
|
78
|
+
# What this rule targets. Check `type` before reading the other fields. Tokens
|
|
79
|
+
# minted via a rule whose target `type` is `service_account` act as that service
|
|
80
|
+
# account.
|
|
80
81
|
sig do
|
|
81
82
|
returns(Anthropic::Organization::Federation::ServiceAccountTarget)
|
|
82
83
|
end
|
|
@@ -172,8 +173,9 @@ module Anthropic
|
|
|
172
173
|
name:,
|
|
173
174
|
# Space-separated OAuth scopes granted on the minted token.
|
|
174
175
|
oauth_scope:,
|
|
175
|
-
#
|
|
176
|
-
# `service_account`
|
|
176
|
+
# What this rule targets. Check `type` before reading the other fields. Tokens
|
|
177
|
+
# minted via a rule whose target `type` is `service_account` act as that service
|
|
178
|
+
# account.
|
|
177
179
|
target:,
|
|
178
180
|
# Lifetime in seconds of access tokens minted via this rule. Minted tokens are
|
|
179
181
|
# capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds.
|
|
@@ -38,6 +38,13 @@ module Anthropic
|
|
|
38
38
|
sig { params(include_archived: T::Boolean).void }
|
|
39
39
|
attr_writer :include_archived
|
|
40
40
|
|
|
41
|
+
# Whether to include the organization's default Workspace in the response
|
|
42
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
43
|
+
attr_reader :include_default
|
|
44
|
+
|
|
45
|
+
sig { params(include_default: T::Boolean).void }
|
|
46
|
+
attr_writer :include_default
|
|
47
|
+
|
|
41
48
|
# Number of items to return per page.
|
|
42
49
|
#
|
|
43
50
|
# Defaults to `20`. Ranges from `1` to `1000`.
|
|
@@ -52,6 +59,7 @@ module Anthropic
|
|
|
52
59
|
after_id: String,
|
|
53
60
|
before_id: String,
|
|
54
61
|
include_archived: T::Boolean,
|
|
62
|
+
include_default: T::Boolean,
|
|
55
63
|
limit: Integer,
|
|
56
64
|
request_options: Anthropic::RequestOptions::OrHash
|
|
57
65
|
).returns(T.attached_class)
|
|
@@ -65,6 +73,8 @@ module Anthropic
|
|
|
65
73
|
before_id: nil,
|
|
66
74
|
# Whether to include Workspaces that have been archived in the response
|
|
67
75
|
include_archived: nil,
|
|
76
|
+
# Whether to include the organization's default Workspace in the response
|
|
77
|
+
include_default: nil,
|
|
68
78
|
# Number of items to return per page.
|
|
69
79
|
#
|
|
70
80
|
# Defaults to `20`. Ranges from `1` to `1000`.
|
|
@@ -79,6 +89,7 @@ module Anthropic
|
|
|
79
89
|
after_id: String,
|
|
80
90
|
before_id: String,
|
|
81
91
|
include_archived: T::Boolean,
|
|
92
|
+
include_default: T::Boolean,
|
|
82
93
|
limit: Integer,
|
|
83
94
|
request_options: Anthropic::RequestOptions
|
|
84
95
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
class ServerToolsCapability < Anthropic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Anthropic::ServerToolsCapability, Anthropic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Whether the model supports the code execution tool: true when the model supports
|
|
12
|
+
# at least one version of the tool, not necessarily every version.
|
|
13
|
+
sig { returns(Anthropic::CapabilitySupport) }
|
|
14
|
+
attr_reader :code_execution
|
|
15
|
+
|
|
16
|
+
sig { params(code_execution: Anthropic::CapabilitySupport::OrHash).void }
|
|
17
|
+
attr_writer :code_execution
|
|
18
|
+
|
|
19
|
+
# Whether this capability is supported by the model.
|
|
20
|
+
sig { returns(T::Boolean) }
|
|
21
|
+
attr_accessor :supported
|
|
22
|
+
|
|
23
|
+
# Whether the model supports the web search tool: true when the model supports at
|
|
24
|
+
# least one version of the tool, not necessarily every version.
|
|
25
|
+
sig { returns(Anthropic::CapabilitySupport) }
|
|
26
|
+
attr_reader :web_search
|
|
27
|
+
|
|
28
|
+
sig { params(web_search: Anthropic::CapabilitySupport::OrHash).void }
|
|
29
|
+
attr_writer :web_search
|
|
30
|
+
|
|
31
|
+
# Web search and code execution tool support, with one entry per tool.
|
|
32
|
+
sig do
|
|
33
|
+
params(
|
|
34
|
+
code_execution: Anthropic::CapabilitySupport::OrHash,
|
|
35
|
+
supported: T::Boolean,
|
|
36
|
+
web_search: Anthropic::CapabilitySupport::OrHash
|
|
37
|
+
).returns(T.attached_class)
|
|
38
|
+
end
|
|
39
|
+
def self.new(
|
|
40
|
+
# Whether the model supports the code execution tool: true when the model supports
|
|
41
|
+
# at least one version of the tool, not necessarily every version.
|
|
42
|
+
code_execution:,
|
|
43
|
+
# Whether this capability is supported by the model.
|
|
44
|
+
supported:,
|
|
45
|
+
# Whether the model supports the web search tool: true when the model supports at
|
|
46
|
+
# least one version of the tool, not necessarily every version.
|
|
47
|
+
web_search:
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
sig do
|
|
52
|
+
override.returns(
|
|
53
|
+
{
|
|
54
|
+
code_execution: Anthropic::CapabilitySupport,
|
|
55
|
+
supported: T::Boolean,
|
|
56
|
+
web_search: Anthropic::CapabilitySupport
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
end
|
|
60
|
+
def to_hash
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -8,31 +8,50 @@ module Anthropic
|
|
|
8
8
|
T.any(Anthropic::ThinkingTypes, Anthropic::Internal::AnyHash)
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
-
# Whether the model
|
|
11
|
+
# Whether the model accepts thinking with type 'adaptive' (the model decides
|
|
12
|
+
# whether and how much to think).
|
|
12
13
|
sig { returns(Anthropic::CapabilitySupport) }
|
|
13
14
|
attr_reader :adaptive
|
|
14
15
|
|
|
15
16
|
sig { params(adaptive: Anthropic::CapabilitySupport::OrHash).void }
|
|
16
17
|
attr_writer :adaptive
|
|
17
18
|
|
|
18
|
-
# Whether the model
|
|
19
|
+
# Whether the model accepts thinking with type 'disabled' (thinking turned off).
|
|
20
|
+
# False exactly when a request that sends it gets a 400 from this model. True on a
|
|
21
|
+
# model that does not support thinking.
|
|
22
|
+
sig { returns(Anthropic::CapabilitySupport) }
|
|
23
|
+
attr_reader :disabled
|
|
24
|
+
|
|
25
|
+
sig { params(disabled: Anthropic::CapabilitySupport::OrHash).void }
|
|
26
|
+
attr_writer :disabled
|
|
27
|
+
|
|
28
|
+
# Whether the model accepts thinking with type 'enabled' (extended thinking with a
|
|
29
|
+
# caller-set `budget_tokens`).
|
|
19
30
|
sig { returns(Anthropic::CapabilitySupport) }
|
|
20
31
|
attr_reader :enabled
|
|
21
32
|
|
|
22
33
|
sig { params(enabled: Anthropic::CapabilitySupport::OrHash).void }
|
|
23
34
|
attr_writer :enabled
|
|
24
35
|
|
|
25
|
-
#
|
|
36
|
+
# Which `thinking.type` values the model accepts on requests. Read each key on its
|
|
37
|
+
# own: for example, `enabled` can be false while `disabled` is true.
|
|
26
38
|
sig do
|
|
27
39
|
params(
|
|
28
40
|
adaptive: Anthropic::CapabilitySupport::OrHash,
|
|
41
|
+
disabled: Anthropic::CapabilitySupport::OrHash,
|
|
29
42
|
enabled: Anthropic::CapabilitySupport::OrHash
|
|
30
43
|
).returns(T.attached_class)
|
|
31
44
|
end
|
|
32
45
|
def self.new(
|
|
33
|
-
# Whether the model
|
|
46
|
+
# Whether the model accepts thinking with type 'adaptive' (the model decides
|
|
47
|
+
# whether and how much to think).
|
|
34
48
|
adaptive:,
|
|
35
|
-
# Whether the model
|
|
49
|
+
# Whether the model accepts thinking with type 'disabled' (thinking turned off).
|
|
50
|
+
# False exactly when a request that sends it gets a 400 from this model. True on a
|
|
51
|
+
# model that does not support thinking.
|
|
52
|
+
disabled:,
|
|
53
|
+
# Whether the model accepts thinking with type 'enabled' (extended thinking with a
|
|
54
|
+
# caller-set `budget_tokens`).
|
|
36
55
|
enabled:
|
|
37
56
|
)
|
|
38
57
|
end
|
|
@@ -41,6 +60,7 @@ module Anthropic
|
|
|
41
60
|
override.returns(
|
|
42
61
|
{
|
|
43
62
|
adaptive: Anthropic::CapabilitySupport,
|
|
63
|
+
disabled: Anthropic::CapabilitySupport,
|
|
44
64
|
enabled: Anthropic::CapabilitySupport
|
|
45
65
|
}
|
|
46
66
|
)
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
# Which party invoked the tool call: the model directly, or a server tool on its
|
|
6
|
+
# behalf.
|
|
7
|
+
module ToolUseCaller
|
|
8
|
+
extend Anthropic::Internal::Type::Union
|
|
9
|
+
|
|
10
|
+
Variants =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Anthropic::DirectCaller,
|
|
14
|
+
Anthropic::ServerToolCaller,
|
|
15
|
+
Anthropic::ServerToolCaller20260120
|
|
16
|
+
)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
module Type
|
|
20
|
+
extend Anthropic::Internal::Type::Enum
|
|
21
|
+
|
|
22
|
+
TaggedSymbol =
|
|
23
|
+
T.type_alias { T.all(Symbol, Anthropic::ToolUseCaller::Type) }
|
|
24
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
25
|
+
|
|
26
|
+
DIRECT = T.let(:direct, Anthropic::ToolUseCaller::Type::TaggedSymbol)
|
|
27
|
+
CODE_EXECUTION_20250825 =
|
|
28
|
+
T.let(
|
|
29
|
+
:code_execution_20250825,
|
|
30
|
+
Anthropic::ToolUseCaller::Type::TaggedSymbol
|
|
31
|
+
)
|
|
32
|
+
CODE_EXECUTION_20260120 =
|
|
33
|
+
T.let(
|
|
34
|
+
:code_execution_20260120,
|
|
35
|
+
Anthropic::ToolUseCaller::Type::TaggedSymbol
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
sig do
|
|
39
|
+
override.returns(
|
|
40
|
+
T::Array[Anthropic::ToolUseCaller::Type::TaggedSymbol]
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
def self.values
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
sig { override.returns(T::Array[Anthropic::ToolUseCaller::Variants]) }
|
|
48
|
+
def self.variants
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
52
|
+
# value, passing the remaining arguments to its constructor.
|
|
53
|
+
sig do
|
|
54
|
+
params(
|
|
55
|
+
type: Anthropic::ToolUseCaller::Type::OrSymbol,
|
|
56
|
+
tool_id: String
|
|
57
|
+
).returns(Anthropic::ToolUseCaller::Variants)
|
|
58
|
+
end
|
|
59
|
+
def self.new(type:, tool_id: nil)
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module ToolsetToolUseBlock
|
|
6
|
+
extend Anthropic::Internal::Type::Union
|
|
7
|
+
|
|
8
|
+
Variants =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::BrowserToolUseBlock::Variants,
|
|
12
|
+
Anthropic::ComputerToolUseBlock::Variants,
|
|
13
|
+
Anthropic::ToolUseBlock
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
sig do
|
|
18
|
+
override.returns(T::Array[Anthropic::ToolsetToolUseBlock::Variants])
|
|
19
|
+
end
|
|
20
|
+
def self.variants
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|