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
|
@@ -56,17 +56,19 @@ module Anthropic
|
|
|
56
56
|
type permission_policy =
|
|
57
57
|
Anthropic::Beta::BetaManagedAgentsAlwaysAllowPolicy
|
|
58
58
|
| Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
59
|
+
| Anthropic::Beta::BetaManagedAgentsAutoPolicy
|
|
59
60
|
|
|
60
61
|
module PermissionPolicy
|
|
61
62
|
extend Anthropic::Internal::Type::Union
|
|
62
63
|
|
|
63
|
-
type type_ = :always_allow | :always_ask
|
|
64
|
+
type type_ = :always_allow | :always_ask | :auto
|
|
64
65
|
|
|
65
66
|
module Type
|
|
66
67
|
extend Anthropic::Internal::Type::Enum
|
|
67
68
|
|
|
68
69
|
ALWAYS_ALLOW: :always_allow
|
|
69
70
|
ALWAYS_ASK: :always_ask
|
|
71
|
+
AUTO: :auto
|
|
70
72
|
|
|
71
73
|
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaManagedAgentsWebSearchToolConfig::PermissionPolicy::type_]
|
|
72
74
|
end
|
|
@@ -80,6 +82,9 @@ module Anthropic
|
|
|
80
82
|
| (
|
|
81
83
|
type: :always_ask | "always_ask"
|
|
82
84
|
) -> Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
85
|
+
| (
|
|
86
|
+
type: :auto | "auto"
|
|
87
|
+
) -> Anthropic::Beta::BetaManagedAgentsAutoPolicy
|
|
83
88
|
| (
|
|
84
89
|
type: Symbol | String
|
|
85
90
|
) -> Anthropic::Models::Beta::BetaManagedAgentsWebSearchToolConfig::permission_policy
|
|
@@ -60,17 +60,19 @@ module Anthropic
|
|
|
60
60
|
type permission_policy =
|
|
61
61
|
Anthropic::Beta::BetaManagedAgentsAlwaysAllowPolicy
|
|
62
62
|
| Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
63
|
+
| Anthropic::Beta::BetaManagedAgentsAutoPolicy
|
|
63
64
|
|
|
64
65
|
module PermissionPolicy
|
|
65
66
|
extend Anthropic::Internal::Type::Union
|
|
66
67
|
|
|
67
|
-
type type_ = :always_allow | :always_ask
|
|
68
|
+
type type_ = :always_allow | :always_ask | :auto
|
|
68
69
|
|
|
69
70
|
module Type
|
|
70
71
|
extend Anthropic::Internal::Type::Enum
|
|
71
72
|
|
|
72
73
|
ALWAYS_ALLOW: :always_allow
|
|
73
74
|
ALWAYS_ASK: :always_ask
|
|
75
|
+
AUTO: :auto
|
|
74
76
|
|
|
75
77
|
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaManagedAgentsWebSearchToolConfigParams::PermissionPolicy::type_]
|
|
76
78
|
end
|
|
@@ -84,6 +86,9 @@ module Anthropic
|
|
|
84
86
|
| (
|
|
85
87
|
type: :always_ask | "always_ask"
|
|
86
88
|
) -> Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
89
|
+
| (
|
|
90
|
+
type: :auto | "auto"
|
|
91
|
+
) -> Anthropic::Beta::BetaManagedAgentsAutoPolicy
|
|
87
92
|
| (
|
|
88
93
|
type: Symbol | String
|
|
89
94
|
) -> Anthropic::Models::Beta::BetaManagedAgentsWebSearchToolConfigParams::permission_policy
|
|
@@ -37,17 +37,19 @@ module Anthropic
|
|
|
37
37
|
type permission_policy =
|
|
38
38
|
Anthropic::Beta::BetaManagedAgentsAlwaysAllowPolicy
|
|
39
39
|
| Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
40
|
+
| Anthropic::Beta::BetaManagedAgentsAutoPolicy
|
|
40
41
|
|
|
41
42
|
module PermissionPolicy
|
|
42
43
|
extend Anthropic::Internal::Type::Union
|
|
43
44
|
|
|
44
|
-
type type_ = :always_allow | :always_ask
|
|
45
|
+
type type_ = :always_allow | :always_ask | :auto
|
|
45
46
|
|
|
46
47
|
module Type
|
|
47
48
|
extend Anthropic::Internal::Type::Enum
|
|
48
49
|
|
|
49
50
|
ALWAYS_ALLOW: :always_allow
|
|
50
51
|
ALWAYS_ASK: :always_ask
|
|
52
|
+
AUTO: :auto
|
|
51
53
|
|
|
52
54
|
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaManagedAgentsWriteToolConfig::PermissionPolicy::type_]
|
|
53
55
|
end
|
|
@@ -61,6 +63,9 @@ module Anthropic
|
|
|
61
63
|
| (
|
|
62
64
|
type: :always_ask | "always_ask"
|
|
63
65
|
) -> Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
66
|
+
| (
|
|
67
|
+
type: :auto | "auto"
|
|
68
|
+
) -> Anthropic::Beta::BetaManagedAgentsAutoPolicy
|
|
64
69
|
| (
|
|
65
70
|
type: Symbol | String
|
|
66
71
|
) -> Anthropic::Models::Beta::BetaManagedAgentsWriteToolConfig::permission_policy
|
|
@@ -41,17 +41,19 @@ module Anthropic
|
|
|
41
41
|
type permission_policy =
|
|
42
42
|
Anthropic::Beta::BetaManagedAgentsAlwaysAllowPolicy
|
|
43
43
|
| Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
44
|
+
| Anthropic::Beta::BetaManagedAgentsAutoPolicy
|
|
44
45
|
|
|
45
46
|
module PermissionPolicy
|
|
46
47
|
extend Anthropic::Internal::Type::Union
|
|
47
48
|
|
|
48
|
-
type type_ = :always_allow | :always_ask
|
|
49
|
+
type type_ = :always_allow | :always_ask | :auto
|
|
49
50
|
|
|
50
51
|
module Type
|
|
51
52
|
extend Anthropic::Internal::Type::Enum
|
|
52
53
|
|
|
53
54
|
ALWAYS_ALLOW: :always_allow
|
|
54
55
|
ALWAYS_ASK: :always_ask
|
|
56
|
+
AUTO: :auto
|
|
55
57
|
|
|
56
58
|
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaManagedAgentsWriteToolConfigParams::PermissionPolicy::type_]
|
|
57
59
|
end
|
|
@@ -65,6 +67,9 @@ module Anthropic
|
|
|
65
67
|
| (
|
|
66
68
|
type: :always_ask | "always_ask"
|
|
67
69
|
) -> Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy
|
|
70
|
+
| (
|
|
71
|
+
type: :auto | "auto"
|
|
72
|
+
) -> Anthropic::Beta::BetaManagedAgentsAutoPolicy
|
|
68
73
|
| (
|
|
69
74
|
type: Symbol | String
|
|
70
75
|
) -> Anthropic::Models::Beta::BetaManagedAgentsWriteToolConfigParams::permission_policy
|
|
@@ -17,7 +17,7 @@ module Anthropic
|
|
|
17
17
|
stop_sequence: String?,
|
|
18
18
|
type: :message,
|
|
19
19
|
usage: Anthropic::Beta::BetaUsage,
|
|
20
|
-
input_transformations: ::Array[Anthropic::Beta::
|
|
20
|
+
input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
class BetaMessage < Anthropic::Internal::Type::BaseModel
|
|
@@ -47,7 +47,7 @@ module Anthropic
|
|
|
47
47
|
|
|
48
48
|
attr_accessor usage: Anthropic::Beta::BetaUsage
|
|
49
49
|
|
|
50
|
-
attr_accessor input_transformations: ::Array[Anthropic::Beta::
|
|
50
|
+
attr_accessor input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?
|
|
51
51
|
|
|
52
52
|
def initialize: (
|
|
53
53
|
id: String,
|
|
@@ -60,7 +60,7 @@ module Anthropic
|
|
|
60
60
|
stop_reason: Anthropic::Models::Beta::beta_stop_reason?,
|
|
61
61
|
stop_sequence: String?,
|
|
62
62
|
usage: Anthropic::Beta::BetaUsage,
|
|
63
|
-
?input_transformations: ::Array[Anthropic::Beta::
|
|
63
|
+
?input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?,
|
|
64
64
|
?role: :assistant,
|
|
65
65
|
?type: :message
|
|
66
66
|
) -> void
|
|
@@ -78,7 +78,7 @@ module Anthropic
|
|
|
78
78
|
stop_sequence: String?,
|
|
79
79
|
type: :message,
|
|
80
80
|
usage: Anthropic::Beta::BetaUsage,
|
|
81
|
-
input_transformations: ::Array[Anthropic::Beta::
|
|
81
|
+
input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?
|
|
82
82
|
}
|
|
83
83
|
end
|
|
84
84
|
end
|
|
@@ -9,7 +9,7 @@ module Anthropic
|
|
|
9
9
|
cache_creation_input_tokens: Integer,
|
|
10
10
|
cache_read_input_tokens: Integer,
|
|
11
11
|
input_tokens: Integer,
|
|
12
|
-
model: Anthropic::Models::model
|
|
12
|
+
model: Anthropic::Models::model?,
|
|
13
13
|
output_tokens: Integer,
|
|
14
14
|
type: :message
|
|
15
15
|
}
|
|
@@ -23,7 +23,7 @@ module Anthropic
|
|
|
23
23
|
|
|
24
24
|
attr_accessor input_tokens: Integer
|
|
25
25
|
|
|
26
|
-
attr_accessor model: Anthropic::Models::model
|
|
26
|
+
attr_accessor model: Anthropic::Models::model?
|
|
27
27
|
|
|
28
28
|
attr_accessor output_tokens: Integer
|
|
29
29
|
|
|
@@ -34,7 +34,7 @@ module Anthropic
|
|
|
34
34
|
cache_creation_input_tokens: Integer,
|
|
35
35
|
cache_read_input_tokens: Integer,
|
|
36
36
|
input_tokens: Integer,
|
|
37
|
-
model: Anthropic::Models::model
|
|
37
|
+
model: Anthropic::Models::model?,
|
|
38
38
|
output_tokens: Integer,
|
|
39
39
|
?type: :message
|
|
40
40
|
) -> void
|
|
@@ -44,7 +44,7 @@ module Anthropic
|
|
|
44
44
|
cache_creation_input_tokens: Integer,
|
|
45
45
|
cache_read_input_tokens: Integer,
|
|
46
46
|
input_tokens: Integer,
|
|
47
|
-
model: Anthropic::Models::model
|
|
47
|
+
model: Anthropic::Models::model?,
|
|
48
48
|
output_tokens: Integer,
|
|
49
49
|
type: :message
|
|
50
50
|
}
|
|
@@ -8,6 +8,7 @@ module Anthropic
|
|
|
8
8
|
batch: Anthropic::Beta::BetaCapabilitySupport,
|
|
9
9
|
citations: Anthropic::Beta::BetaCapabilitySupport,
|
|
10
10
|
code_execution: Anthropic::Beta::BetaCapabilitySupport,
|
|
11
|
+
compaction: Anthropic::Beta::BetaCompactionCapability?,
|
|
11
12
|
context_management: Anthropic::Beta::BetaContextManagementCapability,
|
|
12
13
|
effort: Anthropic::Beta::BetaEffortCapability,
|
|
13
14
|
image_input: Anthropic::Beta::BetaCapabilitySupport,
|
|
@@ -23,6 +24,8 @@ module Anthropic
|
|
|
23
24
|
|
|
24
25
|
attr_accessor code_execution: Anthropic::Beta::BetaCapabilitySupport
|
|
25
26
|
|
|
27
|
+
attr_accessor compaction: Anthropic::Beta::BetaCompactionCapability?
|
|
28
|
+
|
|
26
29
|
attr_accessor context_management: Anthropic::Beta::BetaContextManagementCapability
|
|
27
30
|
|
|
28
31
|
attr_accessor effort: Anthropic::Beta::BetaEffortCapability
|
|
@@ -39,6 +42,7 @@ module Anthropic
|
|
|
39
42
|
batch: Anthropic::Beta::BetaCapabilitySupport,
|
|
40
43
|
citations: Anthropic::Beta::BetaCapabilitySupport,
|
|
41
44
|
code_execution: Anthropic::Beta::BetaCapabilitySupport,
|
|
45
|
+
compaction: Anthropic::Beta::BetaCompactionCapability?,
|
|
42
46
|
context_management: Anthropic::Beta::BetaContextManagementCapability,
|
|
43
47
|
effort: Anthropic::Beta::BetaEffortCapability,
|
|
44
48
|
image_input: Anthropic::Beta::BetaCapabilitySupport,
|
|
@@ -51,6 +55,7 @@ module Anthropic
|
|
|
51
55
|
batch: Anthropic::Beta::BetaCapabilitySupport,
|
|
52
56
|
citations: Anthropic::Beta::BetaCapabilitySupport,
|
|
53
57
|
code_execution: Anthropic::Beta::BetaCapabilitySupport,
|
|
58
|
+
compaction: Anthropic::Beta::BetaCompactionCapability?,
|
|
54
59
|
context_management: Anthropic::Beta::BetaContextManagementCapability,
|
|
55
60
|
effort: Anthropic::Beta::BetaEffortCapability,
|
|
56
61
|
image_input: Anthropic::Beta::BetaCapabilitySupport,
|
|
@@ -185,7 +185,8 @@ module Anthropic
|
|
|
185
185
|
| (
|
|
186
186
|
type: :compaction | "compaction",
|
|
187
187
|
content: String?,
|
|
188
|
-
encrypted_content: String
|
|
188
|
+
encrypted_content: String?,
|
|
189
|
+
?signature: String?
|
|
189
190
|
) -> Anthropic::Beta::BetaCompactionBlock
|
|
190
191
|
| (
|
|
191
192
|
type: :fallback | "fallback",
|
|
@@ -197,7 +198,7 @@ module Anthropic
|
|
|
197
198
|
type: Symbol | String,
|
|
198
199
|
?citations: ::Array[Anthropic::Models::Beta::beta_text_citation]?,
|
|
199
200
|
?text: String,
|
|
200
|
-
?signature: String
|
|
201
|
+
?signature: String | String?,
|
|
201
202
|
?thinking: String,
|
|
202
203
|
?data: String,
|
|
203
204
|
?id: String,
|
|
@@ -9,7 +9,7 @@ module Anthropic
|
|
|
9
9
|
delta: Anthropic::Beta::BetaRawMessageDeltaEvent::Delta,
|
|
10
10
|
type: :message_delta,
|
|
11
11
|
usage: Anthropic::Beta::BetaMessageDeltaUsage,
|
|
12
|
-
input_transformations: ::Array[Anthropic::Beta::
|
|
12
|
+
input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
class BetaRawMessageDeltaEvent < Anthropic::Internal::Type::BaseModel
|
|
@@ -21,13 +21,13 @@ module Anthropic
|
|
|
21
21
|
|
|
22
22
|
attr_accessor usage: Anthropic::Beta::BetaMessageDeltaUsage
|
|
23
23
|
|
|
24
|
-
attr_accessor input_transformations: ::Array[Anthropic::Beta::
|
|
24
|
+
attr_accessor input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?
|
|
25
25
|
|
|
26
26
|
def initialize: (
|
|
27
27
|
context_management: Anthropic::Beta::BetaContextManagementResponse?,
|
|
28
28
|
delta: Anthropic::Beta::BetaRawMessageDeltaEvent::Delta,
|
|
29
29
|
usage: Anthropic::Beta::BetaMessageDeltaUsage,
|
|
30
|
-
?input_transformations: ::Array[Anthropic::Beta::
|
|
30
|
+
?input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?,
|
|
31
31
|
?type: :message_delta
|
|
32
32
|
) -> void
|
|
33
33
|
|
|
@@ -36,7 +36,7 @@ module Anthropic
|
|
|
36
36
|
delta: Anthropic::Beta::BetaRawMessageDeltaEvent::Delta,
|
|
37
37
|
type: :message_delta,
|
|
38
38
|
usage: Anthropic::Beta::BetaMessageDeltaUsage,
|
|
39
|
-
input_transformations: ::Array[Anthropic::Beta::
|
|
39
|
+
input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
type delta =
|
|
@@ -47,7 +47,7 @@ module Anthropic
|
|
|
47
47
|
context_management: Anthropic::Beta::BetaContextManagementResponse?,
|
|
48
48
|
delta: Anthropic::Beta::BetaRawMessageDeltaEvent::Delta,
|
|
49
49
|
usage: Anthropic::Beta::BetaMessageDeltaUsage,
|
|
50
|
-
?input_transformations: ::Array[Anthropic::Beta::
|
|
50
|
+
?input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?
|
|
51
51
|
) -> Anthropic::Beta::BetaRawMessageDeltaEvent
|
|
52
52
|
| (
|
|
53
53
|
type: :message_stop | "message_stop"
|
|
@@ -73,7 +73,7 @@ module Anthropic
|
|
|
73
73
|
?delta: Anthropic::Beta::BetaRawMessageDeltaEvent::Delta
|
|
74
74
|
| Anthropic::Models::Beta::beta_raw_content_block_delta,
|
|
75
75
|
?usage: Anthropic::Beta::BetaMessageDeltaUsage,
|
|
76
|
-
?input_transformations: ::Array[Anthropic::Beta::
|
|
76
|
+
?input_transformations: ::Array[Anthropic::Models::Beta::beta_input_transformation]?,
|
|
77
77
|
?content_block: Anthropic::Models::Beta::BetaRawContentBlockStartEvent::content_block,
|
|
78
78
|
?index: Integer
|
|
79
79
|
) -> Anthropic::Models::Beta::beta_raw_message_stream_event
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaSummarizeCompaction = Beta::BetaSummarizeCompaction
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_summarize_compaction =
|
|
7
|
+
{ type: :summarize, instructions: String? }
|
|
8
|
+
|
|
9
|
+
class BetaSummarizeCompaction < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor type: :summarize
|
|
11
|
+
|
|
12
|
+
attr_accessor instructions: String?
|
|
13
|
+
|
|
14
|
+
def initialize: (?instructions: String?, ?type: :summarize) -> void
|
|
15
|
+
|
|
16
|
+
def to_hash: -> { type: :summarize, instructions: String? }
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaThinkingMismatchAllowedInputTransformation = Beta::BetaThinkingMismatchAllowedInputTransformation
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_thinking_mismatch_allowed_input_transformation =
|
|
7
|
+
{
|
|
8
|
+
path: String,
|
|
9
|
+
reason: Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation::reason,
|
|
10
|
+
type: :thinking_mismatch_allowed
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class BetaThinkingMismatchAllowedInputTransformation < Anthropic::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor path: String
|
|
15
|
+
|
|
16
|
+
attr_accessor reason: Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation::reason
|
|
17
|
+
|
|
18
|
+
attr_accessor type: :thinking_mismatch_allowed
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
path: String,
|
|
22
|
+
reason: Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation::reason,
|
|
23
|
+
?type: :thinking_mismatch_allowed
|
|
24
|
+
) -> void
|
|
25
|
+
|
|
26
|
+
def to_hash: -> {
|
|
27
|
+
path: String,
|
|
28
|
+
reason: Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation::reason,
|
|
29
|
+
type: :thinking_mismatch_allowed
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type reason =
|
|
33
|
+
:model_binding_mismatch
|
|
34
|
+
| :prefix_binding_mismatch
|
|
35
|
+
| :organization_binding_mismatch
|
|
36
|
+
| :end_user_binding_mismatch
|
|
37
|
+
|
|
38
|
+
module Reason
|
|
39
|
+
extend Anthropic::Internal::Type::Enum
|
|
40
|
+
|
|
41
|
+
MODEL_BINDING_MISMATCH: :model_binding_mismatch
|
|
42
|
+
PREFIX_BINDING_MISMATCH: :prefix_binding_mismatch
|
|
43
|
+
ORGANIZATION_BINDING_MISMATCH: :organization_binding_mismatch
|
|
44
|
+
END_USER_BINDING_MISMATCH: :end_user_binding_mismatch
|
|
45
|
+
|
|
46
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation::reason]
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -13,6 +13,7 @@ module Anthropic
|
|
|
13
13
|
updated_at: Time,
|
|
14
14
|
access_type: Anthropic::Models::Beta::BetaUserProfile::access_type,
|
|
15
15
|
external_id: String?,
|
|
16
|
+
external_user_details: Anthropic::Beta::BetaUserProfileExternalUserDetails,
|
|
16
17
|
external_user_onboarded_at: Time?,
|
|
17
18
|
name: String?
|
|
18
19
|
}
|
|
@@ -38,6 +39,12 @@ module Anthropic
|
|
|
38
39
|
|
|
39
40
|
attr_accessor external_id: String?
|
|
40
41
|
|
|
42
|
+
attr_reader external_user_details: Anthropic::Beta::BetaUserProfileExternalUserDetails?
|
|
43
|
+
|
|
44
|
+
def external_user_details=: (
|
|
45
|
+
Anthropic::Beta::BetaUserProfileExternalUserDetails
|
|
46
|
+
) -> Anthropic::Beta::BetaUserProfileExternalUserDetails
|
|
47
|
+
|
|
41
48
|
attr_accessor external_user_onboarded_at: Time?
|
|
42
49
|
|
|
43
50
|
attr_accessor name: String?
|
|
@@ -51,6 +58,7 @@ module Anthropic
|
|
|
51
58
|
updated_at: Time,
|
|
52
59
|
?access_type: Anthropic::Models::Beta::BetaUserProfile::access_type,
|
|
53
60
|
?external_id: String?,
|
|
61
|
+
?external_user_details: Anthropic::Beta::BetaUserProfileExternalUserDetails,
|
|
54
62
|
?external_user_onboarded_at: Time?,
|
|
55
63
|
?name: String?
|
|
56
64
|
) -> void
|
|
@@ -64,6 +72,7 @@ module Anthropic
|
|
|
64
72
|
updated_at: Time,
|
|
65
73
|
access_type: Anthropic::Models::Beta::BetaUserProfile::access_type,
|
|
66
74
|
external_id: String?,
|
|
75
|
+
external_user_details: Anthropic::Beta::BetaUserProfileExternalUserDetails,
|
|
67
76
|
external_user_onboarded_at: Time?,
|
|
68
77
|
name: String?
|
|
69
78
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaUserProfileExternalUserDetails = Beta::BetaUserProfileExternalUserDetails
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_user_profile_external_user_details =
|
|
7
|
+
{
|
|
8
|
+
account_status: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::account_status?,
|
|
9
|
+
country: String?,
|
|
10
|
+
email_hash: String?,
|
|
11
|
+
entity_type: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::entity_type?,
|
|
12
|
+
name_hash: String?,
|
|
13
|
+
onboarded_at: Time?,
|
|
14
|
+
reference_id: String?
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
class BetaUserProfileExternalUserDetails < Anthropic::Internal::Type::BaseModel
|
|
18
|
+
attr_accessor account_status: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::account_status?
|
|
19
|
+
|
|
20
|
+
attr_accessor country: String?
|
|
21
|
+
|
|
22
|
+
attr_accessor email_hash: String?
|
|
23
|
+
|
|
24
|
+
attr_accessor entity_type: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::entity_type?
|
|
25
|
+
|
|
26
|
+
attr_accessor name_hash: String?
|
|
27
|
+
|
|
28
|
+
attr_accessor onboarded_at: Time?
|
|
29
|
+
|
|
30
|
+
attr_accessor reference_id: String?
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
account_status: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::account_status?,
|
|
34
|
+
country: String?,
|
|
35
|
+
email_hash: String?,
|
|
36
|
+
entity_type: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::entity_type?,
|
|
37
|
+
name_hash: String?,
|
|
38
|
+
onboarded_at: Time?,
|
|
39
|
+
reference_id: String?
|
|
40
|
+
) -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> {
|
|
43
|
+
account_status: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::account_status?,
|
|
44
|
+
country: String?,
|
|
45
|
+
email_hash: String?,
|
|
46
|
+
entity_type: Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::entity_type?,
|
|
47
|
+
name_hash: String?,
|
|
48
|
+
onboarded_at: Time?,
|
|
49
|
+
reference_id: String?
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
type account_status = :active | :suspended | :blocked
|
|
53
|
+
|
|
54
|
+
module AccountStatus
|
|
55
|
+
extend Anthropic::Internal::Type::Enum
|
|
56
|
+
|
|
57
|
+
ACTIVE: :active
|
|
58
|
+
SUSPENDED: :suspended
|
|
59
|
+
BLOCKED: :blocked
|
|
60
|
+
|
|
61
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::account_status]
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
type entity_type = :individual | :business | :non_profit | :government
|
|
65
|
+
|
|
66
|
+
module EntityType
|
|
67
|
+
extend Anthropic::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
INDIVIDUAL: :individual
|
|
70
|
+
BUSINESS: :business
|
|
71
|
+
NON_PROFIT: :non_profit
|
|
72
|
+
GOVERNMENT: :government
|
|
73
|
+
|
|
74
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaUserProfileExternalUserDetails::entity_type]
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaUserProfileExternalUserDetailsParams = Beta::BetaUserProfileExternalUserDetailsParams
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_user_profile_external_user_details_params =
|
|
7
|
+
{
|
|
8
|
+
account_status: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::account_status?,
|
|
9
|
+
country: String?,
|
|
10
|
+
email_hash: String?,
|
|
11
|
+
entity_type: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::entity_type?,
|
|
12
|
+
name_hash: String?,
|
|
13
|
+
onboarded_at: Time,
|
|
14
|
+
reference_id: String?
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
class BetaUserProfileExternalUserDetailsParams < Anthropic::Internal::Type::BaseModel
|
|
18
|
+
attr_accessor account_status: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::account_status?
|
|
19
|
+
|
|
20
|
+
attr_accessor country: String?
|
|
21
|
+
|
|
22
|
+
attr_accessor email_hash: String?
|
|
23
|
+
|
|
24
|
+
attr_accessor entity_type: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::entity_type?
|
|
25
|
+
|
|
26
|
+
attr_accessor name_hash: String?
|
|
27
|
+
|
|
28
|
+
attr_reader onboarded_at: Time?
|
|
29
|
+
|
|
30
|
+
def onboarded_at=: (Time) -> Time
|
|
31
|
+
|
|
32
|
+
attr_accessor reference_id: String?
|
|
33
|
+
|
|
34
|
+
def initialize: (
|
|
35
|
+
?account_status: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::account_status?,
|
|
36
|
+
?country: String?,
|
|
37
|
+
?email_hash: String?,
|
|
38
|
+
?entity_type: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::entity_type?,
|
|
39
|
+
?name_hash: String?,
|
|
40
|
+
?onboarded_at: Time,
|
|
41
|
+
?reference_id: String?
|
|
42
|
+
) -> void
|
|
43
|
+
|
|
44
|
+
def to_hash: -> {
|
|
45
|
+
account_status: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::account_status?,
|
|
46
|
+
country: String?,
|
|
47
|
+
email_hash: String?,
|
|
48
|
+
entity_type: Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::entity_type?,
|
|
49
|
+
name_hash: String?,
|
|
50
|
+
onboarded_at: Time,
|
|
51
|
+
reference_id: String?
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
type account_status = :active | :suspended | :blocked
|
|
55
|
+
|
|
56
|
+
module AccountStatus
|
|
57
|
+
extend Anthropic::Internal::Type::Enum
|
|
58
|
+
|
|
59
|
+
ACTIVE: :active
|
|
60
|
+
SUSPENDED: :suspended
|
|
61
|
+
BLOCKED: :blocked
|
|
62
|
+
|
|
63
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::account_status]
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
type entity_type = :individual | :business | :non_profit | :government
|
|
67
|
+
|
|
68
|
+
module EntityType
|
|
69
|
+
extend Anthropic::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
INDIVIDUAL: :individual
|
|
72
|
+
BUSINESS: :business
|
|
73
|
+
NON_PROFIT: :non_profit
|
|
74
|
+
GOVERNMENT: :government
|
|
75
|
+
|
|
76
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaUserProfileExternalUserDetailsParams::entity_type]
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
@@ -15,7 +15,8 @@ module Anthropic
|
|
|
15
15
|
defer_loading: bool,
|
|
16
16
|
max_content_tokens: Integer?,
|
|
17
17
|
max_uses: Integer?,
|
|
18
|
-
strict: bool
|
|
18
|
+
strict: bool,
|
|
19
|
+
url_sources: Anthropic::Beta::BetaWebFetchURLSources?
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
class BetaWebFetchTool20250910 < Anthropic::Internal::Type::BaseModel
|
|
@@ -49,6 +50,8 @@ module Anthropic
|
|
|
49
50
|
|
|
50
51
|
def strict=: (bool) -> bool
|
|
51
52
|
|
|
53
|
+
attr_accessor url_sources: Anthropic::Beta::BetaWebFetchURLSources?
|
|
54
|
+
|
|
52
55
|
def initialize: (
|
|
53
56
|
?allowed_callers: ::Array[Anthropic::Models::Beta::BetaWebFetchTool20250910::allowed_caller],
|
|
54
57
|
?allowed_domains: ::Array[String]?,
|
|
@@ -59,6 +62,7 @@ module Anthropic
|
|
|
59
62
|
?max_content_tokens: Integer?,
|
|
60
63
|
?max_uses: Integer?,
|
|
61
64
|
?strict: bool,
|
|
65
|
+
?url_sources: Anthropic::Beta::BetaWebFetchURLSources?,
|
|
62
66
|
?name: :web_fetch,
|
|
63
67
|
?type: :web_fetch_20250910
|
|
64
68
|
) -> void
|
|
@@ -74,7 +78,8 @@ module Anthropic
|
|
|
74
78
|
defer_loading: bool,
|
|
75
79
|
max_content_tokens: Integer?,
|
|
76
80
|
max_uses: Integer?,
|
|
77
|
-
strict: bool
|
|
81
|
+
strict: bool,
|
|
82
|
+
url_sources: Anthropic::Beta::BetaWebFetchURLSources?
|
|
78
83
|
}
|
|
79
84
|
|
|
80
85
|
type allowed_caller =
|
|
@@ -15,7 +15,8 @@ module Anthropic
|
|
|
15
15
|
defer_loading: bool,
|
|
16
16
|
max_content_tokens: Integer?,
|
|
17
17
|
max_uses: Integer?,
|
|
18
|
-
strict: bool
|
|
18
|
+
strict: bool,
|
|
19
|
+
url_sources: Anthropic::Beta::BetaWebFetchURLSources?
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
class BetaWebFetchTool20260209 < Anthropic::Internal::Type::BaseModel
|
|
@@ -49,6 +50,8 @@ module Anthropic
|
|
|
49
50
|
|
|
50
51
|
def strict=: (bool) -> bool
|
|
51
52
|
|
|
53
|
+
attr_accessor url_sources: Anthropic::Beta::BetaWebFetchURLSources?
|
|
54
|
+
|
|
52
55
|
def initialize: (
|
|
53
56
|
?allowed_callers: ::Array[Anthropic::Models::Beta::BetaWebFetchTool20260209::allowed_caller],
|
|
54
57
|
?allowed_domains: ::Array[String]?,
|
|
@@ -59,6 +62,7 @@ module Anthropic
|
|
|
59
62
|
?max_content_tokens: Integer?,
|
|
60
63
|
?max_uses: Integer?,
|
|
61
64
|
?strict: bool,
|
|
65
|
+
?url_sources: Anthropic::Beta::BetaWebFetchURLSources?,
|
|
62
66
|
?name: :web_fetch,
|
|
63
67
|
?type: :web_fetch_20260209
|
|
64
68
|
) -> void
|
|
@@ -74,7 +78,8 @@ module Anthropic
|
|
|
74
78
|
defer_loading: bool,
|
|
75
79
|
max_content_tokens: Integer?,
|
|
76
80
|
max_uses: Integer?,
|
|
77
|
-
strict: bool
|
|
81
|
+
strict: bool,
|
|
82
|
+
url_sources: Anthropic::Beta::BetaWebFetchURLSources?
|
|
78
83
|
}
|
|
79
84
|
|
|
80
85
|
type allowed_caller =
|
|
@@ -16,6 +16,7 @@ module Anthropic
|
|
|
16
16
|
max_content_tokens: Integer?,
|
|
17
17
|
max_uses: Integer?,
|
|
18
18
|
strict: bool,
|
|
19
|
+
url_sources: Anthropic::Beta::BetaWebFetchURLSources?,
|
|
19
20
|
use_cache: bool
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -50,6 +51,8 @@ module Anthropic
|
|
|
50
51
|
|
|
51
52
|
def strict=: (bool) -> bool
|
|
52
53
|
|
|
54
|
+
attr_accessor url_sources: Anthropic::Beta::BetaWebFetchURLSources?
|
|
55
|
+
|
|
53
56
|
attr_reader use_cache: bool?
|
|
54
57
|
|
|
55
58
|
def use_cache=: (bool) -> bool
|
|
@@ -64,6 +67,7 @@ module Anthropic
|
|
|
64
67
|
?max_content_tokens: Integer?,
|
|
65
68
|
?max_uses: Integer?,
|
|
66
69
|
?strict: bool,
|
|
70
|
+
?url_sources: Anthropic::Beta::BetaWebFetchURLSources?,
|
|
67
71
|
?use_cache: bool,
|
|
68
72
|
?name: :web_fetch,
|
|
69
73
|
?type: :web_fetch_20260309
|
|
@@ -81,6 +85,7 @@ module Anthropic
|
|
|
81
85
|
max_content_tokens: Integer?,
|
|
82
86
|
max_uses: Integer?,
|
|
83
87
|
strict: bool,
|
|
88
|
+
url_sources: Anthropic::Beta::BetaWebFetchURLSources?,
|
|
84
89
|
use_cache: bool
|
|
85
90
|
}
|
|
86
91
|
|