anthropic 1.71.0 → 1.73.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 +54 -0
- data/README.md +2 -2
- data/lib/anthropic/helpers/bedrock/event_stream.rb +14 -4
- data/lib/anthropic/helpers/messages.rb +76 -43
- data/lib/anthropic/helpers/tools/runner.rb +317 -37
- data/lib/anthropic/models/anthropic_beta.rb +6 -0
- data/lib/anthropic/models/beta/agent_archive_params.rb +12 -2
- data/lib/anthropic/models/beta/agent_create_params.rb +8 -2
- data/lib/anthropic/models/beta/agent_list_params.rb +10 -1
- data/lib/anthropic/models/beta/agent_retrieve_params.rb +9 -2
- data/lib/anthropic/models/beta/agent_update_params.rb +10 -3
- data/lib/anthropic/models/beta/agents/version_list_params.rb +12 -2
- 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_compaction_block.rb +74 -1
- data/lib/anthropic/models/beta/beta_compaction_block_param.rb +80 -1
- data/lib/anthropic/models/beta/beta_content_block.rb +18 -3
- data/lib/anthropic/models/beta/beta_content_block_param.rb +31 -12
- 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 +3 -3
- data/lib/anthropic/models/beta/beta_document_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_dream.rb +66 -19
- data/lib/anthropic/models/beta/beta_dream_error.rb +12 -2
- data/lib/anthropic/models/beta/beta_dream_input.rb +11 -5
- data/lib/anthropic/models/beta/beta_dream_memory_store_input.rb +13 -4
- data/lib/anthropic/models/beta/beta_dream_memory_store_output.rb +10 -2
- data/lib/anthropic/models/beta/beta_dream_model_config.rb +7 -4
- data/lib/anthropic/models/beta/beta_dream_model_config_param.rb +9 -3
- data/lib/anthropic/models/beta/beta_dream_output.rb +10 -2
- data/lib/anthropic/models/beta/beta_dream_sessions_input.rb +14 -2
- data/lib/anthropic/models/beta/beta_dream_status.rb +25 -1
- data/lib/anthropic/models/beta/beta_dream_usage.rb +22 -9
- data/lib/anthropic/models/beta/beta_dreaming_error.rb +5 -3
- 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.rb +5 -0
- 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_mcp_tool.rb +34 -0
- data/lib/anthropic/models/beta/beta_mcp_tool_listing_block.rb +35 -0
- data/lib/anthropic/models/beta/beta_mcp_tool_listing_block_param.rb +43 -0
- data/lib/anthropic/models/beta/beta_mcp_tool_param.rb +39 -0
- data/lib/anthropic/models/beta/beta_mcp_toolset.rb +19 -1
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb +1 -1
- data/lib/anthropic/models/beta/beta_message.rb +5 -5
- data/lib/anthropic/models/beta/beta_message_param.rb +3 -3
- data/lib/anthropic/models/beta/beta_output_behavior.rb +13 -4
- data/lib/anthropic/models/beta/beta_output_behavior_create_new.rb +5 -3
- data/lib/anthropic/models/beta/beta_output_behavior_update_existing.rb +13 -4
- 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 +20 -5
- data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_request_document_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +28 -12
- data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +9 -7
- data/lib/anthropic/models/beta/beta_response_tool.rb +132 -0
- data/lib/anthropic/models/beta/beta_response_tool_addition_block.rb +112 -0
- data/lib/anthropic/models/beta/beta_response_tool_change_mcp_tool_reference.rb +35 -0
- data/lib/anthropic/models/beta/beta_response_tool_change_mcp_toolset_reference.rb +28 -0
- data/lib/anthropic/models/beta/beta_response_tool_change_tool_reference.rb +30 -0
- data/lib/anthropic/models/beta/beta_response_tool_input_schema.rb +38 -0
- data/lib/anthropic/models/beta/beta_response_tool_removal_block.rb +96 -0
- data/lib/anthropic/models/beta/beta_response_tool_union.rb +92 -0
- 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_target_store_held_error.rb +13 -10
- 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_change_tool_definition.rb +29 -0
- data/lib/anthropic/models/beta/beta_tool_change_tool_definition_param.rb +29 -0
- data/lib/anthropic/models/beta/beta_tool_change_tool_reference.rb +3 -2
- 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_user_profile.rb +11 -0
- data/lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb +3 -0
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details.rb +5 -0
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb +5 -0
- data/lib/anthropic/models/beta/beta_user_profile_trust_grant.rb +3 -0
- 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_archive_params.rb +12 -2
- data/lib/anthropic/models/beta/deployment_create_params.rb +8 -2
- data/lib/anthropic/models/beta/deployment_list_params.rb +7 -1
- data/lib/anthropic/models/beta/deployment_pause_params.rb +12 -2
- data/lib/anthropic/models/beta/deployment_retrieve_params.rb +12 -2
- data/lib/anthropic/models/beta/deployment_run_list_params.rb +7 -1
- data/lib/anthropic/models/beta/deployment_run_params.rb +12 -2
- data/lib/anthropic/models/beta/deployment_run_retrieve_params.rb +12 -2
- data/lib/anthropic/models/beta/deployment_unpause_params.rb +12 -2
- data/lib/anthropic/models/beta/deployment_update_params.rb +10 -3
- data/lib/anthropic/models/beta/dream_archive_params.rb +12 -2
- data/lib/anthropic/models/beta/dream_cancel_params.rb +12 -2
- data/lib/anthropic/models/beta/dream_create_params.rb +41 -6
- data/lib/anthropic/models/beta/dream_list_params.rb +25 -16
- data/lib/anthropic/models/beta/dream_retrieve_params.rb +12 -2
- data/lib/anthropic/models/beta/environment_archive_params.rb +10 -1
- data/lib/anthropic/models/beta/environment_create_params.rb +8 -2
- data/lib/anthropic/models/beta/environment_delete_params.rb +10 -1
- data/lib/anthropic/models/beta/environment_list_params.rb +7 -1
- data/lib/anthropic/models/beta/environment_retrieve_params.rb +10 -1
- data/lib/anthropic/models/beta/environment_update_params.rb +8 -2
- data/lib/anthropic/models/beta/environments/work_retrieve_params.rb +10 -1
- data/lib/anthropic/models/beta/environments/work_stats_params.rb +10 -1
- data/lib/anthropic/models/beta/environments/work_stop_params.rb +10 -1
- data/lib/anthropic/models/beta/environments/work_update_params.rb +10 -1
- data/lib/anthropic/models/beta/file_delete_params.rb +10 -1
- data/lib/anthropic/models/beta/file_download_params.rb +10 -1
- data/lib/anthropic/models/beta/file_list_params.rb +7 -1
- data/lib/anthropic/models/beta/file_retrieve_metadata_params.rb +10 -1
- data/lib/anthropic/models/beta/file_upload_params.rb +7 -1
- data/lib/anthropic/models/beta/memory_store_archive_params.rb +14 -2
- data/lib/anthropic/models/beta/memory_store_create_params.rb +7 -1
- data/lib/anthropic/models/beta/memory_store_delete_params.rb +14 -2
- data/lib/anthropic/models/beta/memory_store_list_params.rb +7 -1
- data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +13 -2
- data/lib/anthropic/models/beta/memory_store_update_params.rb +11 -2
- 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 +16 -4
- 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_path_conflict_error.rb +26 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rb +14 -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/memory_stores/memory_create_params.rb +15 -4
- data/lib/anthropic/models/beta/memory_stores/memory_delete_params.rb +20 -5
- data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +9 -2
- data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +20 -5
- data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +17 -5
- data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +37 -18
- data/lib/anthropic/models/beta/memory_stores/memory_version_redact_params.rb +15 -3
- data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +21 -5
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +7 -1
- data/lib/anthropic/models/beta/message_create_params.rb +7 -1
- data/lib/anthropic/models/beta/messages/batch_cancel_params.rb +10 -1
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +7 -1
- data/lib/anthropic/models/beta/messages/batch_delete_params.rb +10 -1
- data/lib/anthropic/models/beta/messages/batch_list_params.rb +7 -1
- data/lib/anthropic/models/beta/messages/batch_results_params.rb +10 -1
- data/lib/anthropic/models/beta/messages/batch_retrieve_params.rb +10 -1
- data/lib/anthropic/models/beta/messages/beta_message_batch_result.rb +1 -1
- data/lib/anthropic/models/beta/model_list_params.rb +7 -1
- data/lib/anthropic/models/beta/model_retrieve_params.rb +10 -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_archive_params.rb +10 -1
- data/lib/anthropic/models/beta/session_create_params.rb +9 -3
- data/lib/anthropic/models/beta/session_delete_params.rb +10 -1
- data/lib/anthropic/models/beta/session_list_params.rb +14 -1
- data/lib/anthropic/models/beta/session_retrieve_params.rb +10 -1
- data/lib/anthropic/models/beta/session_update_params.rb +7 -1
- 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_evaluated_permission.rb +21 -0
- 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_mcp_tool_use_event.rb +3 -17
- 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_agent_tool_use_event.rb +3 -17
- 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 +2 -2
- 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 +4 -10
- 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 +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +2 -2
- 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/event_list_params.rb +8 -3
- data/lib/anthropic/models/beta/sessions/event_send_params.rb +10 -1
- data/lib/anthropic/models/beta/sessions/event_stream_params.rb +7 -1
- data/lib/anthropic/models/beta/sessions/resource_add_params.rb +10 -1
- data/lib/anthropic/models/beta/sessions/resource_delete_params.rb +10 -1
- data/lib/anthropic/models/beta/sessions/resource_list_params.rb +7 -1
- data/lib/anthropic/models/beta/sessions/resource_retrieve_params.rb +10 -1
- data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +1 -1
- data/lib/anthropic/models/beta/sessions/resource_update_params.rb +7 -1
- data/lib/anthropic/models/beta/sessions/resource_update_response.rb +1 -1
- data/lib/anthropic/models/beta/sessions/thread_archive_params.rb +10 -1
- data/lib/anthropic/models/beta/sessions/thread_list_params.rb +10 -1
- data/lib/anthropic/models/beta/sessions/thread_retrieve_params.rb +10 -1
- data/lib/anthropic/models/beta/sessions/threads/event_list_params.rb +12 -5
- data/lib/anthropic/models/beta/sessions/threads/event_stream_params.rb +7 -1
- data/lib/anthropic/models/beta/skill_create_params.rb +7 -1
- data/lib/anthropic/models/beta/skill_delete_params.rb +7 -1
- data/lib/anthropic/models/beta/skill_list_params.rb +7 -1
- data/lib/anthropic/models/beta/skill_retrieve_params.rb +7 -1
- data/lib/anthropic/models/beta/skills/version_create_params.rb +7 -1
- data/lib/anthropic/models/beta/skills/version_delete_params.rb +7 -1
- data/lib/anthropic/models/beta/skills/version_download_params.rb +7 -1
- data/lib/anthropic/models/beta/skills/version_list_params.rb +7 -1
- data/lib/anthropic/models/beta/skills/version_retrieve_params.rb +7 -1
- data/lib/anthropic/models/beta/tunnel_archive_params.rb +12 -2
- data/lib/anthropic/models/beta/tunnel_create_params.rb +10 -1
- data/lib/anthropic/models/beta/tunnel_list_params.rb +10 -1
- data/lib/anthropic/models/beta/tunnel_retrieve_params.rb +12 -2
- data/lib/anthropic/models/beta/tunnel_reveal_token_params.rb +12 -2
- data/lib/anthropic/models/beta/tunnel_rotate_token_params.rb +12 -2
- data/lib/anthropic/models/beta/tunnels/certificate_archive_params.rb +14 -3
- data/lib/anthropic/models/beta/tunnels/certificate_create_params.rb +9 -2
- data/lib/anthropic/models/beta/tunnels/certificate_list_params.rb +9 -2
- data/lib/anthropic/models/beta/tunnels/certificate_retrieve_params.rb +14 -3
- data/lib/anthropic/models/beta/user_profile_create_enrollment_url_params.rb +13 -2
- data/lib/anthropic/models/beta/user_profile_create_params.rb +10 -1
- data/lib/anthropic/models/beta/user_profile_list_params.rb +33 -11
- data/lib/anthropic/models/beta/user_profile_retrieve_params.rb +12 -2
- data/lib/anthropic/models/beta/user_profile_update_params.rb +12 -2
- data/lib/anthropic/models/beta/vault_archive_params.rb +12 -2
- data/lib/anthropic/models/beta/vault_create_params.rb +7 -1
- data/lib/anthropic/models/beta/vault_delete_params.rb +12 -2
- data/lib/anthropic/models/beta/vault_list_params.rb +10 -1
- data/lib/anthropic/models/beta/vault_retrieve_params.rb +12 -2
- data/lib/anthropic/models/beta/vault_update_params.rb +9 -2
- 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_archive_params.rb +14 -3
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +10 -3
- data/lib/anthropic/models/beta/vaults/credential_delete_params.rb +14 -3
- data/lib/anthropic/models/beta/vaults/credential_list_params.rb +12 -2
- data/lib/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rb +15 -3
- data/lib/anthropic/models/beta/vaults/credential_retrieve_params.rb +14 -3
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +12 -4
- 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/completion_create_params.rb +7 -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/file_delete_params.rb +10 -1
- data/lib/anthropic/models/file_download_params.rb +10 -1
- data/lib/anthropic/models/file_list_params.rb +7 -1
- data/lib/anthropic/models/file_retrieve_metadata_params.rb +10 -1
- data/lib/anthropic/models/file_upload_params.rb +7 -1
- data/lib/anthropic/models/image_block_param.rb +1 -1
- data/lib/anthropic/models/message_count_tokens_params.rb +7 -1
- data/lib/anthropic/models/message_create_params.rb +7 -1
- data/lib/anthropic/models/messages/batch_cancel_params.rb +10 -1
- data/lib/anthropic/models/messages/batch_create_params.rb +7 -1
- data/lib/anthropic/models/messages/batch_delete_params.rb +10 -1
- data/lib/anthropic/models/messages/batch_list_params.rb +7 -1
- data/lib/anthropic/models/messages/batch_results_params.rb +10 -1
- data/lib/anthropic/models/messages/batch_retrieve_params.rb +10 -1
- data/lib/anthropic/models/messages/message_batch_result.rb +1 -1
- data/lib/anthropic/models/model.rb +5 -0
- data/lib/anthropic/models/model_list_params.rb +7 -1
- data/lib/anthropic/models/model_retrieve_params.rb +10 -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/skill_create_params.rb +7 -1
- data/lib/anthropic/models/skill_delete_params.rb +7 -1
- data/lib/anthropic/models/skill_list_params.rb +7 -1
- data/lib/anthropic/models/skill_retrieve_params.rb +7 -1
- data/lib/anthropic/models/skills/version_create_params.rb +7 -1
- data/lib/anthropic/models/skills/version_delete_params.rb +7 -1
- data/lib/anthropic/models/skills/version_list_params.rb +7 -1
- data/lib/anthropic/models/skills/version_retrieve_params.rb +7 -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/dreams.rb +58 -18
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +12 -12
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +15 -14
- data/lib/anthropic/resources/beta/memory_stores.rb +4 -4
- data/lib/anthropic/resources/beta/sessions/events.rb +4 -4
- data/lib/anthropic/resources/beta/sessions/resources.rb +8 -8
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +6 -6
- data/lib/anthropic/resources/beta/sessions/threads.rb +5 -5
- data/lib/anthropic/resources/beta/sessions.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/user_profiles.rb +7 -7
- 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 +21 -0
- data/rbi/anthropic/helpers/tools/runner.rbi +29 -0
- data/rbi/anthropic/models/anthropic_beta.rbi +7 -0
- data/rbi/anthropic/models/beta/agent_archive_params.rbi +14 -0
- data/rbi/anthropic/models/beta/agent_create_params.rbi +13 -1
- data/rbi/anthropic/models/beta/agent_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/agent_retrieve_params.rbi +14 -0
- data/rbi/anthropic/models/beta/agent_update_params.rbi +15 -1
- data/rbi/anthropic/models/beta/agents/version_list_params.rbi +14 -0
- 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_compaction_block.rbi +124 -1
- data/rbi/anthropic/models/beta/beta_compaction_block_param.rbi +132 -1
- data/rbi/anthropic/models/beta/beta_content_block.rbi +28 -4
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +38 -4
- 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 +4 -3
- data/rbi/anthropic/models/beta/beta_document_block.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_dream.rbi +103 -14
- data/rbi/anthropic/models/beta/beta_dream_error.rbi +16 -1
- data/rbi/anthropic/models/beta/beta_dream_input.rbi +19 -2
- data/rbi/anthropic/models/beta/beta_dream_memory_store_input.rbi +16 -4
- data/rbi/anthropic/models/beta/beta_dream_memory_store_output.rbi +13 -2
- data/rbi/anthropic/models/beta/beta_dream_model_config.rbi +8 -4
- data/rbi/anthropic/models/beta/beta_dream_model_config_param.rbi +15 -3
- data/rbi/anthropic/models/beta/beta_dream_output.rbi +13 -2
- data/rbi/anthropic/models/beta/beta_dream_sessions_input.rbi +21 -2
- data/rbi/anthropic/models/beta/beta_dream_status.rbi +25 -1
- data/rbi/anthropic/models/beta/beta_dream_usage.rbi +20 -9
- data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +6 -5
- 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.rbi +7 -0
- 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_mcp_tool.rbi +52 -0
- data/rbi/anthropic/models/beta/beta_mcp_tool_listing_block.rbi +53 -0
- data/rbi/anthropic/models/beta/beta_mcp_tool_listing_block_param.rbi +62 -0
- data/rbi/anthropic/models/beta/beta_mcp_tool_param.rbi +62 -0
- data/rbi/anthropic/models/beta/beta_mcp_toolset.rbi +16 -1
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_message.rbi +6 -5
- data/rbi/anthropic/models/beta/beta_output_behavior.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_output_behavior_create_new.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_output_behavior_update_existing.rbi +15 -4
- 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 +31 -5
- data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +3 -2
- data/rbi/anthropic/models/beta/beta_request_document_block.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +56 -10
- data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_response_tool.rbi +255 -0
- data/rbi/anthropic/models/beta/beta_response_tool_addition_block.rbi +182 -0
- data/rbi/anthropic/models/beta/beta_response_tool_change_mcp_tool_reference.rbi +46 -0
- data/rbi/anthropic/models/beta/beta_response_tool_change_mcp_toolset_reference.rbi +38 -0
- data/rbi/anthropic/models/beta/beta_response_tool_change_tool_reference.rbi +38 -0
- data/rbi/anthropic/models/beta/beta_response_tool_input_schema.rbi +54 -0
- data/rbi/anthropic/models/beta/beta_response_tool_removal_block.rbi +139 -0
- data/rbi/anthropic/models/beta/beta_response_tool_union.rbi +55 -0
- 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_target_store_held_error.rbi +14 -11
- 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_change_tool_definition.rbi +78 -0
- data/rbi/anthropic/models/beta/beta_tool_change_tool_definition_param.rbi +141 -0
- data/rbi/anthropic/models/beta/beta_tool_change_tool_reference.rbi +3 -2
- 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_user_profile.rbi +10 -0
- data/rbi/anthropic/models/beta/beta_user_profile_enrollment_url.rbi +2 -0
- data/rbi/anthropic/models/beta/beta_user_profile_external_user_details.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_user_profile_external_user_details_params.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_user_profile_trust_grant.rbi +2 -0
- 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_archive_params.rbi +14 -0
- data/rbi/anthropic/models/beta/deployment_create_params.rbi +14 -1
- data/rbi/anthropic/models/beta/deployment_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/deployment_pause_params.rbi +14 -0
- data/rbi/anthropic/models/beta/deployment_retrieve_params.rbi +14 -0
- data/rbi/anthropic/models/beta/deployment_run_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/deployment_run_params.rbi +14 -0
- data/rbi/anthropic/models/beta/deployment_run_retrieve_params.rbi +14 -0
- data/rbi/anthropic/models/beta/deployment_unpause_params.rbi +14 -0
- data/rbi/anthropic/models/beta/deployment_update_params.rbi +16 -1
- data/rbi/anthropic/models/beta/dream_archive_params.rbi +14 -0
- data/rbi/anthropic/models/beta/dream_cancel_params.rbi +14 -0
- data/rbi/anthropic/models/beta/dream_create_params.rbi +56 -0
- data/rbi/anthropic/models/beta/dream_list_params.rbi +36 -18
- data/rbi/anthropic/models/beta/dream_retrieve_params.rbi +14 -0
- data/rbi/anthropic/models/beta/environment_archive_params.rbi +12 -0
- data/rbi/anthropic/models/beta/environment_create_params.rbi +14 -1
- data/rbi/anthropic/models/beta/environment_delete_params.rbi +12 -0
- data/rbi/anthropic/models/beta/environment_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/environment_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/environment_update_params.rbi +14 -1
- data/rbi/anthropic/models/beta/environments/work_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/environments/work_stats_params.rbi +12 -0
- data/rbi/anthropic/models/beta/environments/work_stop_params.rbi +12 -0
- data/rbi/anthropic/models/beta/environments/work_update_params.rbi +12 -0
- data/rbi/anthropic/models/beta/file_delete_params.rbi +12 -0
- data/rbi/anthropic/models/beta/file_download_params.rbi +12 -0
- data/rbi/anthropic/models/beta/file_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/file_retrieve_metadata_params.rbi +12 -0
- data/rbi/anthropic/models/beta/file_upload_params.rbi +12 -0
- data/rbi/anthropic/models/beta/memory_store_archive_params.rbi +18 -0
- data/rbi/anthropic/models/beta/memory_store_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/memory_store_delete_params.rbi +18 -0
- data/rbi/anthropic/models/beta/memory_store_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/memory_store_retrieve_params.rbi +16 -0
- data/rbi/anthropic/models/beta/memory_store_update_params.rbi +18 -0
- 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 +9 -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_path_conflict_error.rbi +23 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbi +16 -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/memory_stores/memory_create_params.rbi +24 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_delete_params.rbi +26 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_retrieve_params.rbi +26 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_update_params.rbi +26 -2
- data/rbi/anthropic/models/beta/memory_stores/memory_version_list_params.rbi +46 -16
- data/rbi/anthropic/models/beta/memory_stores/memory_version_redact_params.rbi +16 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rbi +26 -2
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +12 -0
- data/rbi/anthropic/models/beta/message_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_cancel_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_delete_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_results_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/beta_message_batch_result.rbi +2 -1
- data/rbi/anthropic/models/beta/model_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/model_retrieve_params.rbi +12 -0
- 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_archive_params.rbi +12 -0
- data/rbi/anthropic/models/beta/session_create_params.rbi +16 -2
- data/rbi/anthropic/models/beta/session_delete_params.rbi +12 -0
- data/rbi/anthropic/models/beta/session_list_params.rbi +19 -0
- data/rbi/anthropic/models/beta/session_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/session_update_params.rbi +12 -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_evaluated_permission.rbi +49 -0
- 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_mcp_tool_use_event.rbi +4 -44
- 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_agent_tool_use_event.rbi +4 -44
- 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 +3 -5
- 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 +5 -7
- 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 +3 -5
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +3 -5
- 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/event_list_params.rbi +12 -2
- data/rbi/anthropic/models/beta/sessions/event_send_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/event_stream_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/resource_add_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/resource_delete_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/resource_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/resource_update_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/thread_archive_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/thread_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/thread_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/sessions/threads/event_list_params.rbi +12 -4
- data/rbi/anthropic/models/beta/sessions/threads/event_stream_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skill_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skill_delete_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skill_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skill_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skills/version_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skills/version_delete_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skills/version_download_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skills/version_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/skills/version_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/tunnel_archive_params.rbi +14 -0
- data/rbi/anthropic/models/beta/tunnel_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/tunnel_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/tunnel_retrieve_params.rbi +14 -0
- data/rbi/anthropic/models/beta/tunnel_reveal_token_params.rbi +14 -0
- data/rbi/anthropic/models/beta/tunnel_rotate_token_params.rbi +14 -0
- data/rbi/anthropic/models/beta/tunnels/certificate_archive_params.rbi +16 -0
- data/rbi/anthropic/models/beta/tunnels/certificate_create_params.rbi +14 -0
- data/rbi/anthropic/models/beta/tunnels/certificate_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/tunnels/certificate_retrieve_params.rbi +16 -0
- data/rbi/anthropic/models/beta/user_profile_create_enrollment_url_params.rbi +14 -0
- data/rbi/anthropic/models/beta/user_profile_create_params.rbi +15 -0
- data/rbi/anthropic/models/beta/user_profile_list_params.rbi +40 -10
- data/rbi/anthropic/models/beta/user_profile_retrieve_params.rbi +14 -0
- data/rbi/anthropic/models/beta/user_profile_update_params.rbi +17 -0
- data/rbi/anthropic/models/beta/vault_archive_params.rbi +14 -0
- data/rbi/anthropic/models/beta/vault_create_params.rbi +12 -0
- data/rbi/anthropic/models/beta/vault_delete_params.rbi +14 -0
- data/rbi/anthropic/models/beta/vault_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/vault_retrieve_params.rbi +14 -0
- data/rbi/anthropic/models/beta/vault_update_params.rbi +14 -0
- 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_archive_params.rbi +16 -0
- data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +16 -1
- data/rbi/anthropic/models/beta/vaults/credential_delete_params.rbi +16 -0
- data/rbi/anthropic/models/beta/vaults/credential_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rbi +16 -0
- data/rbi/anthropic/models/beta/vaults/credential_retrieve_params.rbi +16 -0
- data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +18 -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/completion_create_params.rbi +12 -0
- 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/file_delete_params.rbi +12 -0
- data/rbi/anthropic/models/file_download_params.rbi +12 -0
- data/rbi/anthropic/models/file_list_params.rbi +12 -0
- data/rbi/anthropic/models/file_retrieve_metadata_params.rbi +12 -0
- data/rbi/anthropic/models/file_upload_params.rbi +12 -0
- data/rbi/anthropic/models/image_block_param.rbi +1 -1
- data/rbi/anthropic/models/message_count_tokens_params.rbi +12 -0
- data/rbi/anthropic/models/message_create_params.rbi +12 -0
- data/rbi/anthropic/models/messages/batch_cancel_params.rbi +12 -0
- data/rbi/anthropic/models/messages/batch_create_params.rbi +12 -0
- data/rbi/anthropic/models/messages/batch_delete_params.rbi +12 -0
- data/rbi/anthropic/models/messages/batch_list_params.rbi +12 -0
- data/rbi/anthropic/models/messages/batch_results_params.rbi +12 -0
- data/rbi/anthropic/models/messages/batch_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/messages/message_batch_result.rbi +1 -1
- data/rbi/anthropic/models/model.rbi +4 -0
- data/rbi/anthropic/models/model_list_params.rbi +12 -0
- data/rbi/anthropic/models/model_retrieve_params.rbi +12 -0
- 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/skill_create_params.rbi +12 -0
- data/rbi/anthropic/models/skill_delete_params.rbi +12 -0
- data/rbi/anthropic/models/skill_list_params.rbi +12 -0
- data/rbi/anthropic/models/skill_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/skills/version_create_params.rbi +12 -0
- data/rbi/anthropic/models/skills/version_delete_params.rbi +12 -0
- data/rbi/anthropic/models/skills/version_list_params.rbi +12 -0
- data/rbi/anthropic/models/skills/version_retrieve_params.rbi +12 -0
- 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/dreams.rbi +81 -21
- data/rbi/anthropic/resources/beta/memory_stores/memories.rbi +29 -12
- data/rbi/anthropic/resources/beta/memory_stores/memory_versions.rbi +28 -14
- data/rbi/anthropic/resources/beta/memory_stores.rbi +11 -4
- data/rbi/anthropic/resources/beta/sessions/events.rbi +4 -4
- data/rbi/anthropic/resources/beta/sessions/resources.rbi +8 -8
- data/rbi/anthropic/resources/beta/sessions/threads/events.rbi +6 -6
- data/rbi/anthropic/resources/beta/sessions/threads.rbi +5 -5
- data/rbi/anthropic/resources/beta/sessions.rbi +1 -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/user_profiles.rbi +13 -7
- data/rbi/anthropic/resources/beta/vaults/credentials.rbi +12 -12
- data/rbi/anthropic/resources/beta/vaults.rbi +4 -4
- data/sig/anthropic/models/anthropic_beta.rbs +4 -0
- 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_compaction_block.rbs +44 -2
- data/sig/anthropic/models/beta/beta_compaction_block_param.rbs +47 -2
- data/sig/anthropic/models/beta/beta_content_block.rbs +15 -3
- data/sig/anthropic/models/beta/beta_content_block_param.rbs +15 -2
- 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 +17 -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.rbs +5 -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_mcp_tool.rbs +32 -0
- data/sig/anthropic/models/beta/beta_mcp_tool_listing_block.rbs +34 -0
- data/sig/anthropic/models/beta/beta_mcp_tool_listing_block_param.rbs +34 -0
- data/sig/anthropic/models/beta/beta_mcp_tool_param.rbs +34 -0
- data/sig/anthropic/models/beta/beta_mcp_toolset.rbs +7 -2
- 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 +16 -3
- 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 +14 -3
- data/sig/anthropic/models/beta/beta_request_tool_removal_block.rbs +2 -1
- data/sig/anthropic/models/beta/beta_response_tool.rbs +105 -0
- data/sig/anthropic/models/beta/beta_response_tool_addition_block.rbs +84 -0
- data/sig/anthropic/models/beta/beta_response_tool_change_mcp_tool_reference.rbs +30 -0
- data/sig/anthropic/models/beta/beta_response_tool_change_mcp_toolset_reference.rbs +23 -0
- data/sig/anthropic/models/beta/beta_response_tool_change_tool_reference.rbs +20 -0
- data/sig/anthropic/models/beta/beta_response_tool_input_schema.rbs +34 -0
- data/sig/anthropic/models/beta/beta_response_tool_removal_block.rbs +74 -0
- data/sig/anthropic/models/beta/beta_response_tool_union.rbs +43 -0
- 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_change_tool_definition.rbs +29 -0
- data/sig/anthropic/models/beta/beta_tool_change_tool_definition_param.rbs +29 -0
- 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_user_profile.rbs +3 -0
- data/sig/anthropic/models/beta/beta_user_profile_external_user_details.rbs +5 -0
- data/sig/anthropic/models/beta/beta_user_profile_external_user_details_params.rbs +5 -0
- 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_evaluated_permission.rbs +20 -0
- 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_mcp_tool_use_event.rbs +6 -18
- 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_agent_tool_use_event.rbs +6 -18
- 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 +5 -5
- 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 +5 -5
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +5 -5
- 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/user_profile_create_params.rbs +3 -0
- data/sig/anthropic/models/beta/user_profile_list_params.rbs +6 -0
- data/sig/anthropic/models/beta/user_profile_update_params.rbs +3 -0
- 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/model.rbs +4 -0
- 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 +65 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0814f7989dfdce90cdc7535edcba2765bcbb40ed802424357334ff1087e860e
|
|
4
|
+
data.tar.gz: b3eef636f0f74f2d42c8d56c784461214c2575616afc4fbf5750f95affb325a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0668735fb6de38f7ca8f71985eb642a7ec67b770317604c6a4bbfd5685a57aa6c4caf3c919b6571247c99ba51bdf6419ce59329b1e4ae6070ad271a8e7559fe4'
|
|
7
|
+
data.tar.gz: 237c52d786dbfe007938ad70ec8c54e888fad60bcab49c0f2eb48b4ad082252ddd2fbc76c65e7b777385efd0fe89775bf3c9f9e7dcc82ddc4847ceb1bf130930
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.73.0 (2026-09-22)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.72.0...v1.73.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.72.0...v1.73.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add support for claude-opus-5-5, inline tool definitions and MCP tool-list pinning (beta) ([b68ad25](https://github.com/anthropics/anthropic-sdk-ruby/commit/b68ad25d7e21c929b0a2309ba5c8ecc48f09fcfa))
|
|
10
|
+
* **tools:** add compact_before_next_turn() to the tool runner ([#258](https://github.com/anthropics/anthropic-sdk-ruby/issues/258)) ([adccb26](https://github.com/anthropics/anthropic-sdk-ruby/commit/adccb26c933e2057794f903e41308d65108ecaff))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **api:** share one evaluated_permission enum across Managed Agents events ([5cea62a](https://github.com/anthropics/anthropic-sdk-ruby/commit/5cea62a855bec9f4cc991b2309b6934b9db987bf))
|
|
16
|
+
* **tools:** add_tools takes effect straight away ([#269](https://github.com/anthropics/anthropic-sdk-ruby/issues/269)) ([289bfad](https://github.com/anthropics/anthropic-sdk-ruby/commit/289bfad23d1d26d0b86006f9aca7a624f8a86ce6))
|
|
17
|
+
* **tools:** leave reply-only params off the tool runner's compaction request ([#267](https://github.com/anthropics/anthropic-sdk-ruby/issues/267)) ([5a1d7d2](https://github.com/anthropics/anthropic-sdk-ruby/commit/5a1d7d2352e7e4f65c312219c7a5695187ea2926))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* **ci:** give the lint and breaking-change detection jobs more time ([59fc172](https://github.com/anthropics/anthropic-sdk-ruby/commit/59fc172c0f462de5743e947b6ec3c4708a5aac58))
|
|
23
|
+
* **docs:** add descriptions to the Dreams API reference ([cfc7239](https://github.com/anthropics/anthropic-sdk-ruby/commit/cfc7239c607941094a470586342ed77cee41d75c))
|
|
24
|
+
* **docs:** add descriptions to the User Profiles API reference ([cfc7239](https://github.com/anthropics/anthropic-sdk-ruby/commit/cfc7239c607941094a470586342ed77cee41d75c))
|
|
25
|
+
* **docs:** add memory store descriptions to the Managed Agents API reference ([cfc7239](https://github.com/anthropics/anthropic-sdk-ruby/commit/cfc7239c607941094a470586342ed77cee41d75c))
|
|
26
|
+
* **docs:** improve descriptions in the Dreams API reference ([54a81a7](https://github.com/anthropics/anthropic-sdk-ruby/commit/54a81a7c9f7fce043fafb342014144bf2a1bf050))
|
|
27
|
+
* **docs:** simplify the session thread agent type description ([23d1d44](https://github.com/anthropics/anthropic-sdk-ruby/commit/23d1d4418dcf305366c48f144756071f173f909b))
|
|
28
|
+
* **docs:** update diagnostics field descriptions on beta messages ([678a792](https://github.com/anthropics/anthropic-sdk-ruby/commit/678a7923359f8de6be74cffd9bbd1123df5e2cb9))
|
|
29
|
+
* **internal:** let the typecheck task use every core, up to 16 ([f0ac300](https://github.com/anthropics/anthropic-sdk-ruby/commit/f0ac30052d083a8bf95c66a7c98a80985649c70d))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Documentation
|
|
33
|
+
|
|
34
|
+
* add path and header parameter descriptions ([d458058](https://github.com/anthropics/anthropic-sdk-ruby/commit/d458058bfe901b540f5b346af63926d344c253dd))
|
|
35
|
+
|
|
36
|
+
## 1.72.0 (2026-09-18)
|
|
37
|
+
|
|
38
|
+
Full Changelog: [v1.71.0...v1.72.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.71.0...v1.72.0)
|
|
39
|
+
|
|
40
|
+
### Features
|
|
41
|
+
|
|
42
|
+
* **api:** add group with display_name to rate limits, deprecate group_type ([8155b1d](https://github.com/anthropics/anthropic-sdk-ruby/commit/8155b1d0d17408a7ca0b04e774d5ff087d9aa438))
|
|
43
|
+
* **ruby:** accept the discriminator enum in union .new signatures ([f31077a](https://github.com/anthropics/anthropic-sdk-ruby/commit/f31077a956e382b5453fbde900b8f03641bd8cbb))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* **bedrock:** skip typeless chunks and raise on event-stream error frames ([#254](https://github.com/anthropics/anthropic-sdk-ruby/issues/254)) ([ae8f6e2](https://github.com/anthropics/anthropic-sdk-ruby/commit/ae8f6e2296396528ff52249f3049fffb3b176434))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Chores
|
|
52
|
+
|
|
53
|
+
* **docs:** add descriptions for enum values and path parameters ([929b51e](https://github.com/anthropics/anthropic-sdk-ruby/commit/929b51ebe061ef833b593f03b912c08a021be7ca))
|
|
54
|
+
* **docs:** clarify the compaction tool_changes and tool change descriptions ([4bc6c5f](https://github.com/anthropics/anthropic-sdk-ruby/commit/4bc6c5f7c0c8cf4a98277ee74ca04c9a46ef2864))
|
|
55
|
+
* **internal:** update CLAUDE.md branch guidance ([#261](https://github.com/anthropics/anthropic-sdk-ruby/issues/261)) ([1931e53](https://github.com/anthropics/anthropic-sdk-ruby/commit/1931e537da142e3b6f33aa6ea2781c8f8659375c))
|
|
56
|
+
|
|
3
57
|
## 1.71.0 (2026-09-15)
|
|
4
58
|
|
|
5
59
|
Full Changelog: [v1.70.0...v1.71.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.70.0...v1.71.0)
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Add to your application's Gemfile:
|
|
|
15
15
|
<!-- x-release-please-start-version -->
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
gem "anthropic", "~> 1.
|
|
18
|
+
gem "anthropic", "~> 1.73.0"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
<!-- x-release-please-end -->
|
|
@@ -33,7 +33,7 @@ anthropic = Anthropic::Client.new(
|
|
|
33
33
|
message = anthropic.messages.create(
|
|
34
34
|
max_tokens: 1024,
|
|
35
35
|
messages: [{role: "user", content: "Hello, Claude"}],
|
|
36
|
-
model: "claude-opus-
|
|
36
|
+
model: "claude-opus-5-5"
|
|
37
37
|
)
|
|
38
38
|
|
|
39
39
|
puts(message.content)
|
|
@@ -61,8 +61,10 @@ module Anthropic
|
|
|
61
61
|
#
|
|
62
62
|
# `:message-type: event` frames carry a JSON payload
|
|
63
63
|
# `{"bytes": "<base64>"}` wrapping the Anthropic event; emit it as
|
|
64
|
-
# an `event:`/`data:` pair
|
|
65
|
-
#
|
|
64
|
+
# an `event:`/`data:` pair, skipping chunks with no `type`.
|
|
65
|
+
# `:message-type: exception` frames (error payload plus an
|
|
66
|
+
# `:exception-type` header) and `:message-type: error` frames
|
|
67
|
+
# (`:error-code`/`:error-message` headers) are re-emitted as the same
|
|
66
68
|
# `event: error` / `data: {"type":"error",...}` SSE shape the API
|
|
67
69
|
# would have sent, so the stream consumer's existing error path fires.
|
|
68
70
|
#
|
|
@@ -74,13 +76,21 @@ module Anthropic
|
|
|
74
76
|
in "event"
|
|
75
77
|
payload = JSON.parse(msg.payload.read, symbolize_names: true)
|
|
76
78
|
inner = Base64.decode64(payload.fetch(:bytes))
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
case JSON.parse(inner, symbolize_names: true)
|
|
80
|
+
in {type: String => type}
|
|
81
|
+
y << "event: #{type}\ndata: #{inner}\n\n"
|
|
82
|
+
else
|
|
83
|
+
end
|
|
79
84
|
in "exception"
|
|
80
85
|
exc_type = msg.headers[":exception-type"]&.value
|
|
81
86
|
body = msg.payload.read
|
|
82
87
|
data = JSON.generate(type: "error", error: {type: exc_type, message: body})
|
|
83
88
|
y << "event: error\ndata: #{data}\n\n"
|
|
89
|
+
in "error"
|
|
90
|
+
code = msg.headers[":error-code"]&.value
|
|
91
|
+
message = msg.headers[":error-message"]&.value
|
|
92
|
+
data = JSON.generate(type: "error", error: {type: code, message: message})
|
|
93
|
+
y << "event: error\ndata: #{data}\n\n"
|
|
84
94
|
else
|
|
85
95
|
# Unknown message-type — drop. AWS may add prelude/metadata frames.
|
|
86
96
|
end
|
|
@@ -35,54 +35,29 @@ module Anthropic
|
|
|
35
35
|
|
|
36
36
|
case data
|
|
37
37
|
in {tools: Array => tool_array}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
definition.tap { _1.update(strict:) if strict }
|
|
56
|
-
# Input schema class used directly as a tool:
|
|
57
|
-
in Anthropic::Helpers::InputSchema::JsonSchemaConverter
|
|
58
|
-
name = model_name(tool.name)
|
|
59
|
-
|
|
60
|
-
description =
|
|
61
|
-
case tool
|
|
62
|
-
in Class if tool <= Anthropic::Helpers::InputSchema::BaseModel
|
|
63
|
-
tool.doc_string || name
|
|
38
|
+
tool_array.replace(tool_array.map { tool_to_param(_1, tools:, strict:) })
|
|
39
|
+
else
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# A `tool_addition` block defines a tool by value, in the shape of a `tools` entry.
|
|
43
|
+
case data
|
|
44
|
+
in {messages: Array => messages}
|
|
45
|
+
messages.each do |message|
|
|
46
|
+
case message
|
|
47
|
+
in {role: :system | "system", content: Array => blocks}
|
|
48
|
+
blocks.each do |block|
|
|
49
|
+
case block
|
|
50
|
+
in {
|
|
51
|
+
type: :tool_addition | "tool_addition",
|
|
52
|
+
tool: {type: :tool_definition | "tool_definition", definition:} => tool
|
|
53
|
+
}
|
|
54
|
+
tool.store(:definition, tool_to_param(definition, tools:, strict:))
|
|
64
55
|
else
|
|
65
|
-
name
|
|
66
56
|
end
|
|
67
|
-
|
|
68
|
-
tools.store(name, tool)
|
|
69
|
-
input_schema = Anthropic::Helpers::InputSchema::JsonSchemaConverter.to_json_schema(tool)
|
|
70
|
-
{name:, description:, input_schema:}.tap { _1.update(strict:) if strict }
|
|
71
|
-
# Tool with explicit name/description and BaseModel as input_schema:
|
|
72
|
-
in {name: String => name,
|
|
73
|
-
input_schema: Anthropic::Helpers::InputSchema::JsonSchemaConverter => tool,
|
|
74
|
-
**rest}
|
|
75
|
-
tools.store(name, tool)
|
|
76
|
-
input_schema = Anthropic::Helpers::InputSchema::JsonSchemaConverter.to_json_schema(tool)
|
|
77
|
-
rest.merge(name:, input_schema:).tap { _1.update(strict:) if strict }
|
|
57
|
+
end
|
|
78
58
|
else
|
|
79
|
-
# Any other format (pass through unchanged)
|
|
80
|
-
# This includes raw JSON schemas and any other tool definitions.
|
|
81
|
-
tool
|
|
82
59
|
end
|
|
83
60
|
end
|
|
84
|
-
# rubocop:enable Metrics/BlockLength
|
|
85
|
-
tool_array.replace(mapped)
|
|
86
61
|
else
|
|
87
62
|
end
|
|
88
63
|
|
|
@@ -212,6 +187,64 @@ module Anthropic
|
|
|
212
187
|
data[:betas] = data[:betas].to_a.dup.push("structured-outputs-2025-12-15").uniq
|
|
213
188
|
end
|
|
214
189
|
|
|
190
|
+
# @api private
|
|
191
|
+
#
|
|
192
|
+
# Convert one tool in any of the forms the helpers accept into a plain tool definition,
|
|
193
|
+
# recording under its name what `tool_use.input` is parsed back into.
|
|
194
|
+
#
|
|
195
|
+
# @param tool [Object]
|
|
196
|
+
#
|
|
197
|
+
# @param tools [Hash{String=>Class}]
|
|
198
|
+
#
|
|
199
|
+
# @param strict [Boolean, nil]
|
|
200
|
+
#
|
|
201
|
+
# @return [Object]
|
|
202
|
+
private def tool_to_param(tool, tools:, strict:)
|
|
203
|
+
case tool
|
|
204
|
+
# Runnable tool instance (an `Anthropic::BaseTool` subclass, hand-written or helper-built):
|
|
205
|
+
in Anthropic::Helpers::Tools::BaseTool
|
|
206
|
+
name = tool_api_name(tool)
|
|
207
|
+
# Helper-built tools (e.g. MCP) declare an explicit `tool_name` and only send the
|
|
208
|
+
# description they were given; hand-written tools fall back to their name.
|
|
209
|
+
description = tool.class.doc_string
|
|
210
|
+
description ||= name unless tool.class.tool_name
|
|
211
|
+
tools.store(name, tool)
|
|
212
|
+
input_schema = Anthropic::Helpers::InputSchema::JsonSchemaConverter.to_json_schema(tool)
|
|
213
|
+
# On a clash the derived keys win, so nothing in `tool_options` can shadow them.
|
|
214
|
+
definition =
|
|
215
|
+
{name:, description:, input_schema:}
|
|
216
|
+
.merge(tool.class.tool_options) { |_key, derived, _option| derived }
|
|
217
|
+
.compact
|
|
218
|
+
definition.tap { _1.update(strict:) if strict }
|
|
219
|
+
# Input schema class used directly as a tool:
|
|
220
|
+
in Anthropic::Helpers::InputSchema::JsonSchemaConverter
|
|
221
|
+
name = model_name(tool.name)
|
|
222
|
+
|
|
223
|
+
description =
|
|
224
|
+
case tool
|
|
225
|
+
in Class if tool <= Anthropic::Helpers::InputSchema::BaseModel
|
|
226
|
+
tool.doc_string || name
|
|
227
|
+
else
|
|
228
|
+
name
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
tools.store(name, tool)
|
|
232
|
+
input_schema = Anthropic::Helpers::InputSchema::JsonSchemaConverter.to_json_schema(tool)
|
|
233
|
+
{name:, description:, input_schema:}.tap { _1.update(strict:) if strict }
|
|
234
|
+
# Tool with explicit name/description and BaseModel as input_schema:
|
|
235
|
+
in {name: String => name,
|
|
236
|
+
input_schema: Anthropic::Helpers::InputSchema::JsonSchemaConverter => model,
|
|
237
|
+
**rest}
|
|
238
|
+
tools.store(name, model)
|
|
239
|
+
input_schema = Anthropic::Helpers::InputSchema::JsonSchemaConverter.to_json_schema(model)
|
|
240
|
+
rest.merge(name:, input_schema:).tap { _1.update(strict:) if strict }
|
|
241
|
+
else
|
|
242
|
+
# Any other format (pass through unchanged)
|
|
243
|
+
# This includes raw JSON schemas and any other tool definitions.
|
|
244
|
+
tool
|
|
245
|
+
end
|
|
246
|
+
end
|
|
247
|
+
|
|
215
248
|
# @api private
|
|
216
249
|
#
|
|
217
250
|
# The `name` a runnable tool is serialized under in `tools[]`.
|