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,234 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaWebFetchURLSources < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute client_tool_results
|
|
8
|
+
# Which client tools' results contribute fetchable URLs: "all", "none", or an only
|
|
9
|
+
# or except list of client tool names from tools[].
|
|
10
|
+
#
|
|
11
|
+
# @return [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, Anthropic::Models::Beta::BetaWebFetchURLSourceOnly, Anthropic::Models::Beta::BetaWebFetchURLSourceExcept, nil]
|
|
12
|
+
optional :client_tool_results, union: -> { Anthropic::Beta::BetaWebFetchURLSources::ClientToolResults }
|
|
13
|
+
|
|
14
|
+
# @!attribute server_tool_results
|
|
15
|
+
# Which server tools' results contribute fetchable URLs: "all", "none", or an only
|
|
16
|
+
# or except list of server tool names from tools[]; only web_search and web_fetch
|
|
17
|
+
# results ever contribute.
|
|
18
|
+
#
|
|
19
|
+
# @return [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, Anthropic::Models::Beta::BetaWebFetchURLSourceOnly, Anthropic::Models::Beta::BetaWebFetchURLSourceExcept, nil]
|
|
20
|
+
optional :server_tool_results, union: -> { Anthropic::Beta::BetaWebFetchURLSources::ServerToolResults }
|
|
21
|
+
|
|
22
|
+
# @!attribute user_input
|
|
23
|
+
# Whether URLs in user messages are fetchable: "all" or "none".
|
|
24
|
+
#
|
|
25
|
+
# @return [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, nil]
|
|
26
|
+
optional :user_input, union: -> { Anthropic::Beta::BetaWebFetchURLSources::UserInput }
|
|
27
|
+
|
|
28
|
+
# @!method initialize(client_tool_results: nil, server_tool_results: nil, user_input: nil)
|
|
29
|
+
# Which sources contribute to the set of URLs web fetch may fetch.
|
|
30
|
+
#
|
|
31
|
+
# Each key is a tagged variant: `user_input` is `all` or `none`; the two tool
|
|
32
|
+
# filters are `all`, `none`, `only` (only the named tools' results) or `except`
|
|
33
|
+
# (every result but the named tools'). A named tool must be declared in this
|
|
34
|
+
# request's `tools[]`.
|
|
35
|
+
#
|
|
36
|
+
# Some parameter documentations has been truncated, see
|
|
37
|
+
# {Anthropic::Models::Beta::BetaWebFetchURLSources} for more details.
|
|
38
|
+
#
|
|
39
|
+
# @param client_tool_results [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, Anthropic::Models::Beta::BetaWebFetchURLSourceOnly, Anthropic::Models::Beta::BetaWebFetchURLSourceExcept] Which client tools' results contribute fetchable URLs: "all", "none", or an only
|
|
40
|
+
#
|
|
41
|
+
# @param server_tool_results [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, Anthropic::Models::Beta::BetaWebFetchURLSourceOnly, Anthropic::Models::Beta::BetaWebFetchURLSourceExcept] Which server tools' results contribute fetchable URLs: "all", "none", or an only
|
|
42
|
+
#
|
|
43
|
+
# @param user_input [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone] Whether URLs in user messages are fetchable: "all" or "none".
|
|
44
|
+
|
|
45
|
+
# Which client tools' results contribute fetchable URLs: "all", "none", or an only
|
|
46
|
+
# or except list of client tool names from tools[].
|
|
47
|
+
#
|
|
48
|
+
# @see Anthropic::Models::Beta::BetaWebFetchURLSources#client_tool_results
|
|
49
|
+
module ClientToolResults
|
|
50
|
+
extend Anthropic::Internal::Type::Union
|
|
51
|
+
|
|
52
|
+
discriminator :type
|
|
53
|
+
|
|
54
|
+
# The ``url_sources`` variant under which a source contributes in
|
|
55
|
+
# full: every result of the tool filter's source, or all user input.
|
|
56
|
+
variant :all, -> { Anthropic::Beta::BetaWebFetchURLSourceAll }
|
|
57
|
+
|
|
58
|
+
# The ``url_sources`` variant under which a source contributes nothing:
|
|
59
|
+
# no result of the tool filter's source, or no user input.
|
|
60
|
+
variant :none, -> { Anthropic::Beta::BetaWebFetchURLSourceNone }
|
|
61
|
+
|
|
62
|
+
# The tool filter variant under which only the named tools' results
|
|
63
|
+
# contribute.
|
|
64
|
+
variant :only, -> { Anthropic::Beta::BetaWebFetchURLSourceOnly }
|
|
65
|
+
|
|
66
|
+
# The tool filter variant under which every result but the named
|
|
67
|
+
# tools' contributes.
|
|
68
|
+
variant :except, -> { Anthropic::Beta::BetaWebFetchURLSourceExcept }
|
|
69
|
+
|
|
70
|
+
module Type
|
|
71
|
+
extend Anthropic::Internal::Type::Enum
|
|
72
|
+
|
|
73
|
+
ALL = :all
|
|
74
|
+
NONE = :none
|
|
75
|
+
ONLY = :only
|
|
76
|
+
EXCEPT = :except
|
|
77
|
+
|
|
78
|
+
# @!method self.values
|
|
79
|
+
# @return [Array<Symbol>]
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# @!method self.variants
|
|
83
|
+
# @return [Array(Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, Anthropic::Models::Beta::BetaWebFetchURLSourceOnly, Anthropic::Models::Beta::BetaWebFetchURLSourceExcept)]
|
|
84
|
+
|
|
85
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
86
|
+
# value, passing the remaining arguments to its constructor.
|
|
87
|
+
#
|
|
88
|
+
# @param type [Symbol, String]
|
|
89
|
+
#
|
|
90
|
+
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
91
|
+
#
|
|
92
|
+
# @option args [Array<Anthropic::Models::Beta::BetaWebFetchURLSourceToolReference>] :tools
|
|
93
|
+
#
|
|
94
|
+
# @raise [ArgumentError]
|
|
95
|
+
# @return [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, Anthropic::Models::Beta::BetaWebFetchURLSourceOnly, Anthropic::Models::Beta::BetaWebFetchURLSourceExcept]
|
|
96
|
+
def self.new(type:, **args)
|
|
97
|
+
case type.to_sym
|
|
98
|
+
when :all
|
|
99
|
+
Anthropic::Beta::BetaWebFetchURLSourceAll.new(**args)
|
|
100
|
+
when :none
|
|
101
|
+
Anthropic::Beta::BetaWebFetchURLSourceNone.new(**args)
|
|
102
|
+
when :only
|
|
103
|
+
Anthropic::Beta::BetaWebFetchURLSourceOnly.new(**args)
|
|
104
|
+
when :except
|
|
105
|
+
Anthropic::Beta::BetaWebFetchURLSourceExcept.new(**args)
|
|
106
|
+
else
|
|
107
|
+
raise ArgumentError, "unknown type: #{type}"
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Which server tools' results contribute fetchable URLs: "all", "none", or an only
|
|
113
|
+
# or except list of server tool names from tools[]; only web_search and web_fetch
|
|
114
|
+
# results ever contribute.
|
|
115
|
+
#
|
|
116
|
+
# @see Anthropic::Models::Beta::BetaWebFetchURLSources#server_tool_results
|
|
117
|
+
module ServerToolResults
|
|
118
|
+
extend Anthropic::Internal::Type::Union
|
|
119
|
+
|
|
120
|
+
discriminator :type
|
|
121
|
+
|
|
122
|
+
# The ``url_sources`` variant under which a source contributes in
|
|
123
|
+
# full: every result of the tool filter's source, or all user input.
|
|
124
|
+
variant :all, -> { Anthropic::Beta::BetaWebFetchURLSourceAll }
|
|
125
|
+
|
|
126
|
+
# The ``url_sources`` variant under which a source contributes nothing:
|
|
127
|
+
# no result of the tool filter's source, or no user input.
|
|
128
|
+
variant :none, -> { Anthropic::Beta::BetaWebFetchURLSourceNone }
|
|
129
|
+
|
|
130
|
+
# The tool filter variant under which only the named tools' results
|
|
131
|
+
# contribute.
|
|
132
|
+
variant :only, -> { Anthropic::Beta::BetaWebFetchURLSourceOnly }
|
|
133
|
+
|
|
134
|
+
# The tool filter variant under which every result but the named
|
|
135
|
+
# tools' contributes.
|
|
136
|
+
variant :except, -> { Anthropic::Beta::BetaWebFetchURLSourceExcept }
|
|
137
|
+
|
|
138
|
+
module Type
|
|
139
|
+
extend Anthropic::Internal::Type::Enum
|
|
140
|
+
|
|
141
|
+
ALL = :all
|
|
142
|
+
NONE = :none
|
|
143
|
+
ONLY = :only
|
|
144
|
+
EXCEPT = :except
|
|
145
|
+
|
|
146
|
+
# @!method self.values
|
|
147
|
+
# @return [Array<Symbol>]
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# @!method self.variants
|
|
151
|
+
# @return [Array(Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, Anthropic::Models::Beta::BetaWebFetchURLSourceOnly, Anthropic::Models::Beta::BetaWebFetchURLSourceExcept)]
|
|
152
|
+
|
|
153
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
154
|
+
# value, passing the remaining arguments to its constructor.
|
|
155
|
+
#
|
|
156
|
+
# @param type [Symbol, String]
|
|
157
|
+
#
|
|
158
|
+
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
159
|
+
#
|
|
160
|
+
# @option args [Array<Anthropic::Models::Beta::BetaWebFetchURLSourceToolReference>] :tools
|
|
161
|
+
#
|
|
162
|
+
# @raise [ArgumentError]
|
|
163
|
+
# @return [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone, Anthropic::Models::Beta::BetaWebFetchURLSourceOnly, Anthropic::Models::Beta::BetaWebFetchURLSourceExcept]
|
|
164
|
+
def self.new(type:, **args)
|
|
165
|
+
case type.to_sym
|
|
166
|
+
when :all
|
|
167
|
+
Anthropic::Beta::BetaWebFetchURLSourceAll.new(**args)
|
|
168
|
+
when :none
|
|
169
|
+
Anthropic::Beta::BetaWebFetchURLSourceNone.new(**args)
|
|
170
|
+
when :only
|
|
171
|
+
Anthropic::Beta::BetaWebFetchURLSourceOnly.new(**args)
|
|
172
|
+
when :except
|
|
173
|
+
Anthropic::Beta::BetaWebFetchURLSourceExcept.new(**args)
|
|
174
|
+
else
|
|
175
|
+
raise ArgumentError, "unknown type: #{type}"
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# Whether URLs in user messages are fetchable: "all" or "none".
|
|
181
|
+
#
|
|
182
|
+
# @see Anthropic::Models::Beta::BetaWebFetchURLSources#user_input
|
|
183
|
+
module UserInput
|
|
184
|
+
extend Anthropic::Internal::Type::Union
|
|
185
|
+
|
|
186
|
+
discriminator :type
|
|
187
|
+
|
|
188
|
+
# The ``url_sources`` variant under which a source contributes in
|
|
189
|
+
# full: every result of the tool filter's source, or all user input.
|
|
190
|
+
variant :all, -> { Anthropic::Beta::BetaWebFetchURLSourceAll }
|
|
191
|
+
|
|
192
|
+
# The ``url_sources`` variant under which a source contributes nothing:
|
|
193
|
+
# no result of the tool filter's source, or no user input.
|
|
194
|
+
variant :none, -> { Anthropic::Beta::BetaWebFetchURLSourceNone }
|
|
195
|
+
|
|
196
|
+
module Type
|
|
197
|
+
extend Anthropic::Internal::Type::Enum
|
|
198
|
+
|
|
199
|
+
ALL = :all
|
|
200
|
+
NONE = :none
|
|
201
|
+
|
|
202
|
+
# @!method self.values
|
|
203
|
+
# @return [Array<Symbol>]
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# @!method self.variants
|
|
207
|
+
# @return [Array(Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone)]
|
|
208
|
+
|
|
209
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
210
|
+
# value, passing the remaining arguments to its constructor.
|
|
211
|
+
#
|
|
212
|
+
# @param type [Symbol, String]
|
|
213
|
+
#
|
|
214
|
+
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
215
|
+
#
|
|
216
|
+
# @raise [ArgumentError]
|
|
217
|
+
# @return [Anthropic::Models::Beta::BetaWebFetchURLSourceAll, Anthropic::Models::Beta::BetaWebFetchURLSourceNone]
|
|
218
|
+
def self.new(type:, **args)
|
|
219
|
+
case type.to_sym
|
|
220
|
+
when :all
|
|
221
|
+
Anthropic::Beta::BetaWebFetchURLSourceAll.new(**args)
|
|
222
|
+
when :none
|
|
223
|
+
Anthropic::Beta::BetaWebFetchURLSourceNone.new(**args)
|
|
224
|
+
else
|
|
225
|
+
raise ArgumentError, "unknown type: #{type}"
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
BetaWebFetchURLSources = Beta::BetaWebFetchURLSources
|
|
233
|
+
end
|
|
234
|
+
end
|
|
@@ -20,7 +20,6 @@ module Anthropic
|
|
|
20
20
|
required :type, const: :web_search_tool_result
|
|
21
21
|
|
|
22
22
|
# @!attribute caller_
|
|
23
|
-
# Tool invocation directly from the model.
|
|
24
23
|
#
|
|
25
24
|
# @return [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120, nil]
|
|
26
25
|
optional :caller_,
|
|
@@ -31,15 +30,10 @@ module Anthropic
|
|
|
31
30
|
|
|
32
31
|
# @!method initialize(content:, tool_use_id:, caller_: nil, type: :web_search_tool_result)
|
|
33
32
|
# @param content [Anthropic::Models::Beta::BetaWebSearchToolResultError, Array<Anthropic::Models::Beta::BetaWebSearchResultBlock>]
|
|
34
|
-
#
|
|
35
33
|
# @param tool_use_id [String]
|
|
36
|
-
#
|
|
37
|
-
# @param caller_ [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120] Tool invocation directly from the model.
|
|
38
|
-
#
|
|
34
|
+
# @param caller_ [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120]
|
|
39
35
|
# @param type [Symbol, :web_search_tool_result]
|
|
40
36
|
|
|
41
|
-
# Tool invocation directly from the model.
|
|
42
|
-
#
|
|
43
37
|
# @see Anthropic::Models::Beta::BetaWebSearchToolResultBlock#caller_
|
|
44
38
|
module Caller
|
|
45
39
|
extend Anthropic::Internal::Type::Union
|
|
@@ -6,7 +6,7 @@ module Anthropic
|
|
|
6
6
|
class BetaWebSearchToolResultBlockParam < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute content
|
|
8
8
|
#
|
|
9
|
-
# @return [
|
|
9
|
+
# @return [Anthropic::Models::Beta::BetaWebSearchToolRequestError, Array<Anthropic::Models::Beta::BetaWebSearchResultBlockParam>]
|
|
10
10
|
required :content, union: -> { Anthropic::Beta::BetaWebSearchToolResultBlockParamContent }
|
|
11
11
|
|
|
12
12
|
# @!attribute tool_use_id
|
|
@@ -26,7 +26,6 @@ module Anthropic
|
|
|
26
26
|
optional :cache_control, -> { Anthropic::Beta::BetaCacheControlEphemeral }, nil?: true
|
|
27
27
|
|
|
28
28
|
# @!attribute caller_
|
|
29
|
-
# Tool invocation directly from the model.
|
|
30
29
|
#
|
|
31
30
|
# @return [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120, nil]
|
|
32
31
|
optional :caller_,
|
|
@@ -34,18 +33,16 @@ module Anthropic
|
|
|
34
33
|
api_name: :caller
|
|
35
34
|
|
|
36
35
|
# @!method initialize(content:, tool_use_id:, cache_control: nil, caller_: nil, type: :web_search_tool_result)
|
|
37
|
-
# @param content [
|
|
36
|
+
# @param content [Anthropic::Models::Beta::BetaWebSearchToolRequestError, Array<Anthropic::Models::Beta::BetaWebSearchResultBlockParam>]
|
|
38
37
|
#
|
|
39
38
|
# @param tool_use_id [String]
|
|
40
39
|
#
|
|
41
40
|
# @param cache_control [Anthropic::Models::Beta::BetaCacheControlEphemeral, nil] Create a cache control breakpoint at this content block.
|
|
42
41
|
#
|
|
43
|
-
# @param caller_ [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120]
|
|
42
|
+
# @param caller_ [Anthropic::Models::Beta::BetaDirectCaller, Anthropic::Models::Beta::BetaServerToolCaller, Anthropic::Models::Beta::BetaServerToolCaller20260120]
|
|
44
43
|
#
|
|
45
44
|
# @param type [Symbol, :web_search_tool_result]
|
|
46
45
|
|
|
47
|
-
# Tool invocation directly from the model.
|
|
48
|
-
#
|
|
49
46
|
# @see Anthropic::Models::Beta::BetaWebSearchToolResultBlockParam#caller_
|
|
50
47
|
module Caller
|
|
51
48
|
extend Anthropic::Internal::Type::Union
|
|
@@ -6,12 +6,12 @@ module Anthropic
|
|
|
6
6
|
module BetaWebSearchToolResultBlockParamContent
|
|
7
7
|
extend Anthropic::Internal::Type::Union
|
|
8
8
|
|
|
9
|
-
variant -> { Anthropic::Models::Beta::BetaWebSearchToolResultBlockParamContent::BetaWebSearchResultBlockParamArray }
|
|
10
|
-
|
|
11
9
|
variant -> { Anthropic::Beta::BetaWebSearchToolRequestError }
|
|
12
10
|
|
|
11
|
+
variant -> { Anthropic::Models::Beta::BetaWebSearchToolResultBlockParamContent::BetaWebSearchResultBlockParamArray }
|
|
12
|
+
|
|
13
13
|
# @!method self.variants
|
|
14
|
-
# @return [Array(
|
|
14
|
+
# @return [Array(Anthropic::Models::Beta::BetaWebSearchToolRequestError, Array<Anthropic::Models::Beta::BetaWebSearchResultBlockParam>)]
|
|
15
15
|
|
|
16
16
|
# @type [Anthropic::Internal::Type::Converter]
|
|
17
17
|
BetaWebSearchResultBlockParamArray =
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
# @!attribute betas
|
|
17
17
|
# Optional header to specify the beta version(s) you want to use.
|
|
18
18
|
#
|
|
19
|
-
# @return [Array<
|
|
19
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
20
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
21
|
|
|
22
22
|
# @!attribute workspace_id
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
# @!method initialize(deployment_id:, betas: nil, workspace_id: nil, request_options: {})
|
|
28
28
|
# @param deployment_id [String]
|
|
29
29
|
#
|
|
30
|
-
# @param betas [Array<
|
|
30
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
31
31
|
#
|
|
32
32
|
# @param workspace_id [String]
|
|
33
33
|
#
|
|
@@ -13,7 +13,7 @@ module Anthropic
|
|
|
13
13
|
# or an `agent` object with both id and version specified. The agent must exist
|
|
14
14
|
# and not be archived.
|
|
15
15
|
#
|
|
16
|
-
# @return [
|
|
16
|
+
# @return [Anthropic::Models::Beta::BetaManagedAgentsAgentParams, String]
|
|
17
17
|
required :agent, union: -> { Anthropic::Beta::DeploymentCreateParams::Agent }
|
|
18
18
|
|
|
19
19
|
# @!attribute environment_id
|
|
@@ -82,7 +82,7 @@ module Anthropic
|
|
|
82
82
|
# @!attribute betas
|
|
83
83
|
# Optional header to specify the beta version(s) you want to use.
|
|
84
84
|
#
|
|
85
|
-
# @return [Array<
|
|
85
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
86
86
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
87
87
|
|
|
88
88
|
# @!attribute workspace_id
|
|
@@ -94,7 +94,7 @@ module Anthropic
|
|
|
94
94
|
# Some parameter documentations has been truncated, see
|
|
95
95
|
# {Anthropic::Models::Beta::DeploymentCreateParams} for more details.
|
|
96
96
|
#
|
|
97
|
-
# @param agent [
|
|
97
|
+
# @param agent [Anthropic::Models::Beta::BetaManagedAgentsAgentParams, String] Agent to deploy. Accepts the `agent` ID string, which pins the latest version, o
|
|
98
98
|
#
|
|
99
99
|
# @param environment_id [String] ID of the `environment` defining the container configuration for sessions create
|
|
100
100
|
#
|
|
@@ -114,7 +114,7 @@ module Anthropic
|
|
|
114
114
|
#
|
|
115
115
|
# @param vault_ids [Array<String>] Vault IDs for stored credentials the agent can use during sessions created from
|
|
116
116
|
#
|
|
117
|
-
# @param betas [Array<
|
|
117
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
118
118
|
#
|
|
119
119
|
# @param workspace_id [String]
|
|
120
120
|
#
|
|
@@ -126,13 +126,13 @@ module Anthropic
|
|
|
126
126
|
module Agent
|
|
127
127
|
extend Anthropic::Internal::Type::Union
|
|
128
128
|
|
|
129
|
-
variant String
|
|
130
|
-
|
|
131
129
|
# Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
|
|
132
130
|
variant -> { Anthropic::Beta::BetaManagedAgentsAgentParams }
|
|
133
131
|
|
|
132
|
+
variant String
|
|
133
|
+
|
|
134
134
|
# @!method self.variants
|
|
135
|
-
# @return [Array(
|
|
135
|
+
# @return [Array(Anthropic::Models::Beta::BetaManagedAgentsAgentParams, String)]
|
|
136
136
|
end
|
|
137
137
|
|
|
138
138
|
# Union of resources that can be mounted into a session.
|
|
@@ -174,10 +174,10 @@ module Anthropic
|
|
|
174
174
|
#
|
|
175
175
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
176
176
|
#
|
|
177
|
-
# @option args [String] :authorization_token GitHub authorization token used to clone the repository.
|
|
178
|
-
#
|
|
179
177
|
# @option args [String] :url Github URL of the repository
|
|
180
178
|
#
|
|
179
|
+
# @option args [String] :authorization_token GitHub authorization token used to clone the repository. Required for private re
|
|
180
|
+
#
|
|
181
181
|
# @option args [Anthropic::Models::Beta::BetaManagedAgentsBranchCheckout, Anthropic::Models::Beta::BetaManagedAgentsCommitCheckout, nil] :checkout Branch or commit to check out. Defaults to the repository's default branch.
|
|
182
182
|
#
|
|
183
183
|
# @option args [String, nil] :mount_path Mount path in the container. Defaults to `/workspace/<repo-name>`.
|
|
@@ -54,7 +54,7 @@ module Anthropic
|
|
|
54
54
|
# @!attribute betas
|
|
55
55
|
# Optional header to specify the beta version(s) you want to use.
|
|
56
56
|
#
|
|
57
|
-
# @return [Array<
|
|
57
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
58
58
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
59
59
|
|
|
60
60
|
# @!attribute workspace_id
|
|
@@ -80,7 +80,7 @@ module Anthropic
|
|
|
80
80
|
#
|
|
81
81
|
# @param status [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeploymentStatus] Filter by status: `active` or `paused`. Omit for both. To include archived deplo
|
|
82
82
|
#
|
|
83
|
-
# @param betas [Array<
|
|
83
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
84
84
|
#
|
|
85
85
|
# @param workspace_id [String]
|
|
86
86
|
#
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
# @!attribute betas
|
|
17
17
|
# Optional header to specify the beta version(s) you want to use.
|
|
18
18
|
#
|
|
19
|
-
# @return [Array<
|
|
19
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
20
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
21
|
|
|
22
22
|
# @!attribute workspace_id
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
# @!method initialize(deployment_id:, betas: nil, workspace_id: nil, request_options: {})
|
|
28
28
|
# @param deployment_id [String]
|
|
29
29
|
#
|
|
30
|
-
# @param betas [Array<
|
|
30
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
31
31
|
#
|
|
32
32
|
# @param workspace_id [String]
|
|
33
33
|
#
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
# @!attribute betas
|
|
17
17
|
# Optional header to specify the beta version(s) you want to use.
|
|
18
18
|
#
|
|
19
|
-
# @return [Array<
|
|
19
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
20
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
21
|
|
|
22
22
|
# @!attribute workspace_id
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
# @!method initialize(deployment_id:, betas: nil, workspace_id: nil, request_options: {})
|
|
28
28
|
# @param deployment_id [String]
|
|
29
29
|
#
|
|
30
|
-
# @param betas [Array<
|
|
30
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
31
31
|
#
|
|
32
32
|
# @param workspace_id [String]
|
|
33
33
|
#
|
|
@@ -69,7 +69,7 @@ module Anthropic
|
|
|
69
69
|
# @!attribute betas
|
|
70
70
|
# Optional header to specify the beta version(s) you want to use.
|
|
71
71
|
#
|
|
72
|
-
# @return [Array<
|
|
72
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
73
73
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
74
74
|
|
|
75
75
|
# @!attribute workspace_id
|
|
@@ -99,7 +99,7 @@ module Anthropic
|
|
|
99
99
|
#
|
|
100
100
|
# @param trigger_type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsTriggerType] Filter runs by what triggered them. Omit to return all runs.
|
|
101
101
|
#
|
|
102
|
-
# @param betas [Array<
|
|
102
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
103
103
|
#
|
|
104
104
|
# @param workspace_id [String]
|
|
105
105
|
#
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
# @!attribute betas
|
|
17
17
|
# Optional header to specify the beta version(s) you want to use.
|
|
18
18
|
#
|
|
19
|
-
# @return [Array<
|
|
19
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
20
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
21
|
|
|
22
22
|
# @!attribute workspace_id
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
# @!method initialize(deployment_id:, betas: nil, workspace_id: nil, request_options: {})
|
|
28
28
|
# @param deployment_id [String]
|
|
29
29
|
#
|
|
30
|
-
# @param betas [Array<
|
|
30
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
31
31
|
#
|
|
32
32
|
# @param workspace_id [String]
|
|
33
33
|
#
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
# @!attribute betas
|
|
17
17
|
# Optional header to specify the beta version(s) you want to use.
|
|
18
18
|
#
|
|
19
|
-
# @return [Array<
|
|
19
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
20
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
21
|
|
|
22
22
|
# @!attribute workspace_id
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
# @!method initialize(deployment_run_id:, betas: nil, workspace_id: nil, request_options: {})
|
|
28
28
|
# @param deployment_run_id [String]
|
|
29
29
|
#
|
|
30
|
-
# @param betas [Array<
|
|
30
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
31
31
|
#
|
|
32
32
|
# @param workspace_id [String]
|
|
33
33
|
#
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
# @!attribute betas
|
|
17
17
|
# Optional header to specify the beta version(s) you want to use.
|
|
18
18
|
#
|
|
19
|
-
# @return [Array<
|
|
19
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
20
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
21
|
|
|
22
22
|
# @!attribute workspace_id
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
# @!method initialize(deployment_id:, betas: nil, workspace_id: nil, request_options: {})
|
|
28
28
|
# @param deployment_id [String]
|
|
29
29
|
#
|
|
30
|
-
# @param betas [Array<
|
|
30
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
31
31
|
#
|
|
32
32
|
# @param workspace_id [String]
|
|
33
33
|
#
|
|
@@ -18,7 +18,7 @@ module Anthropic
|
|
|
18
18
|
# version, or an `agent` object with both id and version specified. Omit to
|
|
19
19
|
# preserve. Cannot be cleared.
|
|
20
20
|
#
|
|
21
|
-
# @return [
|
|
21
|
+
# @return [Anthropic::Models::Beta::BetaManagedAgentsAgentParams, String, nil]
|
|
22
22
|
optional :agent, union: -> { Anthropic::Beta::DeploymentUpdateParams::Agent }
|
|
23
23
|
|
|
24
24
|
# @!attribute budget
|
|
@@ -90,7 +90,7 @@ module Anthropic
|
|
|
90
90
|
# @!attribute betas
|
|
91
91
|
# Optional header to specify the beta version(s) you want to use.
|
|
92
92
|
#
|
|
93
|
-
# @return [Array<
|
|
93
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
94
94
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
95
95
|
|
|
96
96
|
# @!attribute workspace_id
|
|
@@ -104,7 +104,7 @@ module Anthropic
|
|
|
104
104
|
#
|
|
105
105
|
# @param deployment_id [String]
|
|
106
106
|
#
|
|
107
|
-
# @param agent [
|
|
107
|
+
# @param agent [Anthropic::Models::Beta::BetaManagedAgentsAgentParams, String] Agent to deploy. Accepts the `agent` ID string, which re-pins to the latest vers
|
|
108
108
|
#
|
|
109
109
|
# @param budget [Anthropic::Models::Beta::BetaManagedAgentsBudgetLimit, nil] A hard spend ceiling. The session stops issuing new model requests once the trac
|
|
110
110
|
#
|
|
@@ -124,7 +124,7 @@ module Anthropic
|
|
|
124
124
|
#
|
|
125
125
|
# @param vault_ids [Array<String>, nil] Vault IDs. Full replacement. Omit to preserve; send empty array or null to clear
|
|
126
126
|
#
|
|
127
|
-
# @param betas [Array<
|
|
127
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
128
128
|
#
|
|
129
129
|
# @param workspace_id [String]
|
|
130
130
|
#
|
|
@@ -136,13 +136,13 @@ module Anthropic
|
|
|
136
136
|
module Agent
|
|
137
137
|
extend Anthropic::Internal::Type::Union
|
|
138
138
|
|
|
139
|
-
variant String
|
|
140
|
-
|
|
141
139
|
# Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
|
|
142
140
|
variant -> { Anthropic::Beta::BetaManagedAgentsAgentParams }
|
|
143
141
|
|
|
142
|
+
variant String
|
|
143
|
+
|
|
144
144
|
# @!method self.variants
|
|
145
|
-
# @return [Array(
|
|
145
|
+
# @return [Array(Anthropic::Models::Beta::BetaManagedAgentsAgentParams, String)]
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
# Union of resources that can be mounted into a session.
|
|
@@ -184,10 +184,10 @@ module Anthropic
|
|
|
184
184
|
#
|
|
185
185
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
186
186
|
#
|
|
187
|
-
# @option args [String] :authorization_token GitHub authorization token used to clone the repository.
|
|
188
|
-
#
|
|
189
187
|
# @option args [String] :url Github URL of the repository
|
|
190
188
|
#
|
|
189
|
+
# @option args [String] :authorization_token GitHub authorization token used to clone the repository. Required for private re
|
|
190
|
+
#
|
|
191
191
|
# @option args [Anthropic::Models::Beta::BetaManagedAgentsBranchCheckout, Anthropic::Models::Beta::BetaManagedAgentsCommitCheckout, nil] :checkout Branch or commit to check out. Defaults to the repository's default branch.
|
|
192
192
|
#
|
|
193
193
|
# @option args [String, nil] :mount_path Mount path in the container. Defaults to `/workspace/<repo-name>`.
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
# @!attribute betas
|
|
17
17
|
# Optional header to specify the beta version(s) you want to use.
|
|
18
18
|
#
|
|
19
|
-
# @return [Array<
|
|
19
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
20
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
21
|
|
|
22
22
|
# @!attribute workspace_id
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
# @!method initialize(dream_id:, betas: nil, workspace_id: nil, request_options: {})
|
|
28
28
|
# @param dream_id [String]
|
|
29
29
|
#
|
|
30
|
-
# @param betas [Array<
|
|
30
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
31
31
|
#
|
|
32
32
|
# @param workspace_id [String]
|
|
33
33
|
#
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
# @!attribute betas
|
|
17
17
|
# Optional header to specify the beta version(s) you want to use.
|
|
18
18
|
#
|
|
19
|
-
# @return [Array<
|
|
19
|
+
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
20
|
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
21
|
|
|
22
22
|
# @!attribute workspace_id
|
|
@@ -27,7 +27,7 @@ module Anthropic
|
|
|
27
27
|
# @!method initialize(dream_id:, betas: nil, workspace_id: nil, request_options: {})
|
|
28
28
|
# @param dream_id [String]
|
|
29
29
|
#
|
|
30
|
-
# @param betas [Array<
|
|
30
|
+
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
31
31
|
#
|
|
32
32
|
# @param workspace_id [String]
|
|
33
33
|
#
|