anthropic 1.71.0 → 1.72.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 +21 -0
- data/README.md +1 -1
- data/lib/anthropic/helpers/bedrock/event_stream.rb +14 -4
- data/lib/anthropic/models/beta/agent_create_params.rb +1 -1
- data/lib/anthropic/models/beta/agent_update_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_browser_state_change.rb +1 -1
- data/lib/anthropic/models/beta/beta_citations_delta.rb +1 -1
- data/lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rb +1 -1
- data/lib/anthropic/models/beta/beta_cloud_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_cloud_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_content_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_content_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_content_block_source_content.rb +1 -1
- data/lib/anthropic/models/beta/beta_context_management_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_context_management_response.rb +1 -1
- data/lib/anthropic/models/beta/beta_diagnostics.rb +1 -1
- data/lib/anthropic/models/beta/beta_document_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_dream_input.rb +1 -1
- data/lib/anthropic/models/beta/beta_dream_status.rb +15 -0
- data/lib/anthropic/models/beta/beta_dreaming_error.rb +1 -1
- data/lib/anthropic/models/beta/beta_environment.rb +1 -1
- data/lib/anthropic/models/beta/beta_fallback_credit_usage.rb +1 -1
- data/lib/anthropic/models/beta/beta_fallback_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_image_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_input_transformation.rb +1 -1
- data/lib/anthropic/models/beta/beta_iterations_usage.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +2 -2
- 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 +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_status.rb +3 -0
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_model_config_params.rb +9 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session.rb +7 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_trigger_type.rb +3 -0
- data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb +1 -1
- data/lib/anthropic/models/beta/beta_output_behavior.rb +1 -1
- data/lib/anthropic/models/beta/beta_raw_content_block_delta.rb +1 -1
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_request_document_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +2 -2
- data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +2 -2
- data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_text_citation.rb +1 -1
- data/lib/anthropic/models/beta/beta_text_citation_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_thinking_config_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_choice.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_use_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_web_fetch_url_sources.rb +3 -3
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +1 -1
- data/lib/anthropic/models/beta/deployment_create_params.rb +1 -1
- data/lib/anthropic/models/beta/deployment_update_params.rb +1 -1
- data/lib/anthropic/models/beta/environment_create_params.rb +1 -1
- data/lib/anthropic/models/beta/environment_update_params.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +1 -1
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb +5 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rb +3 -0
- data/lib/anthropic/models/beta/messages/beta_message_batch_result.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_api_key.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_compliance_settings_state.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_compliance_settings_state_param.rb +1 -1
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +103 -10
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rb +43 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rb +34 -0
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/external_key_update_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/federation/beta_federation_issuer.rb +1 -1
- data/lib/anthropic/models/beta/organization/federation/issuer_create_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/federation/issuer_update_params.rb +1 -1
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +102 -10
- data/lib/anthropic/models/beta/session_create_params.rb +2 -2
- data/lib/anthropic/models/beta/session_list_params.rb +7 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +1 -1
- data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +1 -1
- data/lib/anthropic/models/beta/sessions/resource_update_response.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rb +5 -0
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb +7 -0
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +1 -1
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +1 -1
- data/lib/anthropic/models/beta_error.rb +1 -1
- data/lib/anthropic/models/browser_state_change.rb +1 -1
- data/lib/anthropic/models/citations_delta.rb +1 -1
- data/lib/anthropic/models/content_block.rb +1 -1
- data/lib/anthropic/models/content_block_param.rb +1 -1
- data/lib/anthropic/models/content_block_source_content.rb +1 -1
- data/lib/anthropic/models/document_block.rb +1 -1
- data/lib/anthropic/models/document_block_param.rb +1 -1
- data/lib/anthropic/models/error_object.rb +1 -1
- data/lib/anthropic/models/image_block_param.rb +1 -1
- data/lib/anthropic/models/messages/message_batch_result.rb +1 -1
- data/lib/anthropic/models/raw_content_block_delta.rb +1 -1
- data/lib/anthropic/models/raw_content_block_start_event.rb +1 -1
- data/lib/anthropic/models/raw_message_stream_event.rb +1 -1
- data/lib/anthropic/models/server_tool_use_block.rb +1 -1
- data/lib/anthropic/models/server_tool_use_block_param.rb +1 -1
- data/lib/anthropic/models/text_citation.rb +1 -1
- data/lib/anthropic/models/text_citation_param.rb +1 -1
- data/lib/anthropic/models/thinking_config_param.rb +1 -1
- data/lib/anthropic/models/tool_choice.rb +1 -1
- data/lib/anthropic/models/tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/tool_use_block.rb +1 -1
- data/lib/anthropic/models/tool_use_block_param.rb +1 -1
- data/lib/anthropic/models/web_fetch_tool_result_block.rb +1 -1
- data/lib/anthropic/models/web_fetch_tool_result_block_param.rb +1 -1
- data/lib/anthropic/models/web_fetch_url_sources.rb +3 -3
- data/lib/anthropic/models/web_search_tool_result_block.rb +1 -1
- data/lib/anthropic/models/web_search_tool_result_block_param.rb +1 -1
- data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
- data/lib/anthropic/resources/beta/agents.rb +3 -3
- data/lib/anthropic/resources/beta/deployment_runs.rb +1 -1
- data/lib/anthropic/resources/beta/deployments.rb +6 -6
- data/lib/anthropic/resources/beta/memory_stores.rb +4 -4
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +6 -6
- data/lib/anthropic/resources/beta/tunnels.rb +4 -4
- data/lib/anthropic/resources/beta/vaults/credentials.rb +12 -12
- data/lib/anthropic/resources/beta/vaults.rb +4 -4
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +6 -0
- data/rbi/anthropic/models/beta/agent_create_params.rbi +1 -1
- data/rbi/anthropic/models/beta/agent_update_params.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_citations_delta.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_cloud_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_cloud_config_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_content_block.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_content_block_source_content.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_context_management_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_context_management_response.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_diagnostics.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_document_block.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_dream_input.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_dream_status.rbi +15 -0
- data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +4 -3
- data/rbi/anthropic/models/beta/beta_environment.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_fallback_credit_usage.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_fallback_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_image_block_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_input_transformation.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_iterations_usage.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +4 -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 +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_status.rbi +3 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_model_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_model_config_params.rbi +9 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent_update.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_params.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_start_event_preview.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_trigger_context.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_trigger_type.rbi +3 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +4 -1
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_output_behavior.rbi +4 -3
- data/rbi/anthropic/models/beta/beta_raw_content_block_delta.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_request_document_block.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_text_citation.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_text_citation_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_thinking_config_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_tool_choice.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +4 -3
- data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_url_sources.rbi +8 -3
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param.rbi +5 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +1 -1
- data/rbi/anthropic/models/beta/deployment_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/deployment_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/environment_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/environment_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbi +5 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbi +3 -0
- data/rbi/anthropic/models/beta/messages/beta_message_batch_result.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/beta_api_key.rbi +7 -2
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state.rbi +4 -1
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbi +4 -1
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +6 -2
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +145 -11
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbi +58 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/external_key_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/federation/beta_federation_issuer.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/federation/issuer_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/federation/issuer_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +143 -11
- data/rbi/anthropic/models/beta/session_create_params.rbi +4 -2
- data/rbi/anthropic/models/beta/session_list_params.rbi +7 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbi +5 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +5 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +4 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbi +5 -0
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbi +4 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbi +7 -0
- data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +2 -1
- data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +2 -1
- data/rbi/anthropic/models/beta_error.rbi +4 -3
- data/rbi/anthropic/models/browser_state_change.rbi +1 -1
- data/rbi/anthropic/models/citations_delta.rbi +1 -1
- data/rbi/anthropic/models/content_block.rbi +1 -1
- data/rbi/anthropic/models/content_block_param.rbi +1 -1
- data/rbi/anthropic/models/content_block_source_content.rbi +1 -1
- data/rbi/anthropic/models/document_block.rbi +1 -1
- data/rbi/anthropic/models/document_block_param.rbi +1 -1
- data/rbi/anthropic/models/error_object.rbi +4 -3
- data/rbi/anthropic/models/image_block_param.rbi +1 -1
- data/rbi/anthropic/models/messages/message_batch_result.rbi +1 -1
- data/rbi/anthropic/models/raw_content_block_delta.rbi +1 -1
- data/rbi/anthropic/models/raw_content_block_start_event.rbi +2 -1
- data/rbi/anthropic/models/raw_message_stream_event.rbi +1 -1
- data/rbi/anthropic/models/server_tool_use_block.rbi +4 -3
- data/rbi/anthropic/models/server_tool_use_block_param.rbi +4 -3
- data/rbi/anthropic/models/text_citation.rbi +1 -1
- data/rbi/anthropic/models/text_citation_param.rbi +1 -1
- data/rbi/anthropic/models/thinking_config_param.rbi +1 -1
- data/rbi/anthropic/models/tool_choice.rbi +1 -1
- data/rbi/anthropic/models/tool_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/tool_use_block.rbi +4 -3
- data/rbi/anthropic/models/tool_use_block_param.rbi +4 -3
- data/rbi/anthropic/models/web_fetch_tool_result_block.rbi +4 -3
- data/rbi/anthropic/models/web_fetch_tool_result_block_param.rbi +5 -3
- data/rbi/anthropic/models/web_fetch_url_sources.rbi +7 -5
- data/rbi/anthropic/models/web_search_tool_result_block.rbi +4 -3
- data/rbi/anthropic/models/web_search_tool_result_block_param.rbi +5 -3
- data/rbi/anthropic/resources/beta/agents/versions.rbi +1 -1
- data/rbi/anthropic/resources/beta/agents.rbi +3 -3
- data/rbi/anthropic/resources/beta/deployment_runs.rbi +1 -1
- data/rbi/anthropic/resources/beta/deployments.rbi +6 -6
- data/rbi/anthropic/resources/beta/memory_stores.rbi +11 -4
- data/rbi/anthropic/resources/beta/tunnels/certificates.rbi +6 -6
- data/rbi/anthropic/resources/beta/tunnels.rbi +4 -4
- data/rbi/anthropic/resources/beta/vaults/credentials.rbi +12 -12
- data/rbi/anthropic/resources/beta/vaults.rbi +4 -4
- data/sig/anthropic/models/beta/agent_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/agent_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_browser_state_change.rbs +2 -1
- data/sig/anthropic/models/beta/beta_citations_delta.rbs +2 -1
- data/sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbs +2 -1
- data/sig/anthropic/models/beta/beta_cloud_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_cloud_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_content_block.rbs +1 -1
- data/sig/anthropic/models/beta/beta_content_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_content_block_source_content.rbs +2 -1
- data/sig/anthropic/models/beta/beta_context_management_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_context_management_response.rbs +2 -1
- data/sig/anthropic/models/beta/beta_diagnostics.rbs +2 -1
- data/sig/anthropic/models/beta/beta_document_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_dream_input.rbs +1 -1
- data/sig/anthropic/models/beta/beta_dream_status.rbs +15 -0
- data/sig/anthropic/models/beta/beta_dreaming_error.rbs +1 -1
- data/sig/anthropic/models/beta/beta_environment.rbs +2 -1
- data/sig/anthropic/models/beta/beta_fallback_credit_usage.rbs +2 -1
- data/sig/anthropic/models/beta/beta_fallback_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_image_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_input_transformation.rbs +2 -1
- data/sig/anthropic/models/beta/beta_iterations_usage.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +4 -2
- data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_status.rbs +3 -0
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_model_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_model_config_params.rbs +9 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_session.rbs +7 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +4 -2
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent_update.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +4 -2
- data/sig/anthropic/models/beta/beta_managed_agents_skill_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_start_event_preview.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_trigger_context.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_trigger_type.rbs +3 -0
- data/sig/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +2 -1
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +2 -1
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_command.rbs +2 -1
- data/sig/anthropic/models/beta/beta_output_behavior.rbs +1 -1
- data/sig/anthropic/models/beta/beta_raw_content_block_delta.rbs +2 -1
- data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_raw_message_stream_event.rbs +2 -1
- data/sig/anthropic/models/beta/beta_request_document_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_request_tool_addition_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_request_tool_removal_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_server_tool_use_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_server_tool_use_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_text_citation.rbs +1 -1
- data/sig/anthropic/models/beta/beta_text_citation_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_thinking_config_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_tool_choice.rbs +1 -1
- data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_tool_use_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_tool_use_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_web_fetch_url_sources.rbs +6 -3
- data/sig/anthropic/models/beta/beta_web_search_tool_result_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +1 -1
- data/sig/anthropic/models/beta/deployment_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/deployment_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/environment_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/environment_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbs +2 -1
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbs +2 -1
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbs +2 -1
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbs +5 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbs +3 -0
- data/sig/anthropic/models/beta/messages/beta_message_batch_result.rbs +2 -1
- data/sig/anthropic/models/beta/organization/beta_api_key.rbs +4 -2
- data/sig/anthropic/models/beta/organization/beta_compliance_settings_state.rbs +2 -1
- data/sig/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbs +2 -1
- data/sig/anthropic/models/beta/organization/beta_external_key.rbs +4 -2
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs +73 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbs +30 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbs +20 -0
- data/sig/anthropic/models/beta/organization/external_key_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/organization/external_key_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/organization/federation/beta_federation_issuer.rbs +2 -1
- data/sig/anthropic/models/beta/organization/federation/issuer_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/organization/federation/issuer_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbs +73 -0
- data/sig/anthropic/models/beta/session_create_params.rbs +4 -2
- data/sig/anthropic/models/beta/session_list_params.rbs +7 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/resource_retrieve_response.rbs +2 -1
- data/sig/anthropic/models/beta/sessions/resource_update_response.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbs +5 -0
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbs +7 -0
- data/sig/anthropic/models/beta/vaults/credential_create_params.rbs +2 -1
- data/sig/anthropic/models/beta/vaults/credential_update_params.rbs +2 -1
- data/sig/anthropic/models/beta_error.rbs +1 -1
- data/sig/anthropic/models/browser_state_change.rbs +1 -1
- data/sig/anthropic/models/citations_delta.rbs +1 -1
- data/sig/anthropic/models/content_block.rbs +1 -1
- data/sig/anthropic/models/content_block_param.rbs +1 -1
- data/sig/anthropic/models/content_block_source_content.rbs +1 -1
- data/sig/anthropic/models/document_block.rbs +1 -1
- data/sig/anthropic/models/document_block_param.rbs +1 -1
- data/sig/anthropic/models/error_object.rbs +1 -1
- data/sig/anthropic/models/image_block_param.rbs +1 -1
- data/sig/anthropic/models/messages/message_batch_result.rbs +2 -1
- data/sig/anthropic/models/raw_content_block_delta.rbs +1 -1
- data/sig/anthropic/models/raw_content_block_start_event.rbs +2 -1
- data/sig/anthropic/models/raw_message_stream_event.rbs +1 -1
- data/sig/anthropic/models/server_tool_use_block.rbs +1 -1
- data/sig/anthropic/models/server_tool_use_block_param.rbs +2 -1
- data/sig/anthropic/models/text_citation.rbs +1 -1
- data/sig/anthropic/models/text_citation_param.rbs +1 -1
- data/sig/anthropic/models/thinking_config_param.rbs +1 -1
- data/sig/anthropic/models/tool_choice.rbs +1 -1
- data/sig/anthropic/models/tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/tool_use_block.rbs +1 -1
- data/sig/anthropic/models/tool_use_block_param.rbs +1 -1
- data/sig/anthropic/models/web_fetch_tool_result_block.rbs +2 -1
- data/sig/anthropic/models/web_fetch_tool_result_block_param.rbs +2 -1
- data/sig/anthropic/models/web_fetch_url_sources.rbs +6 -3
- data/sig/anthropic/models/web_search_tool_result_block.rbs +2 -1
- data/sig/anthropic/models/web_search_tool_result_block_param.rbs +2 -1
- metadata +20 -2
|
@@ -74,7 +74,7 @@ module Anthropic
|
|
|
74
74
|
# value, passing the remaining arguments to its constructor.
|
|
75
75
|
sig do
|
|
76
76
|
params(
|
|
77
|
-
type:
|
|
77
|
+
type: Anthropic::Beta::BetaThinkingConfigParam::Type::OrSymbol,
|
|
78
78
|
budget_tokens: Integer,
|
|
79
79
|
block_binding:
|
|
80
80
|
T.nilable(Anthropic::Beta::BetaThinkingBlockBinding::OrHash),
|
|
@@ -23,7 +23,7 @@ module Anthropic
|
|
|
23
23
|
sig { returns(Symbol) }
|
|
24
24
|
attr_accessor :type
|
|
25
25
|
|
|
26
|
-
# Reference to a single MCP tool by its server and remote name
|
|
26
|
+
# Reference to a single MCP tool by its server and remote name; the same
|
|
27
27
|
# `server_name`/`name` pair `mcp_tool_use` carries.
|
|
28
28
|
sig do
|
|
29
29
|
params(name: String, server_name: String, type: Symbol).returns(
|
|
@@ -56,7 +56,7 @@ module Anthropic
|
|
|
56
56
|
# value, passing the remaining arguments to its constructor.
|
|
57
57
|
sig do
|
|
58
58
|
params(
|
|
59
|
-
type:
|
|
59
|
+
type: Anthropic::Beta::BetaToolChoice::Type::OrSymbol,
|
|
60
60
|
disable_parallel_tool_use: T::Boolean,
|
|
61
61
|
name: String
|
|
62
62
|
).returns(Anthropic::Beta::BetaToolChoice::Variants)
|
|
@@ -196,7 +196,8 @@ module Anthropic
|
|
|
196
196
|
# value, passing the remaining arguments to its constructor.
|
|
197
197
|
sig do
|
|
198
198
|
params(
|
|
199
|
-
type:
|
|
199
|
+
type:
|
|
200
|
+
Anthropic::Beta::BetaToolResultBlockParam::Content::Content::Type::OrSymbol,
|
|
200
201
|
text: String,
|
|
201
202
|
cache_control:
|
|
202
203
|
T.nilable(Anthropic::Beta::BetaCacheControlEphemeral::OrHash),
|
|
@@ -149,9 +149,10 @@ module Anthropic
|
|
|
149
149
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
150
150
|
# value, passing the remaining arguments to its constructor.
|
|
151
151
|
sig do
|
|
152
|
-
params(
|
|
153
|
-
Anthropic::Beta::BetaToolUseBlock::Caller::
|
|
154
|
-
|
|
152
|
+
params(
|
|
153
|
+
type: Anthropic::Beta::BetaToolUseBlock::Caller::Type::OrSymbol,
|
|
154
|
+
tool_id: String
|
|
155
|
+
).returns(Anthropic::Beta::BetaToolUseBlock::Caller::Variants)
|
|
155
156
|
end
|
|
156
157
|
def self.new(type:, tool_id: nil)
|
|
157
158
|
end
|
|
@@ -181,9 +181,11 @@ module Anthropic
|
|
|
181
181
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
182
182
|
# value, passing the remaining arguments to its constructor.
|
|
183
183
|
sig do
|
|
184
|
-
params(
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
params(
|
|
185
|
+
type:
|
|
186
|
+
Anthropic::Beta::BetaToolUseBlockParam::Caller::Type::OrSymbol,
|
|
187
|
+
tool_id: String
|
|
188
|
+
).returns(Anthropic::Beta::BetaToolUseBlockParam::Caller::Variants)
|
|
187
189
|
end
|
|
188
190
|
def self.new(type:, tool_id: nil)
|
|
189
191
|
end
|
|
@@ -174,7 +174,11 @@ module Anthropic
|
|
|
174
174
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
175
175
|
# value, passing the remaining arguments to its constructor.
|
|
176
176
|
sig do
|
|
177
|
-
params(
|
|
177
|
+
params(
|
|
178
|
+
type:
|
|
179
|
+
Anthropic::Beta::BetaWebFetchToolResultBlock::Caller::Type::OrSymbol,
|
|
180
|
+
tool_id: String
|
|
181
|
+
).returns(
|
|
178
182
|
Anthropic::Beta::BetaWebFetchToolResultBlock::Caller::Variants
|
|
179
183
|
)
|
|
180
184
|
end
|
|
@@ -206,7 +206,11 @@ module Anthropic
|
|
|
206
206
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
207
207
|
# value, passing the remaining arguments to its constructor.
|
|
208
208
|
sig do
|
|
209
|
-
params(
|
|
209
|
+
params(
|
|
210
|
+
type:
|
|
211
|
+
Anthropic::Beta::BetaWebFetchToolResultBlockParam::Caller::Type::OrSymbol,
|
|
212
|
+
tool_id: String
|
|
213
|
+
).returns(
|
|
210
214
|
Anthropic::Beta::BetaWebFetchToolResultBlockParam::Caller::Variants
|
|
211
215
|
)
|
|
212
216
|
end
|
|
@@ -240,7 +240,8 @@ module Anthropic
|
|
|
240
240
|
# value, passing the remaining arguments to its constructor.
|
|
241
241
|
sig do
|
|
242
242
|
params(
|
|
243
|
-
type:
|
|
243
|
+
type:
|
|
244
|
+
Anthropic::Beta::BetaWebFetchURLSources::ClientToolResults::Type::OrSymbol,
|
|
244
245
|
tools:
|
|
245
246
|
T::Array[
|
|
246
247
|
Anthropic::Beta::BetaWebFetchURLSourceToolReference::OrHash
|
|
@@ -327,7 +328,8 @@ module Anthropic
|
|
|
327
328
|
# value, passing the remaining arguments to its constructor.
|
|
328
329
|
sig do
|
|
329
330
|
params(
|
|
330
|
-
type:
|
|
331
|
+
type:
|
|
332
|
+
Anthropic::Beta::BetaWebFetchURLSources::ServerToolResults::Type::OrSymbol,
|
|
331
333
|
tools:
|
|
332
334
|
T::Array[
|
|
333
335
|
Anthropic::Beta::BetaWebFetchURLSourceToolReference::OrHash
|
|
@@ -399,7 +401,10 @@ module Anthropic
|
|
|
399
401
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
400
402
|
# value, passing the remaining arguments to its constructor.
|
|
401
403
|
sig do
|
|
402
|
-
params(
|
|
404
|
+
params(
|
|
405
|
+
type:
|
|
406
|
+
Anthropic::Beta::BetaWebFetchURLSources::UserInput::Type::OrSymbol
|
|
407
|
+
).returns(
|
|
403
408
|
Anthropic::Beta::BetaWebFetchURLSources::UserInput::Variants
|
|
404
409
|
)
|
|
405
410
|
end
|
|
@@ -152,7 +152,11 @@ module Anthropic
|
|
|
152
152
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
153
153
|
# value, passing the remaining arguments to its constructor.
|
|
154
154
|
sig do
|
|
155
|
-
params(
|
|
155
|
+
params(
|
|
156
|
+
type:
|
|
157
|
+
Anthropic::Beta::BetaWebSearchToolResultBlock::Caller::Type::OrSymbol,
|
|
158
|
+
tool_id: String
|
|
159
|
+
).returns(
|
|
156
160
|
Anthropic::Beta::BetaWebSearchToolResultBlock::Caller::Variants
|
|
157
161
|
)
|
|
158
162
|
end
|
|
@@ -184,7 +184,11 @@ module Anthropic
|
|
|
184
184
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
185
185
|
# value, passing the remaining arguments to its constructor.
|
|
186
186
|
sig do
|
|
187
|
-
params(
|
|
187
|
+
params(
|
|
188
|
+
type:
|
|
189
|
+
Anthropic::Beta::BetaWebSearchToolResultBlockParam::Caller::Type::OrSymbol,
|
|
190
|
+
tool_id: String
|
|
191
|
+
).returns(
|
|
188
192
|
Anthropic::Beta::BetaWebSearchToolResultBlockParam::Caller::Variants
|
|
189
193
|
)
|
|
190
194
|
end
|
|
@@ -311,7 +311,7 @@ module Anthropic
|
|
|
311
311
|
# value, passing the remaining arguments to its constructor.
|
|
312
312
|
sig do
|
|
313
313
|
params(
|
|
314
|
-
type:
|
|
314
|
+
type: Anthropic::Beta::BetaWebhookEventData::Type::OrSymbol,
|
|
315
315
|
id: String,
|
|
316
316
|
organization_id: String,
|
|
317
317
|
workspace_id: String,
|
|
@@ -354,7 +354,8 @@ module Anthropic
|
|
|
354
354
|
# value, passing the remaining arguments to its constructor.
|
|
355
355
|
sig do
|
|
356
356
|
params(
|
|
357
|
-
type:
|
|
357
|
+
type:
|
|
358
|
+
Anthropic::Beta::DeploymentCreateParams::Resource::Type::OrSymbol,
|
|
358
359
|
url: String,
|
|
359
360
|
authorization_token: String,
|
|
360
361
|
checkout:
|
|
@@ -381,7 +381,8 @@ module Anthropic
|
|
|
381
381
|
# value, passing the remaining arguments to its constructor.
|
|
382
382
|
sig do
|
|
383
383
|
params(
|
|
384
|
-
type:
|
|
384
|
+
type:
|
|
385
|
+
Anthropic::Beta::DeploymentUpdateParams::Resource::Type::OrSymbol,
|
|
385
386
|
url: String,
|
|
386
387
|
authorization_token: String,
|
|
387
388
|
checkout:
|
|
@@ -206,7 +206,8 @@ module Anthropic
|
|
|
206
206
|
# value, passing the remaining arguments to its constructor.
|
|
207
207
|
sig do
|
|
208
208
|
params(
|
|
209
|
-
type:
|
|
209
|
+
type:
|
|
210
|
+
Anthropic::Beta::EnvironmentCreateParams::Config::Type::OrSymbol,
|
|
210
211
|
networking:
|
|
211
212
|
T.nilable(
|
|
212
213
|
T.any(
|
|
@@ -214,7 +214,8 @@ module Anthropic
|
|
|
214
214
|
# value, passing the remaining arguments to its constructor.
|
|
215
215
|
sig do
|
|
216
216
|
params(
|
|
217
|
-
type:
|
|
217
|
+
type:
|
|
218
|
+
Anthropic::Beta::EnvironmentUpdateParams::Config::Type::OrSymbol,
|
|
218
219
|
networking:
|
|
219
220
|
T.nilable(
|
|
220
221
|
T.any(
|
|
@@ -80,7 +80,8 @@ module Anthropic
|
|
|
80
80
|
# value, passing the remaining arguments to its constructor.
|
|
81
81
|
sig do
|
|
82
82
|
params(
|
|
83
|
-
type:
|
|
83
|
+
type:
|
|
84
|
+
Anthropic::Beta::MemoryStores::BetaManagedAgentsActor::Type::OrSymbol,
|
|
84
85
|
session_id: String,
|
|
85
86
|
api_key_id: String,
|
|
86
87
|
user_id: String,
|
|
@@ -123,7 +123,8 @@ module Anthropic
|
|
|
123
123
|
# value, passing the remaining arguments to its constructor.
|
|
124
124
|
sig do
|
|
125
125
|
params(
|
|
126
|
-
type:
|
|
126
|
+
type:
|
|
127
|
+
Anthropic::Beta::MemoryStores::BetaManagedAgentsError::Type::OrSymbol,
|
|
127
128
|
message: String,
|
|
128
129
|
conflicting_memory_id: String,
|
|
129
130
|
conflicting_path: String
|
|
@@ -66,7 +66,8 @@ module Anthropic
|
|
|
66
66
|
# value, passing the remaining arguments to its constructor.
|
|
67
67
|
sig do
|
|
68
68
|
params(
|
|
69
|
-
type:
|
|
69
|
+
type:
|
|
70
|
+
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryListItem::Type::OrSymbol,
|
|
70
71
|
path: String,
|
|
71
72
|
id: String,
|
|
72
73
|
content_sha256: String,
|
data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbi
CHANGED
|
@@ -18,16 +18,21 @@ module Anthropic
|
|
|
18
18
|
end
|
|
19
19
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
20
20
|
|
|
21
|
+
# The memory was created. The first version in any memory's lineage.
|
|
21
22
|
CREATED =
|
|
22
23
|
T.let(
|
|
23
24
|
:created,
|
|
24
25
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryVersionOperation::TaggedSymbol
|
|
25
26
|
)
|
|
27
|
+
|
|
28
|
+
# The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
|
|
26
29
|
MODIFIED =
|
|
27
30
|
T.let(
|
|
28
31
|
:modified,
|
|
29
32
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryVersionOperation::TaggedSymbol
|
|
30
33
|
)
|
|
34
|
+
|
|
35
|
+
# The memory was deleted. The `content`, `content_size_bytes`, and `content_sha256` fields are `null` on this version. The preceding version, while it is retained, records the deleted content's size and hash.
|
|
31
36
|
DELETED =
|
|
32
37
|
T.let(
|
|
33
38
|
:deleted,
|
|
@@ -21,11 +21,14 @@ module Anthropic
|
|
|
21
21
|
end
|
|
22
22
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
23
23
|
|
|
24
|
+
# Return the object with `content` set to `null`. The `content_size_bytes` and `content_sha256` fields remain populated, so sync clients can diff without fetching content.
|
|
24
25
|
BASIC =
|
|
25
26
|
T.let(
|
|
26
27
|
:basic,
|
|
27
28
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView::TaggedSymbol
|
|
28
29
|
)
|
|
30
|
+
|
|
31
|
+
# Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
|
|
29
32
|
FULL =
|
|
30
33
|
T.let(
|
|
31
34
|
:full,
|
|
@@ -80,7 +80,8 @@ module Anthropic
|
|
|
80
80
|
# value, passing the remaining arguments to its constructor.
|
|
81
81
|
sig do
|
|
82
82
|
params(
|
|
83
|
-
type:
|
|
83
|
+
type:
|
|
84
|
+
Anthropic::Beta::Messages::BetaMessageBatchResult::Type::OrSymbol,
|
|
84
85
|
message: Anthropic::Beta::BetaMessage::OrHash,
|
|
85
86
|
error: Anthropic::BetaErrorResponse::OrHash
|
|
86
87
|
).returns(
|
|
@@ -249,7 +249,8 @@ module Anthropic
|
|
|
249
249
|
# value, passing the remaining arguments to its constructor.
|
|
250
250
|
sig do
|
|
251
251
|
params(
|
|
252
|
-
type:
|
|
252
|
+
type:
|
|
253
|
+
Anthropic::Beta::Organization::BetaAPIKey::Principal::Type::OrSymbol,
|
|
253
254
|
user_id: String,
|
|
254
255
|
service_account_id: String
|
|
255
256
|
).returns(
|
|
@@ -329,7 +330,11 @@ module Anthropic
|
|
|
329
330
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
330
331
|
# value, passing the remaining arguments to its constructor.
|
|
331
332
|
sig do
|
|
332
|
-
params(
|
|
333
|
+
params(
|
|
334
|
+
type:
|
|
335
|
+
Anthropic::Beta::Organization::BetaAPIKey::Scope::Type::OrSymbol,
|
|
336
|
+
workspace_id: String
|
|
337
|
+
).returns(
|
|
333
338
|
Anthropic::Beta::Organization::BetaAPIKey::Scope::Variants
|
|
334
339
|
)
|
|
335
340
|
end
|
|
@@ -62,7 +62,10 @@ module Anthropic
|
|
|
62
62
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
63
63
|
# value, passing the remaining arguments to its constructor.
|
|
64
64
|
sig do
|
|
65
|
-
params(
|
|
65
|
+
params(
|
|
66
|
+
type:
|
|
67
|
+
Anthropic::Beta::Organization::BetaComplianceSettingsState::Type::OrSymbol
|
|
68
|
+
).returns(
|
|
66
69
|
Anthropic::Beta::Organization::BetaComplianceSettingsState::Variants
|
|
67
70
|
)
|
|
68
71
|
end
|
|
@@ -62,7 +62,10 @@ module Anthropic
|
|
|
62
62
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
63
63
|
# value, passing the remaining arguments to its constructor.
|
|
64
64
|
sig do
|
|
65
|
-
params(
|
|
65
|
+
params(
|
|
66
|
+
type:
|
|
67
|
+
Anthropic::Beta::Organization::BetaComplianceSettingsStateParam::Type::OrSymbol
|
|
68
|
+
).returns(
|
|
66
69
|
Anthropic::Beta::Organization::BetaComplianceSettingsStateParam::Variants
|
|
67
70
|
)
|
|
68
71
|
end
|
|
@@ -184,7 +184,10 @@ module Anthropic
|
|
|
184
184
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
185
185
|
# value, passing the remaining arguments to its constructor.
|
|
186
186
|
sig do
|
|
187
|
-
params(
|
|
187
|
+
params(
|
|
188
|
+
type:
|
|
189
|
+
Anthropic::Beta::Organization::BetaExternalKey::Attachment::Type::OrSymbol
|
|
190
|
+
).returns(
|
|
188
191
|
Anthropic::Beta::Organization::BetaExternalKey::Attachment::Variants
|
|
189
192
|
)
|
|
190
193
|
end
|
|
@@ -258,7 +261,8 @@ module Anthropic
|
|
|
258
261
|
# value, passing the remaining arguments to its constructor.
|
|
259
262
|
sig do
|
|
260
263
|
params(
|
|
261
|
-
type:
|
|
264
|
+
type:
|
|
265
|
+
Anthropic::Beta::Organization::BetaExternalKey::ProviderConfig::Type::OrSymbol,
|
|
262
266
|
kms_arn: String,
|
|
263
267
|
region: T.nilable(String),
|
|
264
268
|
role_arn: T.nilable(String),
|
|
@@ -13,13 +13,24 @@ module Anthropic
|
|
|
13
13
|
)
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
#
|
|
16
|
+
# Identifier of this rate-limit entry. It is stable within the organization and
|
|
17
|
+
# differs between organizations; the group's own identifier is `group.id`.
|
|
17
18
|
sig { returns(String) }
|
|
18
19
|
attr_accessor :id
|
|
19
20
|
|
|
20
|
-
# The
|
|
21
|
-
#
|
|
22
|
-
|
|
21
|
+
# The rate-limit group this entry's limits apply to. Its `type` equals
|
|
22
|
+
# `group_type`.
|
|
23
|
+
sig do
|
|
24
|
+
returns(
|
|
25
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Variants
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
attr_accessor :group
|
|
29
|
+
|
|
30
|
+
# Deprecated: use `group.type` instead. The kind of rate-limit group this entry
|
|
31
|
+
# represents. `model_group` entries apply to a family of models (listed in
|
|
32
|
+
# `models`); other values apply to an API-surface category and have `models` set
|
|
33
|
+
# to `null`. Always equal to `group.type`.
|
|
23
34
|
sig do
|
|
24
35
|
returns(
|
|
25
36
|
Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol
|
|
@@ -49,6 +60,15 @@ module Anthropic
|
|
|
49
60
|
sig do
|
|
50
61
|
params(
|
|
51
62
|
id: String,
|
|
63
|
+
group:
|
|
64
|
+
T.any(
|
|
65
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitModelGroup::OrHash,
|
|
66
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitBatchGroup::OrHash,
|
|
67
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup::OrHash,
|
|
68
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitFilesGroup::OrHash,
|
|
69
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitSkillsGroup::OrHash,
|
|
70
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup::OrHash
|
|
71
|
+
),
|
|
52
72
|
group_type:
|
|
53
73
|
Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::OrSymbol,
|
|
54
74
|
limits:
|
|
@@ -60,11 +80,16 @@ module Anthropic
|
|
|
60
80
|
).returns(T.attached_class)
|
|
61
81
|
end
|
|
62
82
|
def self.new(
|
|
63
|
-
#
|
|
83
|
+
# Identifier of this rate-limit entry. It is stable within the organization and
|
|
84
|
+
# differs between organizations; the group's own identifier is `group.id`.
|
|
64
85
|
id:,
|
|
65
|
-
# The
|
|
66
|
-
#
|
|
67
|
-
|
|
86
|
+
# The rate-limit group this entry's limits apply to. Its `type` equals
|
|
87
|
+
# `group_type`.
|
|
88
|
+
group:,
|
|
89
|
+
# Deprecated: use `group.type` instead. The kind of rate-limit group this entry
|
|
90
|
+
# represents. `model_group` entries apply to a family of models (listed in
|
|
91
|
+
# `models`); other values apply to an API-surface category and have `models` set
|
|
92
|
+
# to `null`. Always equal to `group.type`.
|
|
68
93
|
group_type:,
|
|
69
94
|
# The limiter values that apply to this group.
|
|
70
95
|
limits:,
|
|
@@ -80,6 +105,8 @@ module Anthropic
|
|
|
80
105
|
override.returns(
|
|
81
106
|
{
|
|
82
107
|
id: String,
|
|
108
|
+
group:
|
|
109
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Variants,
|
|
83
110
|
group_type:
|
|
84
111
|
Anthropic::Beta::Organization::BetaOrganizationRateLimit::GroupType::TaggedSymbol,
|
|
85
112
|
limits:
|
|
@@ -94,9 +121,116 @@ module Anthropic
|
|
|
94
121
|
def to_hash
|
|
95
122
|
end
|
|
96
123
|
|
|
97
|
-
# The
|
|
98
|
-
#
|
|
99
|
-
|
|
124
|
+
# The rate-limit group this entry's limits apply to. Its `type` equals
|
|
125
|
+
# `group_type`.
|
|
126
|
+
module Group
|
|
127
|
+
extend Anthropic::Internal::Type::Union
|
|
128
|
+
|
|
129
|
+
Variants =
|
|
130
|
+
T.type_alias do
|
|
131
|
+
T.any(
|
|
132
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitModelGroup,
|
|
133
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitBatchGroup,
|
|
134
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitTokenCountGroup,
|
|
135
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitFilesGroup,
|
|
136
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitSkillsGroup,
|
|
137
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitWebSearchGroup
|
|
138
|
+
)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
module Type
|
|
142
|
+
extend Anthropic::Internal::Type::Enum
|
|
143
|
+
|
|
144
|
+
TaggedSymbol =
|
|
145
|
+
T.type_alias do
|
|
146
|
+
T.all(
|
|
147
|
+
Symbol,
|
|
148
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type
|
|
149
|
+
)
|
|
150
|
+
end
|
|
151
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
152
|
+
|
|
153
|
+
MODEL_GROUP =
|
|
154
|
+
T.let(
|
|
155
|
+
:model_group,
|
|
156
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type::TaggedSymbol
|
|
157
|
+
)
|
|
158
|
+
BATCH =
|
|
159
|
+
T.let(
|
|
160
|
+
:batch,
|
|
161
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type::TaggedSymbol
|
|
162
|
+
)
|
|
163
|
+
TOKEN_COUNT =
|
|
164
|
+
T.let(
|
|
165
|
+
:token_count,
|
|
166
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type::TaggedSymbol
|
|
167
|
+
)
|
|
168
|
+
FILES =
|
|
169
|
+
T.let(
|
|
170
|
+
:files,
|
|
171
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type::TaggedSymbol
|
|
172
|
+
)
|
|
173
|
+
SKILLS =
|
|
174
|
+
T.let(
|
|
175
|
+
:skills,
|
|
176
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type::TaggedSymbol
|
|
177
|
+
)
|
|
178
|
+
WEB_SEARCH =
|
|
179
|
+
T.let(
|
|
180
|
+
:web_search,
|
|
181
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type::TaggedSymbol
|
|
182
|
+
)
|
|
183
|
+
|
|
184
|
+
sig do
|
|
185
|
+
override.returns(
|
|
186
|
+
T::Array[
|
|
187
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type::TaggedSymbol
|
|
188
|
+
]
|
|
189
|
+
)
|
|
190
|
+
end
|
|
191
|
+
def self.values
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
sig do
|
|
196
|
+
override.returns(
|
|
197
|
+
T::Array[
|
|
198
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Variants
|
|
199
|
+
]
|
|
200
|
+
)
|
|
201
|
+
end
|
|
202
|
+
def self.variants
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
206
|
+
# value, passing the remaining arguments to its constructor.
|
|
207
|
+
sig do
|
|
208
|
+
params(
|
|
209
|
+
type:
|
|
210
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Type::OrSymbol,
|
|
211
|
+
id: String,
|
|
212
|
+
display_name: String
|
|
213
|
+
).returns(
|
|
214
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimit::Group::Variants
|
|
215
|
+
)
|
|
216
|
+
end
|
|
217
|
+
def self.new(
|
|
218
|
+
type:,
|
|
219
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
220
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
221
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
222
|
+
id:,
|
|
223
|
+
# Human-readable name of the model group (for example, `Claude Sonnet 4.x`). For
|
|
224
|
+
# display only; it may change.
|
|
225
|
+
display_name: nil
|
|
226
|
+
)
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Deprecated: use `group.type` instead. The kind of rate-limit group this entry
|
|
231
|
+
# represents. `model_group` entries apply to a family of models (listed in
|
|
232
|
+
# `models`); other values apply to an API-surface category and have `models` set
|
|
233
|
+
# to `null`. Always equal to `group.type`.
|
|
100
234
|
module GroupType
|
|
101
235
|
extend Anthropic::Internal::Type::Enum
|
|
102
236
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaOrganizationRateLimitBatchGroup < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitBatchGroup,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
17
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
18
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :id
|
|
21
|
+
|
|
22
|
+
# Always `batch`: the Message Batches API.
|
|
23
|
+
sig { returns(Symbol) }
|
|
24
|
+
attr_accessor :type
|
|
25
|
+
|
|
26
|
+
sig { params(id: String, type: Symbol).returns(T.attached_class) }
|
|
27
|
+
def self.new(
|
|
28
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
29
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
30
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
31
|
+
id:,
|
|
32
|
+
# Always `batch`: the Message Batches API.
|
|
33
|
+
type: :batch
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
sig { override.returns({ id: String, type: Symbol }) }
|
|
38
|
+
def to_hash
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaOrganizationRateLimitFilesGroup < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaOrganizationRateLimitFilesGroup,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
17
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
18
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :id
|
|
21
|
+
|
|
22
|
+
# Always `files`: the Files API.
|
|
23
|
+
sig { returns(Symbol) }
|
|
24
|
+
attr_accessor :type
|
|
25
|
+
|
|
26
|
+
sig { params(id: String, type: Symbol).returns(T.attached_class) }
|
|
27
|
+
def self.new(
|
|
28
|
+
# Opaque identifier of the rate-limit group (for example,
|
|
29
|
+
# `rlg_01VPTCmyiu5ZLsWkcxYG2pY8`). It is the same in every organization and never
|
|
30
|
+
# changes, unlike the entry's own identifier, which differs per organization.
|
|
31
|
+
id:,
|
|
32
|
+
# Always `files`: the Files API.
|
|
33
|
+
type: :files
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
sig { override.returns({ id: String, type: Symbol }) }
|
|
38
|
+
def to_hash
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|