anthropic 1.69.0 → 1.71.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 +65 -0
- data/README.md +1 -1
- data/lib/anthropic/client.rb +6 -0
- data/lib/anthropic/internal/transport/base_client.rb +12 -12
- data/lib/anthropic/internal/transport/pooled_net_requester.rb +63 -4
- data/lib/anthropic/internal/type/union.rb +6 -2
- data/lib/anthropic/internal/util.rb +3 -1
- data/lib/anthropic/models/anthropic_beta.rb +10 -4
- data/lib/anthropic/models/beta/agent_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/agent_create_params.rb +8 -8
- data/lib/anthropic/models/beta/agent_list_params.rb +2 -2
- data/lib/anthropic/models/beta/agent_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/agent_update_params.rb +8 -8
- data/lib/anthropic/models/beta/agents/version_list_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_browser_state_change.rb +0 -6
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block.rb +1 -4
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb +0 -1
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param.rb +1 -2
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rb +0 -1
- data/lib/anthropic/models/beta/beta_compaction_block.rb +9 -1
- data/lib/anthropic/models/beta/beta_compaction_block_param.rb +9 -1
- data/lib/anthropic/models/beta/beta_compaction_capability.rb +32 -0
- data/lib/anthropic/models/beta/beta_compaction_config.rb +40 -0
- data/lib/anthropic/models/beta/beta_content_block.rb +3 -4
- data/lib/anthropic/models/beta/beta_content_block_param.rb +4 -5
- data/lib/anthropic/models/beta/beta_context_management_config.rb +0 -2
- data/lib/anthropic/models/beta/beta_dream.rb +1 -4
- data/lib/anthropic/models/beta/beta_dream_input.rb +0 -3
- data/lib/anthropic/models/beta/beta_dreaming_error.rb +0 -7
- data/lib/anthropic/models/beta/beta_fallback_message_iteration_usage.rb +5 -4
- data/lib/anthropic/models/beta/beta_fallbacks_param.rb +3 -3
- data/lib/anthropic/models/beta/beta_input_transformation.rb +62 -0
- data/lib/anthropic/models/beta/beta_iterations_usage.rb +7 -6
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +6 -6
- data/lib/anthropic/models/beta/beta_managed_agents_auto_policy.rb +24 -0
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +13 -8
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_message.rb +21 -18
- data/lib/anthropic/models/beta/beta_message_iteration_usage.rb +3 -3
- data/lib/anthropic/models/beta/beta_model_capabilities.rb +14 -1
- data/lib/anthropic/models/beta/beta_output_behavior.rb +0 -3
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +4 -9
- data/lib/anthropic/models/beta/beta_raw_message_delta_event.rb +20 -17
- data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +1 -11
- data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +1 -11
- data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +1 -8
- data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +1 -4
- data/lib/anthropic/models/beta/beta_summarize_compaction.rb +40 -0
- data/lib/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rb +73 -0
- data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +0 -1
- data/lib/anthropic/models/beta/beta_tool_union.rb +0 -2
- data/lib/anthropic/models/beta/beta_tool_use_block.rb +1 -4
- data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +1 -4
- data/lib/anthropic/models/beta/beta_user_profile.rb +15 -3
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details.rb +122 -0
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb +122 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20250910.rb +14 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260209.rb +14 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260309.rb +14 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260318.rb +14 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb +1 -7
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb +1 -4
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rb +1 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_all.rb +22 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_except.rb +29 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_none.rb +22 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_only.rb +28 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rb +28 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_sources.rb +234 -0
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block.rb +1 -7
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb +3 -6
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rb +3 -3
- data/lib/anthropic/models/beta/deployment_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_create_params.rb +9 -9
- data/lib/anthropic/models/beta/deployment_list_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_pause_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_run_list_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_run_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_run_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_unpause_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_update_params.rb +9 -9
- data/lib/anthropic/models/beta/dream_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/dream_cancel_params.rb +2 -2
- data/lib/anthropic/models/beta/dream_create_params.rb +8 -16
- data/lib/anthropic/models/beta/dream_list_params.rb +2 -2
- data/lib/anthropic/models/beta/dream_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_create_params.rb +6 -6
- data/lib/anthropic/models/beta/environment_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_list_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_update_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_ack_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_heartbeat_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_list_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_poll_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_stats_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_stop_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_update_params.rb +2 -2
- data/lib/anthropic/models/beta/file_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/file_download_params.rb +2 -2
- data/lib/anthropic/models/beta/file_list_params.rb +2 -2
- data/lib/anthropic/models/beta/file_retrieve_metadata_params.rb +2 -2
- data/lib/anthropic/models/beta/file_upload_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_create_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_list_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_update_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_create_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_redact_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +18 -5
- data/lib/anthropic/models/beta/message_create_params.rb +26 -11
- data/lib/anthropic/models/beta/messages/batch_cancel_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +26 -11
- data/lib/anthropic/models/beta/messages/batch_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_list_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_results_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/model_list_params.rb +2 -2
- data/lib/anthropic/models/beta/model_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_compliance_settings.rb +1 -47
- data/lib/anthropic/models/beta/organization/beta_compliance_settings_state.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_compliance_settings_state_param.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_data_residency.rb +41 -12
- data/lib/anthropic/models/beta/organization/beta_data_residency_create_config.rb +5 -5
- data/lib/anthropic/models/beta/organization/beta_data_residency_update_config.rb +5 -5
- data/lib/anthropic/models/beta/organization/compliance_setting_update_params.rb +1 -46
- data/lib/anthropic/models/beta/organization/federation/issuer_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/issuer_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/issuer_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/issuer_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/issuer_update_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_update_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rules/workspace_add_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rules/workspace_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rules/workspace_remove_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_update_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_accounts/workspace_add_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_accounts/workspace_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_accounts/workspace_remove_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspace_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_add_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_remove_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_update_params.rb +2 -2
- data/lib/anthropic/models/beta/session_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/session_create_params.rb +9 -9
- data/lib/anthropic/models/beta/session_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/session_list_params.rb +2 -2
- data/lib/anthropic/models/beta/session_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/session_update_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +69 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_allow.rb +21 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_ask.rb +35 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rb +37 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rb +3 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rb +13 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rb +69 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_allow.rb +22 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_ask.rb +22 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rb +37 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rb +14 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +1 -12
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +4 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +0 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +1 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +1 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +4 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +4 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rb +3 -4
- data/lib/anthropic/models/beta/sessions/event_list_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/event_send_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/event_stream_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_add_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_list_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_update_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/thread_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/thread_list_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/thread_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/threads/event_list_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/threads/event_stream_params.rb +2 -2
- data/lib/anthropic/models/beta/skill_create_params.rb +2 -2
- data/lib/anthropic/models/beta/skill_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/skill_list_params.rb +2 -2
- data/lib/anthropic/models/beta/skill_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_create_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_download_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_list_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_create_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_list_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_reveal_token_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_rotate_token_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnels/certificate_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnels/certificate_create_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnels/certificate_list_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnels/certificate_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/user_profile_create_enrollment_url_params.rb +10 -3
- data/lib/anthropic/models/beta/user_profile_create_params.rb +23 -4
- data/lib/anthropic/models/beta/user_profile_list_params.rb +10 -3
- data/lib/anthropic/models/beta/user_profile_retrieve_params.rb +10 -3
- data/lib/anthropic/models/beta/user_profile_update_params.rb +24 -4
- data/lib/anthropic/models/beta/vault_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_create_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_list_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_update_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +0 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +1 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +1 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +1 -4
- data/lib/anthropic/models/beta/vaults/credential_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_list_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +2 -2
- data/lib/anthropic/models/browser_state_change.rb +0 -6
- data/lib/anthropic/models/code_execution_tool_result_block.rb +1 -4
- data/lib/anthropic/models/code_execution_tool_result_block_content.rb +0 -1
- data/lib/anthropic/models/code_execution_tool_result_block_param.rb +1 -2
- data/lib/anthropic/models/code_execution_tool_result_block_param_content.rb +0 -1
- data/lib/anthropic/models/completion_create_params.rb +3 -3
- data/lib/anthropic/models/content_block.rb +2 -3
- data/lib/anthropic/models/content_block_param.rb +2 -3
- data/lib/anthropic/models/message_count_tokens_tool.rb +0 -2
- data/lib/anthropic/models/message_create_params.rb +1 -1
- data/lib/anthropic/models/messages/batch_create_params.rb +1 -1
- data/lib/anthropic/models/model_list_params.rb +2 -2
- data/lib/anthropic/models/model_retrieve_params.rb +2 -2
- data/lib/anthropic/models/raw_content_block_start_event.rb +3 -8
- data/lib/anthropic/models/raw_message_stream_event.rb +1 -1
- data/lib/anthropic/models/server_tool_use_block.rb +1 -8
- data/lib/anthropic/models/server_tool_use_block_param.rb +1 -4
- data/lib/anthropic/models/tool_result_block_param.rb +0 -1
- data/lib/anthropic/models/tool_union.rb +0 -2
- data/lib/anthropic/models/tool_use_block.rb +2 -4
- data/lib/anthropic/models/tool_use_block_param.rb +1 -4
- data/lib/anthropic/models/web_fetch_tool_20250910.rb +14 -1
- data/lib/anthropic/models/web_fetch_tool_20260209.rb +14 -1
- data/lib/anthropic/models/web_fetch_tool_20260309.rb +14 -1
- data/lib/anthropic/models/web_fetch_tool_20260318.rb +14 -1
- data/lib/anthropic/models/web_fetch_tool_result_block.rb +1 -7
- data/lib/anthropic/models/web_fetch_tool_result_block_param.rb +1 -4
- data/lib/anthropic/models/web_fetch_tool_result_error_code.rb +1 -0
- data/lib/anthropic/models/web_fetch_url_source_all.rb +18 -0
- data/lib/anthropic/models/web_fetch_url_source_except.rb +24 -0
- data/lib/anthropic/models/web_fetch_url_source_none.rb +18 -0
- data/lib/anthropic/models/web_fetch_url_source_only.rb +23 -0
- data/lib/anthropic/models/web_fetch_url_source_tool_reference.rb +24 -0
- data/lib/anthropic/models/web_fetch_url_sources.rb +230 -0
- data/lib/anthropic/models/web_search_tool_result_block.rb +1 -7
- data/lib/anthropic/models/web_search_tool_result_block_param.rb +3 -6
- data/lib/anthropic/models/web_search_tool_result_block_param_content.rb +3 -3
- data/lib/anthropic/models.rb +12 -0
- data/lib/anthropic/request_options.rb +1 -2
- data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
- data/lib/anthropic/resources/beta/agents.rb +7 -7
- data/lib/anthropic/resources/beta/deployment_runs.rb +2 -2
- data/lib/anthropic/resources/beta/deployments.rb +10 -10
- data/lib/anthropic/resources/beta/dreams.rb +7 -7
- data/lib/anthropic/resources/beta/environments/work.rb +8 -8
- data/lib/anthropic/resources/beta/environments.rb +6 -6
- data/lib/anthropic/resources/beta/files.rb +5 -5
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +5 -5
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +3 -3
- data/lib/anthropic/resources/beta/memory_stores.rb +6 -6
- data/lib/anthropic/resources/beta/messages/batches.rb +6 -6
- data/lib/anthropic/resources/beta/messages.rb +22 -14
- data/lib/anthropic/resources/beta/models.rb +2 -2
- data/lib/anthropic/resources/beta/organization/federation/issuers.rb +5 -5
- data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +3 -3
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +5 -5
- data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +3 -3
- data/lib/anthropic/resources/beta/organization/service_accounts.rb +5 -5
- data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +5 -5
- data/lib/anthropic/resources/beta/organization/workspaces.rb +1 -1
- data/lib/anthropic/resources/beta/sessions/events.rb +3 -3
- data/lib/anthropic/resources/beta/sessions/resources.rb +5 -5
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +2 -2
- data/lib/anthropic/resources/beta/sessions/threads.rb +3 -3
- data/lib/anthropic/resources/beta/sessions.rb +7 -7
- data/lib/anthropic/resources/beta/skills/versions.rb +5 -5
- data/lib/anthropic/resources/beta/skills.rb +4 -4
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +4 -4
- data/lib/anthropic/resources/beta/tunnels.rb +6 -6
- data/lib/anthropic/resources/beta/user_profiles.rb +42 -15
- data/lib/anthropic/resources/beta/vaults/credentials.rb +7 -7
- data/lib/anthropic/resources/beta/vaults.rb +6 -6
- data/lib/anthropic/resources/completions.rb +2 -2
- data/lib/anthropic/resources/models.rb +2 -2
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +30 -1
- data/manifest.yaml +0 -1
- data/rbi/anthropic/client.rbi +5 -0
- data/rbi/anthropic/internal/transport/base_client.rbi +2 -0
- data/rbi/anthropic/internal/transport/pooled_net_requester.rbi +27 -5
- data/rbi/anthropic/models/anthropic_beta.rbi +8 -1
- data/rbi/anthropic/models/beta/agent_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/agent_create_params.rbi +12 -12
- data/rbi/anthropic/models/beta/agent_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/agent_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/agent_update_params.rbi +14 -14
- data/rbi/anthropic/models/beta/agents/version_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +0 -6
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block.rbi +1 -7
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_content.rbi +0 -1
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_param.rbi +0 -2
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rbi +0 -1
- data/rbi/anthropic/models/beta/beta_compaction_block.rbi +9 -1
- data/rbi/anthropic/models/beta/beta_compaction_block_param.rbi +9 -1
- data/rbi/anthropic/models/beta/beta_compaction_capability.rbi +60 -0
- data/rbi/anthropic/models/beta/beta_compaction_config.rbi +54 -0
- data/rbi/anthropic/models/beta/beta_content_block.rbi +2 -4
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +4 -9
- data/rbi/anthropic/models/beta/beta_context_management_config.rbi +0 -2
- data/rbi/anthropic/models/beta/beta_dream.rbi +0 -6
- data/rbi/anthropic/models/beta/beta_dream_input.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +0 -7
- data/rbi/anthropic/models/beta/beta_fallback_message_iteration_usage.rbi +5 -4
- data/rbi/anthropic/models/beta/beta_fallbacks_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_input_transformation.rbi +99 -0
- data/rbi/anthropic/models/beta/beta_iterations_usage.rbi +5 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +10 -10
- data/rbi/anthropic/models/beta/beta_managed_agents_auto_policy.rbi +34 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +13 -8
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +6 -6
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_params.rbi +6 -6
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_message.rbi +40 -29
- data/rbi/anthropic/models/beta/beta_message_iteration_usage.rbi +3 -3
- data/rbi/anthropic/models/beta/beta_model_capabilities.rbi +21 -0
- data/rbi/anthropic/models/beta/beta_output_behavior.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +3 -11
- data/rbi/anthropic/models/beta/beta_raw_message_delta_event.rbi +40 -29
- data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +21 -14
- data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +0 -9
- data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +0 -9
- data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +1 -10
- data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_summarize_compaction.rbi +54 -0
- data/rbi/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rbi +140 -0
- data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +0 -1
- data/rbi/anthropic/models/beta/beta_tool_union.rbi +0 -2
- data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_user_profile.rbi +32 -2
- data/rbi/anthropic/models/beta/beta_user_profile_external_user_details.rbi +228 -0
- data/rbi/anthropic/models/beta/beta_user_profile_external_user_details_params.rbi +234 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20250910.rbi +28 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260209.rbi +28 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260309.rbi +27 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260318.rbi +27 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_all.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_except.rbi +53 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_none.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_only.rbi +52 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rbi +36 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_sources.rbi +412 -0
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param.rbi +6 -11
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rbi +2 -2
- data/rbi/anthropic/models/beta/deployment_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_create_params.rbi +13 -12
- data/rbi/anthropic/models/beta/deployment_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_pause_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_run_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_run_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_run_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_unpause_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_update_params.rbi +15 -14
- data/rbi/anthropic/models/beta/dream_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/dream_cancel_params.rbi +4 -4
- data/rbi/anthropic/models/beta/dream_create_params.rbi +8 -17
- data/rbi/anthropic/models/beta/dream_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/dream_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_create_params.rbi +10 -10
- data/rbi/anthropic/models/beta/environment_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_ack_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_heartbeat_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_poll_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_stats_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_stop_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_download_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_retrieve_metadata_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_upload_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_version_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_version_redact_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +34 -6
- data/rbi/anthropic/models/beta/message_create_params.rbi +43 -13
- data/rbi/anthropic/models/beta/messages/batch_cancel_params.rbi +4 -4
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +47 -15
- data/rbi/anthropic/models/beta/messages/batch_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/messages/batch_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/messages/batch_results_params.rbi +4 -4
- data/rbi/anthropic/models/beta/messages/batch_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/model_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/model_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings.rbi +2 -69
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/beta_data_residency.rbi +103 -10
- data/rbi/anthropic/models/beta/organization/beta_data_residency_create_config.rbi +8 -8
- data/rbi/anthropic/models/beta/organization/beta_data_residency_update_config.rbi +8 -8
- data/rbi/anthropic/models/beta/organization/compliance_setting_update_params.rbi +0 -68
- data/rbi/anthropic/models/beta/organization/federation/issuer_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/issuer_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/issuer_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/issuer_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/issuer_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rules/workspace_add_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rules/workspace_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rules/workspace_remove_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_accounts/workspace_add_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_accounts/workspace_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_accounts/workspace_remove_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspace_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_add_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_remove_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_create_params.rbi +16 -15
- data/rbi/anthropic/models/beta/session_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbi +90 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_allow.rbi +31 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_ask.rbi +45 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rbi +46 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbi +6 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbi +40 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbi +98 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_allow.rbi +32 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_ask.rbi +32 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rbi +66 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbi +42 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +0 -9
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +10 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +0 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +0 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +0 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +10 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +10 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbi +4 -6
- data/rbi/anthropic/models/beta/sessions/event_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/event_send_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/event_stream_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_add_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/thread_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/thread_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/thread_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/threads/event_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/threads/event_stream_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skill_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skill_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skill_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skill_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_download_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_reveal_token_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_rotate_token_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnels/certificate_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnels/certificate_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnels/certificate_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnels/certificate_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/user_profile_create_enrollment_url_params.rbi +13 -4
- data/rbi/anthropic/models/beta/user_profile_create_params.rbi +45 -6
- data/rbi/anthropic/models/beta/user_profile_list_params.rbi +13 -4
- data/rbi/anthropic/models/beta/user_profile_retrieve_params.rbi +13 -4
- data/rbi/anthropic/models/beta/user_profile_update_params.rbi +47 -6
- data/rbi/anthropic/models/beta/vault_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbi +0 -3
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbi +0 -3
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbi +0 -3
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbi +0 -3
- data/rbi/anthropic/models/beta/vaults/credential_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +4 -4
- data/rbi/anthropic/models/browser_state_change.rbi +0 -6
- data/rbi/anthropic/models/code_execution_tool_result_block.rbi +1 -7
- data/rbi/anthropic/models/code_execution_tool_result_block_content.rbi +0 -1
- data/rbi/anthropic/models/code_execution_tool_result_block_param.rbi +0 -2
- data/rbi/anthropic/models/code_execution_tool_result_block_param_content.rbi +0 -1
- data/rbi/anthropic/models/completion_create_params.rbi +4 -4
- data/rbi/anthropic/models/content_block.rbi +0 -3
- data/rbi/anthropic/models/content_block_param.rbi +2 -5
- data/rbi/anthropic/models/message_count_tokens_tool.rbi +0 -2
- data/rbi/anthropic/models/model_list_params.rbi +4 -4
- data/rbi/anthropic/models/model_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/raw_content_block_start_event.rbi +1 -10
- data/rbi/anthropic/models/raw_message_stream_event.rbi +0 -1
- data/rbi/anthropic/models/server_tool_use_block.rbi +1 -10
- data/rbi/anthropic/models/server_tool_use_block_param.rbi +0 -3
- data/rbi/anthropic/models/tool_result_block_param.rbi +0 -1
- data/rbi/anthropic/models/tool_union.rbi +0 -2
- data/rbi/anthropic/models/tool_use_block.rbi +0 -3
- data/rbi/anthropic/models/tool_use_block_param.rbi +0 -3
- data/rbi/anthropic/models/web_fetch_tool_20250910.rbi +26 -1
- data/rbi/anthropic/models/web_fetch_tool_20260209.rbi +26 -1
- data/rbi/anthropic/models/web_fetch_tool_20260309.rbi +25 -0
- data/rbi/anthropic/models/web_fetch_tool_20260318.rbi +25 -0
- data/rbi/anthropic/models/web_fetch_tool_result_block.rbi +0 -3
- data/rbi/anthropic/models/web_fetch_tool_result_block_param.rbi +0 -3
- data/rbi/anthropic/models/web_fetch_tool_result_error_code.rbi +5 -0
- data/rbi/anthropic/models/web_fetch_url_source_all.rbi +25 -0
- data/rbi/anthropic/models/web_fetch_url_source_except.rbi +43 -0
- data/rbi/anthropic/models/web_fetch_url_source_none.rbi +25 -0
- data/rbi/anthropic/models/web_fetch_url_source_only.rbi +39 -0
- data/rbi/anthropic/models/web_fetch_url_source_tool_reference.rbi +31 -0
- data/rbi/anthropic/models/web_fetch_url_sources.rbi +386 -0
- data/rbi/anthropic/models/web_search_tool_result_block.rbi +0 -3
- data/rbi/anthropic/models/web_search_tool_result_block_param.rbi +6 -9
- data/rbi/anthropic/models/web_search_tool_result_block_param_content.rbi +2 -2
- data/rbi/anthropic/models.rbi +13 -0
- data/rbi/anthropic/request_options.rbi +1 -2
- data/rbi/anthropic/resources/beta/agents/versions.rbi +1 -1
- data/rbi/anthropic/resources/beta/agents.rbi +9 -9
- data/rbi/anthropic/resources/beta/deployment_runs.rbi +2 -2
- data/rbi/anthropic/resources/beta/deployments.rbi +12 -12
- data/rbi/anthropic/resources/beta/dreams.rbi +8 -10
- data/rbi/anthropic/resources/beta/environments/work.rbi +8 -8
- data/rbi/anthropic/resources/beta/environments.rbi +8 -8
- data/rbi/anthropic/resources/beta/files.rbi +5 -5
- data/rbi/anthropic/resources/beta/memory_stores/memories.rbi +5 -5
- data/rbi/anthropic/resources/beta/memory_stores/memory_versions.rbi +3 -3
- data/rbi/anthropic/resources/beta/memory_stores.rbi +6 -6
- data/rbi/anthropic/resources/beta/messages/batches.rbi +6 -6
- data/rbi/anthropic/resources/beta/messages.rbi +60 -16
- data/rbi/anthropic/resources/beta/models.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization/federation/issuers.rbi +5 -5
- data/rbi/anthropic/resources/beta/organization/federation/rules/workspaces.rbi +3 -3
- data/rbi/anthropic/resources/beta/organization/federation/rules.rbi +5 -5
- data/rbi/anthropic/resources/beta/organization/service_accounts/workspaces.rbi +3 -3
- data/rbi/anthropic/resources/beta/organization/service_accounts.rbi +5 -5
- data/rbi/anthropic/resources/beta/organization/workspaces/service_accounts.rbi +5 -5
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +1 -1
- data/rbi/anthropic/resources/beta/sessions/events.rbi +3 -3
- data/rbi/anthropic/resources/beta/sessions/resources.rbi +5 -5
- data/rbi/anthropic/resources/beta/sessions/threads/events.rbi +2 -2
- data/rbi/anthropic/resources/beta/sessions/threads.rbi +3 -3
- data/rbi/anthropic/resources/beta/sessions.rbi +8 -8
- data/rbi/anthropic/resources/beta/skills/versions.rbi +5 -5
- data/rbi/anthropic/resources/beta/skills.rbi +4 -4
- data/rbi/anthropic/resources/beta/tunnels/certificates.rbi +4 -4
- data/rbi/anthropic/resources/beta/tunnels.rbi +6 -6
- data/rbi/anthropic/resources/beta/user_profiles.rbi +64 -7
- data/rbi/anthropic/resources/beta/vaults/credentials.rbi +7 -7
- data/rbi/anthropic/resources/beta/vaults.rbi +6 -6
- data/rbi/anthropic/resources/completions.rbi +2 -2
- data/rbi/anthropic/resources/models.rbi +2 -2
- data/sig/anthropic/client.rbs +1 -0
- data/sig/anthropic/internal/transport/base_client.rbs +1 -0
- data/sig/anthropic/internal/transport/pooled_net_requester.rbs +10 -2
- data/sig/anthropic/models/anthropic_beta.rbs +6 -2
- data/sig/anthropic/models/beta/agent_create_params.rbs +2 -2
- data/sig/anthropic/models/beta/agent_update_params.rbs +2 -2
- data/sig/anthropic/models/beta/beta_compaction_block.rbs +11 -2
- data/sig/anthropic/models/beta/beta_compaction_block_param.rbs +7 -2
- data/sig/anthropic/models/beta/beta_compaction_capability.rbs +26 -0
- data/sig/anthropic/models/beta/beta_compaction_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_content_block.rbs +3 -2
- data/sig/anthropic/models/beta/beta_content_block_param.rbs +3 -2
- data/sig/anthropic/models/beta/beta_fallbacks_param.rbs +1 -1
- data/sig/anthropic/models/beta/beta_input_transformation.rbs +46 -0
- data/sig/anthropic/models/beta/beta_iterations_usage.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_auto_policy.rbs +17 -0
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +7 -5
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_message.rbs +4 -4
- data/sig/anthropic/models/beta/beta_message_iteration_usage.rbs +4 -4
- data/sig/anthropic/models/beta/beta_model_capabilities.rbs +5 -0
- data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +3 -2
- data/sig/anthropic/models/beta/beta_raw_message_delta_event.rbs +4 -4
- data/sig/anthropic/models/beta/beta_raw_message_stream_event.rbs +2 -2
- data/sig/anthropic/models/beta/beta_summarize_compaction.rbs +20 -0
- data/sig/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rbs +51 -0
- data/sig/anthropic/models/beta/beta_user_profile.rbs +9 -0
- data/sig/anthropic/models/beta/beta_user_profile_external_user_details.rbs +79 -0
- data/sig/anthropic/models/beta/beta_user_profile_external_user_details_params.rbs +81 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20250910.rbs +7 -2
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20260209.rbs +7 -2
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20260309.rbs +5 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20260318.rbs +5 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rbs +2 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_all.rbs +17 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_except.rbs +29 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_none.rbs +17 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_only.rbs +29 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rbs +20 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_sources.rbs +162 -0
- data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rbs +2 -2
- data/sig/anthropic/models/beta/deployment_create_params.rbs +3 -3
- data/sig/anthropic/models/beta/deployment_update_params.rbs +3 -3
- data/sig/anthropic/models/beta/dream_create_params.rbs +1 -1
- data/sig/anthropic/models/beta/message_count_tokens_params.rbs +5 -0
- data/sig/anthropic/models/beta/message_create_params.rbs +6 -1
- data/sig/anthropic/models/beta/messages/batch_create_params.rbs +6 -1
- data/sig/anthropic/models/beta/organization/beta_compliance_settings.rbs +4 -36
- data/sig/anthropic/models/beta/organization/beta_compliance_settings_state.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_data_residency.rbs +33 -10
- data/sig/anthropic/models/beta/organization/beta_data_residency_create_config.rbs +2 -2
- data/sig/anthropic/models/beta/organization/beta_data_residency_update_config.rbs +2 -2
- data/sig/anthropic/models/beta/organization/compliance_setting_update_params.rbs +4 -36
- data/sig/anthropic/models/beta/session_create_params.rbs +4 -4
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbs +47 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_allow.rbs +18 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_ask.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbs +9 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbs +46 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_allow.rbs +18 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_ask.rbs +18 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rbs +29 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbs +9 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +3 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +3 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +3 -0
- data/sig/anthropic/models/beta/user_profile_create_enrollment_url_params.rbs +8 -1
- data/sig/anthropic/models/beta/user_profile_create_params.rbs +17 -1
- data/sig/anthropic/models/beta/user_profile_list_params.rbs +8 -1
- data/sig/anthropic/models/beta/user_profile_retrieve_params.rbs +8 -1
- data/sig/anthropic/models/beta/user_profile_update_params.rbs +17 -1
- data/sig/anthropic/models/web_fetch_tool_20250910.rbs +7 -2
- data/sig/anthropic/models/web_fetch_tool_20260209.rbs +7 -2
- data/sig/anthropic/models/web_fetch_tool_20260309.rbs +5 -0
- data/sig/anthropic/models/web_fetch_tool_20260318.rbs +5 -0
- data/sig/anthropic/models/web_fetch_tool_result_error_code.rbs +2 -0
- data/sig/anthropic/models/web_fetch_url_source_all.rbs +13 -0
- data/sig/anthropic/models/web_fetch_url_source_except.rbs +25 -0
- data/sig/anthropic/models/web_fetch_url_source_none.rbs +13 -0
- data/sig/anthropic/models/web_fetch_url_source_only.rbs +22 -0
- data/sig/anthropic/models/web_fetch_url_source_tool_reference.rbs +16 -0
- data/sig/anthropic/models/web_fetch_url_sources.rbs +151 -0
- data/sig/anthropic/models/web_search_tool_result_block_param_content.rbs +2 -2
- data/sig/anthropic/models.rbs +12 -0
- data/sig/anthropic/resources/beta/messages.rbs +4 -0
- data/sig/anthropic/resources/beta/organization/compliance_settings.rbs +1 -1
- data/sig/anthropic/resources/beta/user_profiles.rbs +7 -0
- metadata +92 -16
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
class WebFetchURLSources < Anthropic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Anthropic::WebFetchURLSources, Anthropic::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Which client tools' results contribute fetchable URLs: "all", "none", or an only
|
|
12
|
+
# or except list of client tool names from tools[].
|
|
13
|
+
sig do
|
|
14
|
+
returns(
|
|
15
|
+
T.nilable(
|
|
16
|
+
T.any(
|
|
17
|
+
Anthropic::WebFetchURLSourceAll,
|
|
18
|
+
Anthropic::WebFetchURLSourceNone,
|
|
19
|
+
Anthropic::WebFetchURLSourceOnly,
|
|
20
|
+
Anthropic::WebFetchURLSourceExcept
|
|
21
|
+
)
|
|
22
|
+
)
|
|
23
|
+
)
|
|
24
|
+
end
|
|
25
|
+
attr_reader :client_tool_results
|
|
26
|
+
|
|
27
|
+
sig do
|
|
28
|
+
params(
|
|
29
|
+
client_tool_results:
|
|
30
|
+
T.any(
|
|
31
|
+
Anthropic::WebFetchURLSourceAll::OrHash,
|
|
32
|
+
Anthropic::WebFetchURLSourceNone::OrHash,
|
|
33
|
+
Anthropic::WebFetchURLSourceOnly::OrHash,
|
|
34
|
+
Anthropic::WebFetchURLSourceExcept::OrHash
|
|
35
|
+
)
|
|
36
|
+
).void
|
|
37
|
+
end
|
|
38
|
+
attr_writer :client_tool_results
|
|
39
|
+
|
|
40
|
+
# Which server tools' results contribute fetchable URLs: "all", "none", or an only
|
|
41
|
+
# or except list of server tool names from tools[]; only web_search and web_fetch
|
|
42
|
+
# results ever contribute.
|
|
43
|
+
sig do
|
|
44
|
+
returns(
|
|
45
|
+
T.nilable(
|
|
46
|
+
T.any(
|
|
47
|
+
Anthropic::WebFetchURLSourceAll,
|
|
48
|
+
Anthropic::WebFetchURLSourceNone,
|
|
49
|
+
Anthropic::WebFetchURLSourceOnly,
|
|
50
|
+
Anthropic::WebFetchURLSourceExcept
|
|
51
|
+
)
|
|
52
|
+
)
|
|
53
|
+
)
|
|
54
|
+
end
|
|
55
|
+
attr_reader :server_tool_results
|
|
56
|
+
|
|
57
|
+
sig do
|
|
58
|
+
params(
|
|
59
|
+
server_tool_results:
|
|
60
|
+
T.any(
|
|
61
|
+
Anthropic::WebFetchURLSourceAll::OrHash,
|
|
62
|
+
Anthropic::WebFetchURLSourceNone::OrHash,
|
|
63
|
+
Anthropic::WebFetchURLSourceOnly::OrHash,
|
|
64
|
+
Anthropic::WebFetchURLSourceExcept::OrHash
|
|
65
|
+
)
|
|
66
|
+
).void
|
|
67
|
+
end
|
|
68
|
+
attr_writer :server_tool_results
|
|
69
|
+
|
|
70
|
+
# Whether URLs in user messages are fetchable: "all" or "none".
|
|
71
|
+
sig do
|
|
72
|
+
returns(
|
|
73
|
+
T.nilable(
|
|
74
|
+
T.any(
|
|
75
|
+
Anthropic::WebFetchURLSourceAll,
|
|
76
|
+
Anthropic::WebFetchURLSourceNone
|
|
77
|
+
)
|
|
78
|
+
)
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
attr_reader :user_input
|
|
82
|
+
|
|
83
|
+
sig do
|
|
84
|
+
params(
|
|
85
|
+
user_input:
|
|
86
|
+
T.any(
|
|
87
|
+
Anthropic::WebFetchURLSourceAll::OrHash,
|
|
88
|
+
Anthropic::WebFetchURLSourceNone::OrHash
|
|
89
|
+
)
|
|
90
|
+
).void
|
|
91
|
+
end
|
|
92
|
+
attr_writer :user_input
|
|
93
|
+
|
|
94
|
+
# Which sources contribute to the set of URLs web fetch may fetch.
|
|
95
|
+
#
|
|
96
|
+
# Each key is a tagged variant: `user_input` is `all` or `none`; the two tool
|
|
97
|
+
# filters are `all`, `none`, `only` (only the named tools' results) or `except`
|
|
98
|
+
# (every result but the named tools'). A named tool must be declared in this
|
|
99
|
+
# request's `tools[]`.
|
|
100
|
+
sig do
|
|
101
|
+
params(
|
|
102
|
+
client_tool_results:
|
|
103
|
+
T.any(
|
|
104
|
+
Anthropic::WebFetchURLSourceAll::OrHash,
|
|
105
|
+
Anthropic::WebFetchURLSourceNone::OrHash,
|
|
106
|
+
Anthropic::WebFetchURLSourceOnly::OrHash,
|
|
107
|
+
Anthropic::WebFetchURLSourceExcept::OrHash
|
|
108
|
+
),
|
|
109
|
+
server_tool_results:
|
|
110
|
+
T.any(
|
|
111
|
+
Anthropic::WebFetchURLSourceAll::OrHash,
|
|
112
|
+
Anthropic::WebFetchURLSourceNone::OrHash,
|
|
113
|
+
Anthropic::WebFetchURLSourceOnly::OrHash,
|
|
114
|
+
Anthropic::WebFetchURLSourceExcept::OrHash
|
|
115
|
+
),
|
|
116
|
+
user_input:
|
|
117
|
+
T.any(
|
|
118
|
+
Anthropic::WebFetchURLSourceAll::OrHash,
|
|
119
|
+
Anthropic::WebFetchURLSourceNone::OrHash
|
|
120
|
+
)
|
|
121
|
+
).returns(T.attached_class)
|
|
122
|
+
end
|
|
123
|
+
def self.new(
|
|
124
|
+
# Which client tools' results contribute fetchable URLs: "all", "none", or an only
|
|
125
|
+
# or except list of client tool names from tools[].
|
|
126
|
+
client_tool_results: nil,
|
|
127
|
+
# Which server tools' results contribute fetchable URLs: "all", "none", or an only
|
|
128
|
+
# or except list of server tool names from tools[]; only web_search and web_fetch
|
|
129
|
+
# results ever contribute.
|
|
130
|
+
server_tool_results: nil,
|
|
131
|
+
# Whether URLs in user messages are fetchable: "all" or "none".
|
|
132
|
+
user_input: nil
|
|
133
|
+
)
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
sig do
|
|
137
|
+
override.returns(
|
|
138
|
+
{
|
|
139
|
+
client_tool_results:
|
|
140
|
+
T.any(
|
|
141
|
+
Anthropic::WebFetchURLSourceAll,
|
|
142
|
+
Anthropic::WebFetchURLSourceNone,
|
|
143
|
+
Anthropic::WebFetchURLSourceOnly,
|
|
144
|
+
Anthropic::WebFetchURLSourceExcept
|
|
145
|
+
),
|
|
146
|
+
server_tool_results:
|
|
147
|
+
T.any(
|
|
148
|
+
Anthropic::WebFetchURLSourceAll,
|
|
149
|
+
Anthropic::WebFetchURLSourceNone,
|
|
150
|
+
Anthropic::WebFetchURLSourceOnly,
|
|
151
|
+
Anthropic::WebFetchURLSourceExcept
|
|
152
|
+
),
|
|
153
|
+
user_input:
|
|
154
|
+
T.any(
|
|
155
|
+
Anthropic::WebFetchURLSourceAll,
|
|
156
|
+
Anthropic::WebFetchURLSourceNone
|
|
157
|
+
)
|
|
158
|
+
}
|
|
159
|
+
)
|
|
160
|
+
end
|
|
161
|
+
def to_hash
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Which client tools' results contribute fetchable URLs: "all", "none", or an only
|
|
165
|
+
# or except list of client tool names from tools[].
|
|
166
|
+
module ClientToolResults
|
|
167
|
+
extend Anthropic::Internal::Type::Union
|
|
168
|
+
|
|
169
|
+
Variants =
|
|
170
|
+
T.type_alias do
|
|
171
|
+
T.any(
|
|
172
|
+
Anthropic::WebFetchURLSourceAll,
|
|
173
|
+
Anthropic::WebFetchURLSourceNone,
|
|
174
|
+
Anthropic::WebFetchURLSourceOnly,
|
|
175
|
+
Anthropic::WebFetchURLSourceExcept
|
|
176
|
+
)
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
module Type
|
|
180
|
+
extend Anthropic::Internal::Type::Enum
|
|
181
|
+
|
|
182
|
+
TaggedSymbol =
|
|
183
|
+
T.type_alias do
|
|
184
|
+
T.all(
|
|
185
|
+
Symbol,
|
|
186
|
+
Anthropic::WebFetchURLSources::ClientToolResults::Type
|
|
187
|
+
)
|
|
188
|
+
end
|
|
189
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
190
|
+
|
|
191
|
+
ALL =
|
|
192
|
+
T.let(
|
|
193
|
+
:all,
|
|
194
|
+
Anthropic::WebFetchURLSources::ClientToolResults::Type::TaggedSymbol
|
|
195
|
+
)
|
|
196
|
+
NONE =
|
|
197
|
+
T.let(
|
|
198
|
+
:none,
|
|
199
|
+
Anthropic::WebFetchURLSources::ClientToolResults::Type::TaggedSymbol
|
|
200
|
+
)
|
|
201
|
+
ONLY =
|
|
202
|
+
T.let(
|
|
203
|
+
:only,
|
|
204
|
+
Anthropic::WebFetchURLSources::ClientToolResults::Type::TaggedSymbol
|
|
205
|
+
)
|
|
206
|
+
EXCEPT =
|
|
207
|
+
T.let(
|
|
208
|
+
:except,
|
|
209
|
+
Anthropic::WebFetchURLSources::ClientToolResults::Type::TaggedSymbol
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
sig do
|
|
213
|
+
override.returns(
|
|
214
|
+
T::Array[
|
|
215
|
+
Anthropic::WebFetchURLSources::ClientToolResults::Type::TaggedSymbol
|
|
216
|
+
]
|
|
217
|
+
)
|
|
218
|
+
end
|
|
219
|
+
def self.values
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
sig do
|
|
224
|
+
override.returns(
|
|
225
|
+
T::Array[Anthropic::WebFetchURLSources::ClientToolResults::Variants]
|
|
226
|
+
)
|
|
227
|
+
end
|
|
228
|
+
def self.variants
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
232
|
+
# value, passing the remaining arguments to its constructor.
|
|
233
|
+
sig do
|
|
234
|
+
params(
|
|
235
|
+
type: T.any(Symbol, String),
|
|
236
|
+
tools: T::Array[Anthropic::WebFetchURLSourceToolReference::OrHash]
|
|
237
|
+
).returns(Anthropic::WebFetchURLSources::ClientToolResults::Variants)
|
|
238
|
+
end
|
|
239
|
+
def self.new(type:, tools: nil)
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# Which server tools' results contribute fetchable URLs: "all", "none", or an only
|
|
244
|
+
# or except list of server tool names from tools[]; only web_search and web_fetch
|
|
245
|
+
# results ever contribute.
|
|
246
|
+
module ServerToolResults
|
|
247
|
+
extend Anthropic::Internal::Type::Union
|
|
248
|
+
|
|
249
|
+
Variants =
|
|
250
|
+
T.type_alias do
|
|
251
|
+
T.any(
|
|
252
|
+
Anthropic::WebFetchURLSourceAll,
|
|
253
|
+
Anthropic::WebFetchURLSourceNone,
|
|
254
|
+
Anthropic::WebFetchURLSourceOnly,
|
|
255
|
+
Anthropic::WebFetchURLSourceExcept
|
|
256
|
+
)
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
module Type
|
|
260
|
+
extend Anthropic::Internal::Type::Enum
|
|
261
|
+
|
|
262
|
+
TaggedSymbol =
|
|
263
|
+
T.type_alias do
|
|
264
|
+
T.all(
|
|
265
|
+
Symbol,
|
|
266
|
+
Anthropic::WebFetchURLSources::ServerToolResults::Type
|
|
267
|
+
)
|
|
268
|
+
end
|
|
269
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
270
|
+
|
|
271
|
+
ALL =
|
|
272
|
+
T.let(
|
|
273
|
+
:all,
|
|
274
|
+
Anthropic::WebFetchURLSources::ServerToolResults::Type::TaggedSymbol
|
|
275
|
+
)
|
|
276
|
+
NONE =
|
|
277
|
+
T.let(
|
|
278
|
+
:none,
|
|
279
|
+
Anthropic::WebFetchURLSources::ServerToolResults::Type::TaggedSymbol
|
|
280
|
+
)
|
|
281
|
+
ONLY =
|
|
282
|
+
T.let(
|
|
283
|
+
:only,
|
|
284
|
+
Anthropic::WebFetchURLSources::ServerToolResults::Type::TaggedSymbol
|
|
285
|
+
)
|
|
286
|
+
EXCEPT =
|
|
287
|
+
T.let(
|
|
288
|
+
:except,
|
|
289
|
+
Anthropic::WebFetchURLSources::ServerToolResults::Type::TaggedSymbol
|
|
290
|
+
)
|
|
291
|
+
|
|
292
|
+
sig do
|
|
293
|
+
override.returns(
|
|
294
|
+
T::Array[
|
|
295
|
+
Anthropic::WebFetchURLSources::ServerToolResults::Type::TaggedSymbol
|
|
296
|
+
]
|
|
297
|
+
)
|
|
298
|
+
end
|
|
299
|
+
def self.values
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
sig do
|
|
304
|
+
override.returns(
|
|
305
|
+
T::Array[Anthropic::WebFetchURLSources::ServerToolResults::Variants]
|
|
306
|
+
)
|
|
307
|
+
end
|
|
308
|
+
def self.variants
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
312
|
+
# value, passing the remaining arguments to its constructor.
|
|
313
|
+
sig do
|
|
314
|
+
params(
|
|
315
|
+
type: T.any(Symbol, String),
|
|
316
|
+
tools: T::Array[Anthropic::WebFetchURLSourceToolReference::OrHash]
|
|
317
|
+
).returns(Anthropic::WebFetchURLSources::ServerToolResults::Variants)
|
|
318
|
+
end
|
|
319
|
+
def self.new(type:, tools: nil)
|
|
320
|
+
end
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
# Whether URLs in user messages are fetchable: "all" or "none".
|
|
324
|
+
module UserInput
|
|
325
|
+
extend Anthropic::Internal::Type::Union
|
|
326
|
+
|
|
327
|
+
Variants =
|
|
328
|
+
T.type_alias do
|
|
329
|
+
T.any(
|
|
330
|
+
Anthropic::WebFetchURLSourceAll,
|
|
331
|
+
Anthropic::WebFetchURLSourceNone
|
|
332
|
+
)
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
module Type
|
|
336
|
+
extend Anthropic::Internal::Type::Enum
|
|
337
|
+
|
|
338
|
+
TaggedSymbol =
|
|
339
|
+
T.type_alias do
|
|
340
|
+
T.all(Symbol, Anthropic::WebFetchURLSources::UserInput::Type)
|
|
341
|
+
end
|
|
342
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
343
|
+
|
|
344
|
+
ALL =
|
|
345
|
+
T.let(
|
|
346
|
+
:all,
|
|
347
|
+
Anthropic::WebFetchURLSources::UserInput::Type::TaggedSymbol
|
|
348
|
+
)
|
|
349
|
+
NONE =
|
|
350
|
+
T.let(
|
|
351
|
+
:none,
|
|
352
|
+
Anthropic::WebFetchURLSources::UserInput::Type::TaggedSymbol
|
|
353
|
+
)
|
|
354
|
+
|
|
355
|
+
sig do
|
|
356
|
+
override.returns(
|
|
357
|
+
T::Array[
|
|
358
|
+
Anthropic::WebFetchURLSources::UserInput::Type::TaggedSymbol
|
|
359
|
+
]
|
|
360
|
+
)
|
|
361
|
+
end
|
|
362
|
+
def self.values
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
sig do
|
|
367
|
+
override.returns(
|
|
368
|
+
T::Array[Anthropic::WebFetchURLSources::UserInput::Variants]
|
|
369
|
+
)
|
|
370
|
+
end
|
|
371
|
+
def self.variants
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
375
|
+
# value, passing the remaining arguments to its constructor.
|
|
376
|
+
sig do
|
|
377
|
+
params(type: T.any(Symbol, String)).returns(
|
|
378
|
+
Anthropic::WebFetchURLSources::UserInput::Variants
|
|
379
|
+
)
|
|
380
|
+
end
|
|
381
|
+
def self.new(type:)
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
end
|
|
385
|
+
end
|
|
386
|
+
end
|
|
@@ -11,7 +11,6 @@ module Anthropic
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# Tool invocation directly from the model.
|
|
15
14
|
sig { returns(Anthropic::WebSearchToolResultBlock::Caller::Variants) }
|
|
16
15
|
attr_accessor :caller_
|
|
17
16
|
|
|
@@ -42,7 +41,6 @@ module Anthropic
|
|
|
42
41
|
).returns(T.attached_class)
|
|
43
42
|
end
|
|
44
43
|
def self.new(
|
|
45
|
-
# Tool invocation directly from the model.
|
|
46
44
|
caller_:,
|
|
47
45
|
content:,
|
|
48
46
|
tool_use_id:,
|
|
@@ -63,7 +61,6 @@ module Anthropic
|
|
|
63
61
|
def to_hash
|
|
64
62
|
end
|
|
65
63
|
|
|
66
|
-
# Tool invocation directly from the model.
|
|
67
64
|
module Caller
|
|
68
65
|
extend Anthropic::Internal::Type::Union
|
|
69
66
|
|
|
@@ -14,8 +14,8 @@ module Anthropic
|
|
|
14
14
|
sig do
|
|
15
15
|
returns(
|
|
16
16
|
T.any(
|
|
17
|
-
|
|
18
|
-
Anthropic::
|
|
17
|
+
Anthropic::WebSearchToolRequestError,
|
|
18
|
+
T::Array[Anthropic::WebSearchResultBlockParam]
|
|
19
19
|
)
|
|
20
20
|
)
|
|
21
21
|
end
|
|
@@ -38,7 +38,6 @@ module Anthropic
|
|
|
38
38
|
end
|
|
39
39
|
attr_writer :cache_control
|
|
40
40
|
|
|
41
|
-
# Tool invocation directly from the model.
|
|
42
41
|
sig do
|
|
43
42
|
returns(
|
|
44
43
|
T.nilable(
|
|
@@ -68,8 +67,8 @@ module Anthropic
|
|
|
68
67
|
params(
|
|
69
68
|
content:
|
|
70
69
|
T.any(
|
|
71
|
-
|
|
72
|
-
Anthropic::
|
|
70
|
+
Anthropic::WebSearchToolRequestError::OrHash,
|
|
71
|
+
T::Array[Anthropic::WebSearchResultBlockParam::OrHash]
|
|
73
72
|
),
|
|
74
73
|
tool_use_id: String,
|
|
75
74
|
cache_control: T.nilable(Anthropic::CacheControlEphemeral::OrHash),
|
|
@@ -87,7 +86,6 @@ module Anthropic
|
|
|
87
86
|
tool_use_id:,
|
|
88
87
|
# Create a cache control breakpoint at this content block.
|
|
89
88
|
cache_control: nil,
|
|
90
|
-
# Tool invocation directly from the model.
|
|
91
89
|
caller_: nil,
|
|
92
90
|
type: :web_search_tool_result
|
|
93
91
|
)
|
|
@@ -98,8 +96,8 @@ module Anthropic
|
|
|
98
96
|
{
|
|
99
97
|
content:
|
|
100
98
|
T.any(
|
|
101
|
-
|
|
102
|
-
Anthropic::
|
|
99
|
+
Anthropic::WebSearchToolRequestError,
|
|
100
|
+
T::Array[Anthropic::WebSearchResultBlockParam]
|
|
103
101
|
),
|
|
104
102
|
tool_use_id: String,
|
|
105
103
|
type: Symbol,
|
|
@@ -116,7 +114,6 @@ module Anthropic
|
|
|
116
114
|
def to_hash
|
|
117
115
|
end
|
|
118
116
|
|
|
119
|
-
# Tool invocation directly from the model.
|
|
120
117
|
module Caller
|
|
121
118
|
extend Anthropic::Internal::Type::Union
|
|
122
119
|
|
data/rbi/anthropic/models.rbi
CHANGED
|
@@ -584,6 +584,19 @@ module Anthropic
|
|
|
584
584
|
|
|
585
585
|
WebFetchToolResultErrorCode = Anthropic::Models::WebFetchToolResultErrorCode
|
|
586
586
|
|
|
587
|
+
WebFetchURLSourceAll = Anthropic::Models::WebFetchURLSourceAll
|
|
588
|
+
|
|
589
|
+
WebFetchURLSourceExcept = Anthropic::Models::WebFetchURLSourceExcept
|
|
590
|
+
|
|
591
|
+
WebFetchURLSourceNone = Anthropic::Models::WebFetchURLSourceNone
|
|
592
|
+
|
|
593
|
+
WebFetchURLSourceOnly = Anthropic::Models::WebFetchURLSourceOnly
|
|
594
|
+
|
|
595
|
+
WebFetchURLSources = Anthropic::Models::WebFetchURLSources
|
|
596
|
+
|
|
597
|
+
WebFetchURLSourceToolReference =
|
|
598
|
+
Anthropic::Models::WebFetchURLSourceToolReference
|
|
599
|
+
|
|
587
600
|
WebSearchResultBlock = Anthropic::Models::WebSearchResultBlock
|
|
588
601
|
|
|
589
602
|
WebSearchResultBlockParam = Anthropic::Models::WebSearchResultBlockParam
|
|
@@ -17,8 +17,7 @@ module Anthropic
|
|
|
17
17
|
def self.validate!(opts)
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
-
#
|
|
21
|
-
# sent for write requests.
|
|
20
|
+
# Deprecated: this option has no effect and will be removed in a future major version.
|
|
22
21
|
sig { returns(T.nilable(String)) }
|
|
23
22
|
attr_accessor :idempotency_key
|
|
24
23
|
|
|
@@ -12,7 +12,7 @@ module Anthropic
|
|
|
12
12
|
limit: Integer,
|
|
13
13
|
page: String,
|
|
14
14
|
betas:
|
|
15
|
-
T::Array[T.any(
|
|
15
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
16
16
|
workspace_id: String,
|
|
17
17
|
request_options: Anthropic::RequestOptions::OrHash
|
|
18
18
|
).returns(
|
|
@@ -12,9 +12,9 @@ module Anthropic
|
|
|
12
12
|
params(
|
|
13
13
|
model:
|
|
14
14
|
T.any(
|
|
15
|
+
Anthropic::Beta::BetaManagedAgentsModelConfigParams::OrHash,
|
|
15
16
|
Anthropic::Beta::BetaManagedAgentsModel::OrSymbol,
|
|
16
|
-
String
|
|
17
|
-
Anthropic::Beta::BetaManagedAgentsModelConfigParams::OrHash
|
|
17
|
+
String
|
|
18
18
|
),
|
|
19
19
|
name: String,
|
|
20
20
|
description: T.nilable(String),
|
|
@@ -43,7 +43,7 @@ module Anthropic
|
|
|
43
43
|
Anthropic::Beta::BetaManagedAgentsCustomToolParams::OrHash
|
|
44
44
|
)
|
|
45
45
|
],
|
|
46
|
-
betas: T::Array[T.any(
|
|
46
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
47
47
|
workspace_id: String,
|
|
48
48
|
request_options: Anthropic::RequestOptions::OrHash
|
|
49
49
|
).returns(Anthropic::Beta::BetaManagedAgentsAgent)
|
|
@@ -95,7 +95,7 @@ module Anthropic
|
|
|
95
95
|
params(
|
|
96
96
|
agent_id: String,
|
|
97
97
|
version: Integer,
|
|
98
|
-
betas: T::Array[T.any(
|
|
98
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
99
99
|
workspace_id: String,
|
|
100
100
|
request_options: Anthropic::RequestOptions::OrHash
|
|
101
101
|
).returns(Anthropic::Beta::BetaManagedAgentsAgent)
|
|
@@ -133,9 +133,9 @@ module Anthropic
|
|
|
133
133
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
|
134
134
|
model:
|
|
135
135
|
T.any(
|
|
136
|
+
Anthropic::Beta::BetaManagedAgentsModelConfigParams::OrHash,
|
|
136
137
|
Anthropic::Beta::BetaManagedAgentsModel::OrSymbol,
|
|
137
|
-
String
|
|
138
|
-
Anthropic::Beta::BetaManagedAgentsModelConfigParams::OrHash
|
|
138
|
+
String
|
|
139
139
|
),
|
|
140
140
|
multiagent:
|
|
141
141
|
T.nilable(
|
|
@@ -163,7 +163,7 @@ module Anthropic
|
|
|
163
163
|
]
|
|
164
164
|
),
|
|
165
165
|
version: Integer,
|
|
166
|
-
betas: T::Array[T.any(
|
|
166
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
167
167
|
workspace_id: String,
|
|
168
168
|
request_options: Anthropic::RequestOptions::OrHash
|
|
169
169
|
).returns(Anthropic::Beta::BetaManagedAgentsAgent)
|
|
@@ -230,7 +230,7 @@ module Anthropic
|
|
|
230
230
|
include_archived: T::Boolean,
|
|
231
231
|
limit: Integer,
|
|
232
232
|
page: String,
|
|
233
|
-
betas: T::Array[T.any(
|
|
233
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
234
234
|
workspace_id: String,
|
|
235
235
|
request_options: Anthropic::RequestOptions::OrHash
|
|
236
236
|
).returns(
|
|
@@ -267,7 +267,7 @@ module Anthropic
|
|
|
267
267
|
sig do
|
|
268
268
|
params(
|
|
269
269
|
agent_id: String,
|
|
270
|
-
betas: T::Array[T.any(
|
|
270
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
271
271
|
workspace_id: String,
|
|
272
272
|
request_options: Anthropic::RequestOptions::OrHash
|
|
273
273
|
).returns(Anthropic::Beta::BetaManagedAgentsAgent)
|
|
@@ -8,7 +8,7 @@ module Anthropic
|
|
|
8
8
|
sig do
|
|
9
9
|
params(
|
|
10
10
|
deployment_run_id: String,
|
|
11
|
-
betas: T::Array[T.any(
|
|
11
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
12
12
|
workspace_id: String,
|
|
13
13
|
request_options: Anthropic::RequestOptions::OrHash
|
|
14
14
|
).returns(Anthropic::Beta::BetaManagedAgentsDeploymentRun)
|
|
@@ -42,7 +42,7 @@ module Anthropic
|
|
|
42
42
|
page: String,
|
|
43
43
|
trigger_type:
|
|
44
44
|
Anthropic::Beta::BetaManagedAgentsTriggerType::OrSymbol,
|
|
45
|
-
betas: T::Array[T.any(
|
|
45
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
46
46
|
workspace_id: String,
|
|
47
47
|
request_options: Anthropic::RequestOptions::OrHash
|
|
48
48
|
).returns(
|
|
@@ -9,8 +9,8 @@ module Anthropic
|
|
|
9
9
|
params(
|
|
10
10
|
agent:
|
|
11
11
|
T.any(
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
Anthropic::Beta::BetaManagedAgentsAgentParams::OrHash,
|
|
13
|
+
String
|
|
14
14
|
),
|
|
15
15
|
environment_id: String,
|
|
16
16
|
initial_events:
|
|
@@ -39,7 +39,7 @@ module Anthropic
|
|
|
39
39
|
Anthropic::Beta::BetaManagedAgentsScheduleParams::OrHash
|
|
40
40
|
),
|
|
41
41
|
vault_ids: T::Array[String],
|
|
42
|
-
betas: T::Array[T.any(
|
|
42
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
43
43
|
workspace_id: String,
|
|
44
44
|
request_options: Anthropic::RequestOptions::OrHash
|
|
45
45
|
).returns(Anthropic::Beta::BetaManagedAgentsDeployment)
|
|
@@ -91,7 +91,7 @@ module Anthropic
|
|
|
91
91
|
sig do
|
|
92
92
|
params(
|
|
93
93
|
deployment_id: String,
|
|
94
|
-
betas: T::Array[T.any(
|
|
94
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
95
95
|
workspace_id: String,
|
|
96
96
|
request_options: Anthropic::RequestOptions::OrHash
|
|
97
97
|
).returns(Anthropic::Beta::BetaManagedAgentsDeployment)
|
|
@@ -118,8 +118,8 @@ module Anthropic
|
|
|
118
118
|
deployment_id: String,
|
|
119
119
|
agent:
|
|
120
120
|
T.any(
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
Anthropic::Beta::BetaManagedAgentsAgentParams::OrHash,
|
|
122
|
+
String
|
|
123
123
|
),
|
|
124
124
|
budget:
|
|
125
125
|
T.nilable(Anthropic::Beta::BetaManagedAgentsBudgetLimit::OrHash),
|
|
@@ -150,7 +150,7 @@ module Anthropic
|
|
|
150
150
|
Anthropic::Beta::BetaManagedAgentsScheduleParams::OrHash
|
|
151
151
|
),
|
|
152
152
|
vault_ids: T.nilable(T::Array[String]),
|
|
153
|
-
betas: T::Array[T.any(
|
|
153
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
154
154
|
workspace_id: String,
|
|
155
155
|
request_options: Anthropic::RequestOptions::OrHash
|
|
156
156
|
).returns(Anthropic::Beta::BetaManagedAgentsDeployment)
|
|
@@ -213,7 +213,7 @@ module Anthropic
|
|
|
213
213
|
page: String,
|
|
214
214
|
status:
|
|
215
215
|
Anthropic::Beta::BetaManagedAgentsDeploymentStatus::OrSymbol,
|
|
216
|
-
betas: T::Array[T.any(
|
|
216
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
217
217
|
workspace_id: String,
|
|
218
218
|
request_options: Anthropic::RequestOptions::OrHash
|
|
219
219
|
).returns(
|
|
@@ -257,7 +257,7 @@ module Anthropic
|
|
|
257
257
|
sig do
|
|
258
258
|
params(
|
|
259
259
|
deployment_id: String,
|
|
260
|
-
betas: T::Array[T.any(
|
|
260
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
261
261
|
workspace_id: String,
|
|
262
262
|
request_options: Anthropic::RequestOptions::OrHash
|
|
263
263
|
).returns(Anthropic::Beta::BetaManagedAgentsDeployment)
|
|
@@ -282,7 +282,7 @@ module Anthropic
|
|
|
282
282
|
sig do
|
|
283
283
|
params(
|
|
284
284
|
deployment_id: String,
|
|
285
|
-
betas: T::Array[T.any(
|
|
285
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
286
286
|
workspace_id: String,
|
|
287
287
|
request_options: Anthropic::RequestOptions::OrHash
|
|
288
288
|
).returns(Anthropic::Beta::BetaManagedAgentsDeployment)
|
|
@@ -307,7 +307,7 @@ module Anthropic
|
|
|
307
307
|
sig do
|
|
308
308
|
params(
|
|
309
309
|
deployment_id: String,
|
|
310
|
-
betas: T::Array[T.any(
|
|
310
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
311
311
|
workspace_id: String,
|
|
312
312
|
request_options: Anthropic::RequestOptions::OrHash
|
|
313
313
|
).returns(Anthropic::Beta::BetaManagedAgentsDeploymentRun)
|
|
@@ -332,7 +332,7 @@ module Anthropic
|
|
|
332
332
|
sig do
|
|
333
333
|
params(
|
|
334
334
|
deployment_id: String,
|
|
335
|
-
betas: T::Array[T.any(
|
|
335
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
336
336
|
workspace_id: String,
|
|
337
337
|
request_options: Anthropic::RequestOptions::OrHash
|
|
338
338
|
).returns(Anthropic::Beta::BetaManagedAgentsDeployment)
|