anthropic 1.72.0 → 1.74.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 +68 -0
- data/README.md +2 -2
- data/lib/anthropic/helpers/messages.rb +76 -43
- data/lib/anthropic/helpers/refusal_fallback.rb +19 -5
- data/lib/anthropic/helpers/tools/runner.rb +319 -143
- data/lib/anthropic/internal/transport/base_client.rb +3 -0
- data/lib/anthropic/internal/type/file_input.rb +2 -3
- 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 +12 -6
- 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 +14 -7
- data/lib/anthropic/models/beta/agents/version_list_params.rb +12 -2
- data/lib/anthropic/models/beta/beta_browser_toolset_20260801.rb +3 -6
- data/lib/anthropic/models/beta/beta_cache_miss_reason.rb +77 -0
- data/lib/anthropic/models/beta/beta_cloud_config_params.rb +4 -9
- 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_computer_toolset_20260801.rb +3 -6
- data/lib/anthropic/models/beta/beta_content_block.rb +17 -2
- data/lib/anthropic/models/beta/beta_content_block_param.rb +30 -11
- data/lib/anthropic/models/beta/beta_context_management_capability.rb +6 -6
- data/lib/anthropic/models/beta/beta_diagnostics.rb +3 -81
- data/lib/anthropic/models/beta/beta_dream.rb +72 -26
- data/lib/anthropic/models/beta/beta_dream_error.rb +12 -2
- data/lib/anthropic/models/beta/beta_dream_input.rb +10 -4
- 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 +10 -11
- data/lib/anthropic/models/beta/beta_dream_model_config_param.rb +16 -10
- data/lib/anthropic/models/beta/beta_dream_output.rb +11 -2
- data/lib/anthropic/models/beta/beta_dream_sessions_input.rb +14 -2
- data/lib/anthropic/models/beta/beta_dream_status.rb +11 -2
- data/lib/anthropic/models/beta/beta_dream_usage.rb +22 -9
- data/lib/anthropic/models/beta/beta_dreaming_error.rb +4 -2
- data/lib/anthropic/models/beta/beta_effort_capability.rb +2 -2
- data/lib/anthropic/models/beta/beta_fallback_param.rb +10 -5
- data/lib/anthropic/models/beta/beta_fallback_refusal_trigger.rb +10 -3
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +4 -4
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_budget_limit.rb +6 -2
- data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule.rb +3 -2
- data/lib/anthropic/models/beta/beta_managed_agents_custom_tool_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_delta_content.rb +3 -2
- data/lib/anthropic/models/beta/beta_managed_agents_deployment.rb +21 -17
- 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_run.rb +12 -11
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +3 -3
- 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_params.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store.rb +9 -6
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +11 -1
- data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +11 -9
- data/lib/anthropic/models/beta/beta_managed_agents_model_config_params.rb +3 -7
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb +3 -2
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_schedule.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb +1 -2
- data/lib/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rb +8 -2
- data/lib/anthropic/models/beta/beta_managed_agents_session.rb +8 -9
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_updated_event.rb +10 -8
- data/lib/anthropic/models/beta/beta_managed_agents_session_usage.rb +8 -6
- data/lib/anthropic/models/beta/beta_managed_agents_session_usage_event.rb +7 -7
- data/lib/anthropic/models/beta/beta_managed_agents_system_content_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +4 -1
- data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +4 -4
- data/lib/anthropic/models/beta/beta_managed_agents_vault.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +5 -3
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +5 -3
- 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_message.rb +13 -10
- data/lib/anthropic/models/beta/beta_message_delta_usage.rb +4 -0
- data/lib/anthropic/models/beta/beta_message_param.rb +3 -3
- data/lib/anthropic/models/beta/beta_model_capabilities.rb +3 -4
- data/lib/anthropic/models/beta/beta_model_info.rb +3 -2
- data/lib/anthropic/models/beta/beta_output_behavior.rb +12 -3
- 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_output_config.rb +11 -5
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +19 -4
- data/lib/anthropic/models/beta/beta_raw_message_delta_event.rb +8 -5
- data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_refusal_stop_details.rb +7 -3
- data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +26 -10
- data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +7 -5
- 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_system_message_output_config.rb +12 -3
- data/lib/anthropic/models/beta/beta_target_store_held_error.rb +13 -10
- data/lib/anthropic/models/beta/beta_thinking_block_binding.rb +6 -6
- data/lib/anthropic/models/beta/beta_thinking_config_adaptive.rb +3 -3
- data/lib/anthropic/models/beta/beta_thinking_config_between_tools.rb +19 -0
- data/lib/anthropic/models/beta/beta_thinking_config_enabled.rb +3 -3
- data/lib/anthropic/models/beta/beta_thinking_config_param.rb +8 -3
- 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_tunnel.rb +5 -4
- data/lib/anthropic/models/beta/beta_usage.rb +7 -7
- data/lib/anthropic/models/beta/beta_user_profile.rb +35 -21
- data/lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb +5 -2
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details.rb +18 -18
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb +20 -18
- data/lib/anthropic/models/beta/beta_user_profile_trust_grant.rb +3 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20250910.rb +3 -7
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260209.rb +3 -7
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260309.rb +3 -7
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260318.rb +3 -7
- data/lib/anthropic/models/beta/deployment_archive_params.rb +12 -2
- data/lib/anthropic/models/beta/deployment_create_params.rb +17 -8
- 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 +19 -9
- 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 +11 -13
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rb +4 -4
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +15 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb +7 -4
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +2 -2
- 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.rb +21 -19
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rb +5 -6
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_service_account_actor.rb +4 -4
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rb +6 -6
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rb +3 -3
- 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 +22 -12
- 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 +23 -18
- data/lib/anthropic/models/beta/message_create_params.rb +27 -21
- data/lib/anthropic/models/beta/messages/batch_cancel_params.rb +10 -1
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +35 -25
- 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/model_list_params.rb +7 -1
- data/lib/anthropic/models/beta/model_retrieve_params.rb +10 -1
- data/lib/anthropic/models/beta/organization/federation/beta_federation_issuer.rb +5 -6
- data/lib/anthropic/models/beta/organization/federation/rule_update_params.rb +4 -8
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +9 -7
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_organization_source.rb +27 -0
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rb +63 -3
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_workspace_source.rb +22 -0
- data/lib/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rb +10 -1
- data/lib/anthropic/models/beta/session_archive_params.rb +10 -1
- data/lib/anthropic/models/beta/session_create_params.rb +14 -6
- data/lib/anthropic/models/beta/session_delete_params.rb +10 -1
- data/lib/anthropic/models/beta/session_list_params.rb +7 -1
- data/lib/anthropic/models/beta/session_retrieve_params.rb +10 -1
- data/lib/anthropic/models/beta/session_update_params.rb +20 -8
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rb +2 -2
- 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 +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rb +14 -24
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rb +1 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rb +2 -8
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rb +14 -24
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb +5 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +9 -9
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event_type.rb +52 -0
- 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 +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +19 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_usage.rb +12 -6
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_usage_snapshot.rb +7 -6
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_usage.rb +5 -7
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rb +5 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +9 -9
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +9 -9
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +4 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +7 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +3 -3
- 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_confirmation_event.rb +5 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/event_list_params.rb +12 -6
- 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/beta_tunnel_certificate.rb +11 -6
- 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 +26 -14
- 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 +21 -15
- 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 +6 -6
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rb +13 -8
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_probe.rb +6 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb +10 -5
- data/lib/anthropic/models/beta/vaults/credential_archive_params.rb +14 -3
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +13 -6
- 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 +17 -7
- data/lib/anthropic/models/browser_toolset_20260801.rb +3 -6
- data/lib/anthropic/models/cache_miss_messages_changed.rb +27 -0
- data/lib/anthropic/models/cache_miss_model_changed.rb +27 -0
- data/lib/anthropic/models/cache_miss_previous_message_not_found.rb +15 -0
- data/lib/anthropic/models/cache_miss_reason.rb +73 -0
- data/lib/anthropic/models/cache_miss_system_changed.rb +27 -0
- data/lib/anthropic/models/cache_miss_tools_changed.rb +27 -0
- data/lib/anthropic/models/cache_miss_unavailable.rb +15 -0
- data/lib/anthropic/models/completion_create_params.rb +10 -1
- data/lib/anthropic/models/computer_toolset_20260801.rb +3 -6
- data/lib/anthropic/models/context_management_capability.rb +6 -6
- data/lib/anthropic/models/diagnostics.rb +25 -0
- data/lib/anthropic/models/diagnostics_param.rb +26 -0
- data/lib/anthropic/models/effort_capability.rb +2 -2
- 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/message.rb +18 -6
- data/lib/anthropic/models/message_count_tokens_params.rb +9 -3
- data/lib/anthropic/models/message_create_params.rb +20 -4
- data/lib/anthropic/models/messages/batch_cancel_params.rb +10 -1
- data/lib/anthropic/models/messages/batch_create_params.rb +28 -8
- 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/model.rb +11 -1
- data/lib/anthropic/models/model_info.rb +3 -2
- data/lib/anthropic/models/model_list_params.rb +11 -1
- data/lib/anthropic/models/model_retrieve_params.rb +14 -1
- data/lib/anthropic/models/output_config.rb +9 -3
- data/lib/anthropic/models/raw_message_delta_event.rb +8 -5
- data/lib/anthropic/models/refusal_stop_details.rb +7 -3
- 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/thinking_config_between_tools.rb +15 -0
- data/lib/anthropic/models/thinking_config_param.rb +7 -2
- data/lib/anthropic/models/web_fetch_tool_20250910.rb +3 -7
- data/lib/anthropic/models/web_fetch_tool_20260209.rb +3 -7
- data/lib/anthropic/models/web_fetch_tool_20260309.rb +3 -7
- data/lib/anthropic/models/web_fetch_tool_20260318.rb +3 -7
- data/lib/anthropic/models.rb +20 -0
- data/lib/anthropic/resources/beta/agents.rb +2 -2
- data/lib/anthropic/resources/beta/deployments.rb +4 -4
- data/lib/anthropic/resources/beta/dreams.rb +58 -18
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +13 -13
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +15 -14
- data/lib/anthropic/resources/beta/messages.rb +16 -19
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +2 -2
- data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +9 -5
- data/lib/anthropic/resources/beta/sessions/events.rb +5 -5
- 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 +7 -7
- data/lib/anthropic/resources/beta/user_profiles.rb +11 -11
- data/lib/anthropic/resources/beta/vaults/credentials.rb +2 -2
- data/lib/anthropic/resources/messages.rb +12 -6
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +30 -1
- 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 +18 -6
- 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 +20 -6
- data/rbi/anthropic/models/beta/agents/version_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/beta_browser_toolset_20260801.rbi +4 -10
- data/rbi/anthropic/models/beta/beta_cache_miss_reason.rbi +98 -0
- data/rbi/anthropic/models/beta/beta_cloud_config_params.rbi +6 -16
- 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_computer_toolset_20260801.rbi +4 -10
- data/rbi/anthropic/models/beta/beta_content_block.rbi +27 -3
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +37 -3
- data/rbi/anthropic/models/beta/beta_context_management_capability.rbi +6 -6
- data/rbi/anthropic/models/beta/beta_diagnostics.rbi +4 -113
- data/rbi/anthropic/models/beta/beta_dream.rbi +105 -21
- data/rbi/anthropic/models/beta/beta_dream_error.rbi +16 -1
- data/rbi/anthropic/models/beta/beta_dream_input.rbi +18 -1
- 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 +11 -13
- data/rbi/anthropic/models/beta/beta_dream_model_config_param.rbi +24 -12
- data/rbi/anthropic/models/beta/beta_dream_output.rbi +14 -2
- data/rbi/anthropic/models/beta/beta_dream_sessions_input.rbi +21 -2
- data/rbi/anthropic/models/beta/beta_dream_status.rbi +11 -2
- data/rbi/anthropic/models/beta/beta_dream_usage.rbi +20 -9
- data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_effort_capability.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_fallback_param.rbi +11 -2
- data/rbi/anthropic/models/beta/beta_fallback_refusal_trigger.rbi +9 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_budget_limit.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_tool_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_delta_content.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment.rbi +26 -18
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +14 -12
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +3 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbi +3 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbi +3 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store.rbi +12 -6
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +15 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_model_config.rbi +15 -12
- data/rbi/anthropic/models/beta/beta_managed_agents_model_config_params.rbi +3 -9
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule_params.rbi +1 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rbi +6 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +8 -10
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent_update.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_session_updated_event.rbi +14 -10
- data/rbi/anthropic/models/beta/beta_managed_agents_session_usage.rbi +10 -6
- data/rbi/anthropic/models/beta/beta_managed_agents_session_usage_event.rbi +8 -8
- data/rbi/anthropic/models/beta/beta_managed_agents_system_content_block.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_system_message_event.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_trigger_context.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_vault.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +6 -3
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +6 -3
- 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_message.rbi +18 -11
- data/rbi/anthropic/models/beta/beta_message_delta_usage.rbi +8 -0
- data/rbi/anthropic/models/beta/beta_model_capabilities.rbi +4 -6
- data/rbi/anthropic/models/beta/beta_model_info.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_output_behavior.rbi +9 -1
- 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_output_config.rbi +14 -5
- data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +29 -4
- data/rbi/anthropic/models/beta/beta_raw_message_delta_event.rbi +12 -6
- data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_refusal_stop_details.rbi +9 -3
- data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +54 -9
- data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +3 -2
- 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_system_message_output_config.rbi +12 -3
- data/rbi/anthropic/models/beta/beta_target_store_held_error.rbi +14 -11
- data/rbi/anthropic/models/beta/beta_thinking_block_binding.rbi +10 -10
- data/rbi/anthropic/models/beta/beta_thinking_config_adaptive.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_thinking_config_between_tools.rbi +30 -0
- data/rbi/anthropic/models/beta/beta_thinking_config_enabled.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_thinking_config_param.rbi +8 -2
- 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_tunnel.rbi +6 -4
- data/rbi/anthropic/models/beta/beta_usage.rbi +11 -9
- data/rbi/anthropic/models/beta/beta_user_profile.rbi +45 -27
- data/rbi/anthropic/models/beta/beta_user_profile_enrollment_url.rbi +4 -2
- data/rbi/anthropic/models/beta/beta_user_profile_external_user_details.rbi +21 -23
- data/rbi/anthropic/models/beta/beta_user_profile_external_user_details_params.rbi +25 -23
- data/rbi/anthropic/models/beta/beta_user_profile_trust_grant.rbi +2 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20250910.rbi +4 -12
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260209.rbi +4 -12
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260309.rbi +4 -12
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260318.rbi +4 -12
- data/rbi/anthropic/models/beta/deployment_archive_params.rbi +14 -0
- data/rbi/anthropic/models/beta/deployment_create_params.rbi +28 -9
- 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 +30 -9
- 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 +15 -8
- 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 +15 -8
- 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 +8 -11
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +7 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbi +10 -4
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbi +5 -2
- 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.rbi +32 -28
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbi +5 -6
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_service_account_actor.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbi +7 -8
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbi +3 -3
- 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 +34 -14
- 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 +40 -25
- data/rbi/anthropic/models/beta/message_create_params.rbi +44 -27
- data/rbi/anthropic/models/beta/messages/batch_cancel_params.rbi +12 -0
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +58 -33
- 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/model_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/model_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/organization/federation/beta_federation_issuer.rbi +8 -10
- data/rbi/anthropic/models/beta/organization/federation/rule_update_params.rbi +4 -12
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +12 -8
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_organization_source.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rbi +99 -3
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_workspace_source.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rbi +13 -0
- data/rbi/anthropic/models/beta/session_archive_params.rbi +12 -0
- data/rbi/anthropic/models/beta/session_create_params.rbi +23 -6
- data/rbi/anthropic/models/beta/session_delete_params.rbi +12 -0
- data/rbi/anthropic/models/beta/session_list_params.rbi +12 -0
- data/rbi/anthropic/models/beta/session_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/beta/session_update_params.rbi +34 -10
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbi +2 -2
- 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 +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbi +22 -54
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbi +1 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rbi +2 -6
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbi +22 -54
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbi +6 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbi +4 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +22 -17
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event_type.rbi +204 -0
- 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 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +22 -18
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_usage.rbi +18 -6
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_usage_snapshot.rbi +8 -6
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_usage.rbi +6 -9
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rbi +6 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +22 -17
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +22 -17
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +8 -5
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +1 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbi +5 -5
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rbi +3 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +2 -2
- data/rbi/anthropic/models/beta/sessions/event_list_params.rbi +37 -6
- 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/beta_tunnel_certificate.rbi +10 -6
- 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 +39 -17
- 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 +30 -17
- 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 +6 -6
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rbi +10 -8
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rbi +2 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rbi +2 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rbi +2 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_probe.rbi +4 -2
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbi +7 -5
- data/rbi/anthropic/models/beta/vaults/credential_archive_params.rbi +16 -0
- data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +18 -4
- 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 +23 -4
- data/rbi/anthropic/models/browser_toolset_20260801.rbi +4 -10
- data/rbi/anthropic/models/cache_miss_messages_changed.rbi +42 -0
- data/rbi/anthropic/models/cache_miss_model_changed.rbi +39 -0
- data/rbi/anthropic/models/cache_miss_previous_message_not_found.rbi +26 -0
- data/rbi/anthropic/models/cache_miss_reason.rbi +76 -0
- data/rbi/anthropic/models/cache_miss_system_changed.rbi +39 -0
- data/rbi/anthropic/models/cache_miss_tools_changed.rbi +39 -0
- data/rbi/anthropic/models/cache_miss_unavailable.rbi +23 -0
- data/rbi/anthropic/models/completion_create_params.rbi +12 -0
- data/rbi/anthropic/models/computer_toolset_20260801.rbi +4 -10
- data/rbi/anthropic/models/context_management_capability.rbi +6 -6
- data/rbi/anthropic/models/diagnostics.rbi +53 -0
- data/rbi/anthropic/models/diagnostics_param.rbi +39 -0
- data/rbi/anthropic/models/effort_capability.rbi +2 -2
- 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/message.rbi +27 -6
- data/rbi/anthropic/models/message_count_tokens_params.rbi +16 -0
- data/rbi/anthropic/models/message_create_params.rbi +33 -0
- data/rbi/anthropic/models/messages/batch_cancel_params.rbi +12 -0
- data/rbi/anthropic/models/messages/batch_create_params.rbi +49 -6
- 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/model.rbi +9 -1
- data/rbi/anthropic/models/model_info.rbi +4 -2
- data/rbi/anthropic/models/model_list_params.rbi +12 -0
- data/rbi/anthropic/models/model_retrieve_params.rbi +12 -0
- data/rbi/anthropic/models/output_config.rbi +12 -3
- data/rbi/anthropic/models/raw_message_delta_event.rbi +12 -6
- data/rbi/anthropic/models/refusal_stop_details.rbi +9 -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/thinking_config_between_tools.rbi +26 -0
- data/rbi/anthropic/models/thinking_config_param.rbi +6 -0
- data/rbi/anthropic/models/web_fetch_tool_20250910.rbi +4 -12
- data/rbi/anthropic/models/web_fetch_tool_20260209.rbi +4 -12
- data/rbi/anthropic/models/web_fetch_tool_20260309.rbi +4 -12
- data/rbi/anthropic/models/web_fetch_tool_20260318.rbi +4 -12
- data/rbi/anthropic/models.rbi +21 -0
- data/rbi/anthropic/resources/beta/agents.rbi +4 -6
- data/rbi/anthropic/resources/beta/deployments.rbi +14 -8
- data/rbi/anthropic/resources/beta/dreams.rbi +81 -21
- data/rbi/anthropic/resources/beta/memory_stores/memories.rbi +33 -18
- data/rbi/anthropic/resources/beta/memory_stores/memory_versions.rbi +28 -14
- data/rbi/anthropic/resources/beta/messages.rbi +42 -39
- data/rbi/anthropic/resources/beta/organization/federation/rules.rbi +4 -6
- data/rbi/anthropic/resources/beta/organization/workspaces/rate_limits.rbi +10 -4
- data/rbi/anthropic/resources/beta/sessions/events.rbi +8 -5
- 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 +16 -12
- data/rbi/anthropic/resources/beta/user_profiles.rbi +30 -19
- data/rbi/anthropic/resources/beta/vaults/credentials.rbi +3 -2
- data/rbi/anthropic/resources/messages.rbi +18 -0
- data/sig/anthropic/models/anthropic_beta.rbs +4 -0
- data/sig/anthropic/models/beta/beta_cache_miss_reason.rbs +70 -0
- 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 +14 -2
- data/sig/anthropic/models/beta/beta_content_block_param.rbs +13 -1
- data/sig/anthropic/models/beta/beta_diagnostics.rbs +4 -70
- data/sig/anthropic/models/beta/beta_dream_status.rbs +3 -1
- data/sig/anthropic/models/beta/beta_fallback_param.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +10 -2
- 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_raw_content_block_start_event.rbs +14 -2
- data/sig/anthropic/models/beta/beta_request_tool_addition_block.rbs +12 -2
- 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_thinking_config_between_tools.rbs +17 -0
- data/sig/anthropic/models/beta/beta_thinking_config_param.rbs +6 -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_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/organization/workspaces/beta_workspace_rate_limit_organization_source.rbs +20 -0
- data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_value.rbs +43 -1
- data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_workspace_source.rbs +19 -0
- data/sig/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rbs +7 -0
- 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_use_event.rbs +6 -18
- 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_session_event.rbs +3 -4
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event_type.rbs +84 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +3 -4
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +3 -4
- data/sig/anthropic/models/beta/sessions/event_list_params.rbs +7 -5
- 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/cache_miss_messages_changed.rbs +22 -0
- data/sig/anthropic/models/cache_miss_model_changed.rbs +22 -0
- data/sig/anthropic/models/cache_miss_previous_message_not_found.rbs +14 -0
- data/sig/anthropic/models/cache_miss_reason.rbs +66 -0
- data/sig/anthropic/models/cache_miss_system_changed.rbs +22 -0
- data/sig/anthropic/models/cache_miss_tools_changed.rbs +22 -0
- data/sig/anthropic/models/cache_miss_unavailable.rbs +13 -0
- data/sig/anthropic/models/diagnostics.rbs +18 -0
- data/sig/anthropic/models/diagnostics_param.rbs +13 -0
- data/sig/anthropic/models/message.rbs +5 -0
- data/sig/anthropic/models/message_create_params.rbs +5 -0
- data/sig/anthropic/models/messages/batch_create_params.rbs +5 -0
- data/sig/anthropic/models/model.rbs +10 -2
- data/sig/anthropic/models/thinking_config_between_tools.rbs +13 -0
- data/sig/anthropic/models/thinking_config_param.rbs +6 -1
- data/sig/anthropic/models.rbs +20 -0
- data/sig/anthropic/resources/beta/organization/workspaces/rate_limits.rbs +1 -0
- data/sig/anthropic/resources/beta/sessions/events.rbs +1 -1
- data/sig/anthropic/resources/messages.rbs +3 -0
- metadata +92 -3
- data/lib/anthropic/helpers/tools/compaction_control.rb +0 -109
|
@@ -5,33 +5,32 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaDreamModelConfig < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
#
|
|
8
|
+
# The ID of the model that runs the dream, as given in the request that created
|
|
9
|
+
# it.
|
|
9
10
|
#
|
|
10
11
|
# @return [String]
|
|
11
12
|
required :id, String
|
|
12
13
|
|
|
13
14
|
# @!attribute speed
|
|
14
|
-
#
|
|
15
|
-
# generation at premium pricing. Not all models support `fast`; invalid
|
|
16
|
-
# combinations are rejected at create time.
|
|
15
|
+
# How fast the model generates output for the dream. Always `standard`.
|
|
17
16
|
#
|
|
18
17
|
# @return [Symbol, Anthropic::Models::Beta::BetaDreamModelConfig::Speed, nil]
|
|
19
18
|
optional :speed, enum: -> { Anthropic::Beta::BetaDreamModelConfig::Speed }
|
|
20
19
|
|
|
21
20
|
# @!method initialize(id:, speed: nil)
|
|
22
|
-
#
|
|
23
|
-
#
|
|
21
|
+
# The model that runs a dream, from the request that created it.
|
|
22
|
+
#
|
|
23
|
+
# The dream uses this model for all of its work. The response always gives the
|
|
24
|
+
# model as an object, even if the request gave only a model ID.
|
|
24
25
|
#
|
|
25
26
|
# Some parameter documentations has been truncated, see
|
|
26
27
|
# {Anthropic::Models::Beta::BetaDreamModelConfig} for more details.
|
|
27
28
|
#
|
|
28
|
-
# @param id [String]
|
|
29
|
+
# @param id [String] The ID of the model that runs the dream, as given in the request that created it
|
|
29
30
|
#
|
|
30
|
-
# @param speed [Symbol, Anthropic::Models::Beta::BetaDreamModelConfig::Speed]
|
|
31
|
+
# @param speed [Symbol, Anthropic::Models::Beta::BetaDreamModelConfig::Speed] How fast the model generates output for the dream. Always `standard`.
|
|
31
32
|
|
|
32
|
-
#
|
|
33
|
-
# generation at premium pricing. Not all models support `fast`; invalid
|
|
34
|
-
# combinations are rejected at create time.
|
|
33
|
+
# How fast the model generates output for the dream. Always `standard`.
|
|
35
34
|
#
|
|
36
35
|
# @see Anthropic::Models::Beta::BetaDreamModelConfig#speed
|
|
37
36
|
module Speed
|
|
@@ -5,32 +5,38 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaDreamModelConfigParam < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute id
|
|
8
|
-
#
|
|
8
|
+
# The ID of the model to run the dream with.
|
|
9
|
+
#
|
|
10
|
+
# The ID can be 1 to 256 characters long.
|
|
11
|
+
#
|
|
12
|
+
# The
|
|
13
|
+
# [limits table in the Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams#limits)
|
|
14
|
+
# lists the supported models.
|
|
9
15
|
#
|
|
10
16
|
# @return [String]
|
|
11
17
|
required :id, String
|
|
12
18
|
|
|
13
19
|
# @!attribute speed
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
20
|
+
# How fast the model generates output for the dream. Defaults to `standard`.
|
|
21
|
+
#
|
|
22
|
+
# Dreams accept only `standard`.
|
|
17
23
|
#
|
|
18
24
|
# @return [Symbol, Anthropic::Models::Beta::BetaDreamModelConfigParam::Speed, nil]
|
|
19
25
|
optional :speed, enum: -> { Anthropic::Beta::BetaDreamModelConfigParam::Speed }, nil?: true
|
|
20
26
|
|
|
21
27
|
# @!method initialize(id:, speed: nil)
|
|
22
|
-
#
|
|
28
|
+
# The object form of `model` in a request to create a dream.
|
|
23
29
|
#
|
|
24
30
|
# Some parameter documentations has been truncated, see
|
|
25
31
|
# {Anthropic::Models::Beta::BetaDreamModelConfigParam} for more details.
|
|
26
32
|
#
|
|
27
|
-
# @param id [String]
|
|
33
|
+
# @param id [String] The ID of the model to run the dream with.
|
|
28
34
|
#
|
|
29
|
-
# @param speed [Symbol, Anthropic::Models::Beta::BetaDreamModelConfigParam::Speed, nil]
|
|
35
|
+
# @param speed [Symbol, Anthropic::Models::Beta::BetaDreamModelConfigParam::Speed, nil] How fast the model generates output for the dream. Defaults to `standard`.
|
|
30
36
|
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
#
|
|
37
|
+
# How fast the model generates output for the dream. Defaults to `standard`.
|
|
38
|
+
#
|
|
39
|
+
# Dreams accept only `standard`.
|
|
34
40
|
#
|
|
35
41
|
# @see Anthropic::Models::Beta::BetaDreamModelConfigParam#speed
|
|
36
42
|
module Speed
|
|
@@ -5,6 +5,10 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaDreamOutput < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute memory_store_id
|
|
8
|
+
# The ID of the memory store that the dream writes its result to (`memstore_...`).
|
|
9
|
+
#
|
|
10
|
+
# With `output_behavior` set to `create_new`, this is a new memory store. With
|
|
11
|
+
# `update_existing`, it is the input memory store.
|
|
8
12
|
#
|
|
9
13
|
# @return [String]
|
|
10
14
|
required :memory_store_id, String
|
|
@@ -15,9 +19,14 @@ module Anthropic
|
|
|
15
19
|
required :type, enum: -> { Anthropic::Beta::BetaDreamOutput::Type }
|
|
16
20
|
|
|
17
21
|
# @!method initialize(memory_store_id:, type:)
|
|
18
|
-
# An
|
|
22
|
+
# An entry in a dream's `outputs` that references the memory store holding its
|
|
23
|
+
# result.
|
|
24
|
+
#
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Anthropic::Models::Beta::BetaDreamOutput} for more details.
|
|
27
|
+
#
|
|
28
|
+
# @param memory_store_id [String] The ID of the memory store that the dream writes its result to (`memstore_...`).
|
|
19
29
|
#
|
|
20
|
-
# @param memory_store_id [String]
|
|
21
30
|
# @param type [Symbol, Anthropic::Models::Beta::BetaDreamOutput::Type]
|
|
22
31
|
|
|
23
32
|
# @see Anthropic::Models::Beta::BetaDreamOutput#type
|
|
@@ -5,6 +5,14 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaDreamSessionsInput < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute session_ids
|
|
8
|
+
# The IDs of the sessions whose transcripts the dream reads (`sesn_...`).
|
|
9
|
+
#
|
|
10
|
+
# Give 1 to 100 IDs, with no duplicates. Each session must be in the same
|
|
11
|
+
# workspace as the dream. Responses list the IDs in sorted order.
|
|
12
|
+
#
|
|
13
|
+
# The
|
|
14
|
+
# [limits table in the Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams#limits)
|
|
15
|
+
# lists all the limits on a dream.
|
|
8
16
|
#
|
|
9
17
|
# @return [Array<String>]
|
|
10
18
|
required :session_ids, Anthropic::Internal::Type::ArrayOf[String]
|
|
@@ -15,9 +23,13 @@ module Anthropic
|
|
|
15
23
|
required :type, enum: -> { Anthropic::Beta::BetaDreamSessionsInput::Type }
|
|
16
24
|
|
|
17
25
|
# @!method initialize(session_ids:, type:)
|
|
18
|
-
#
|
|
26
|
+
# The sessions that a dream reads, given as an entry in `inputs`.
|
|
27
|
+
#
|
|
28
|
+
# Some parameter documentations has been truncated, see
|
|
29
|
+
# {Anthropic::Models::Beta::BetaDreamSessionsInput} for more details.
|
|
30
|
+
#
|
|
31
|
+
# @param session_ids [Array<String>] The IDs of the sessions whose transcripts the dream reads (`sesn_...`).
|
|
19
32
|
#
|
|
20
|
-
# @param session_ids [Array<String>]
|
|
21
33
|
# @param type [Symbol, Anthropic::Models::Beta::BetaDreamSessionsInput::Type]
|
|
22
34
|
|
|
23
35
|
# @see Anthropic::Models::Beta::BetaDreamSessionsInput#type
|
|
@@ -3,7 +3,14 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
#
|
|
6
|
+
# Where a dream is in its lifecycle.
|
|
7
|
+
#
|
|
8
|
+
# `completed`, `failed`, and `canceled` are final: once a dream has one of these
|
|
9
|
+
# statuses, its status doesn't change again.
|
|
10
|
+
#
|
|
11
|
+
# See the
|
|
12
|
+
# [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams#lifecycle)
|
|
13
|
+
# for what each status means.
|
|
7
14
|
module BetaDreamStatus
|
|
8
15
|
extend Anthropic::Internal::Type::Enum
|
|
9
16
|
|
|
@@ -25,7 +32,9 @@ module Anthropic
|
|
|
25
32
|
# If `outputs` references a memory store, that memory store keeps what the dream wrote before it stopped.
|
|
26
33
|
FAILED = :failed
|
|
27
34
|
|
|
28
|
-
#
|
|
35
|
+
# A cancel request stopped the dream before it reached `completed` or `failed`.
|
|
36
|
+
#
|
|
37
|
+
# If `outputs` references a memory store, that memory store keeps what the dream wrote. `usage` can keep changing after the cancel.
|
|
29
38
|
CANCELED = :canceled
|
|
30
39
|
|
|
31
40
|
# @!method self.values
|
|
@@ -5,39 +5,52 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaDreamUsage < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute cache_creation_input_tokens
|
|
8
|
-
#
|
|
8
|
+
# The dream's input tokens that were written to the prompt cache, for both the
|
|
9
|
+
# 5-minute and 1-hour cache durations.
|
|
9
10
|
#
|
|
10
11
|
# @return [Integer]
|
|
11
12
|
required :cache_creation_input_tokens, Integer
|
|
12
13
|
|
|
13
14
|
# @!attribute cache_read_input_tokens
|
|
14
|
-
#
|
|
15
|
+
# The dream's input tokens that were read from the prompt cache.
|
|
15
16
|
#
|
|
16
17
|
# @return [Integer]
|
|
17
18
|
required :cache_read_input_tokens, Integer
|
|
18
19
|
|
|
19
20
|
# @!attribute input_tokens
|
|
20
|
-
#
|
|
21
|
+
# The dream's input tokens that weren't read from or written to the prompt cache.
|
|
21
22
|
#
|
|
22
23
|
# @return [Integer]
|
|
23
24
|
required :input_tokens, Integer
|
|
24
25
|
|
|
25
26
|
# @!attribute output_tokens
|
|
26
|
-
#
|
|
27
|
+
# The tokens that the model generated for the dream.
|
|
27
28
|
#
|
|
28
29
|
# @return [Integer]
|
|
29
30
|
required :output_tokens, Integer
|
|
30
31
|
|
|
31
32
|
# @!method initialize(cache_creation_input_tokens:, cache_read_input_tokens:, input_tokens:, output_tokens:)
|
|
32
|
-
#
|
|
33
|
+
# The tokens that a dream has used so far.
|
|
33
34
|
#
|
|
34
|
-
#
|
|
35
|
+
# The counts are zero while the dream is `pending` and update while it is
|
|
36
|
+
# `running`. They can keep changing after a cancel.
|
|
35
37
|
#
|
|
36
|
-
#
|
|
38
|
+
# See the
|
|
39
|
+
# [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams#billing)
|
|
40
|
+
# for how dreams are billed. See the
|
|
41
|
+
# [prompt caching guide](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#tracking-cache-performance)
|
|
42
|
+
# for how the input token counts add up.
|
|
37
43
|
#
|
|
38
|
-
#
|
|
44
|
+
# Some parameter documentations has been truncated, see
|
|
45
|
+
# {Anthropic::Models::Beta::BetaDreamUsage} for more details.
|
|
39
46
|
#
|
|
40
|
-
# @param
|
|
47
|
+
# @param cache_creation_input_tokens [Integer] The dream's input tokens that were written to the prompt cache, for both the 5-m
|
|
48
|
+
#
|
|
49
|
+
# @param cache_read_input_tokens [Integer] The dream's input tokens that were read from the prompt cache.
|
|
50
|
+
#
|
|
51
|
+
# @param input_tokens [Integer] The dream's input tokens that weren't read from or written to the prompt cache.
|
|
52
|
+
#
|
|
53
|
+
# @param output_tokens [Integer] The tokens that the model generated for the dream.
|
|
41
54
|
end
|
|
42
55
|
end
|
|
43
56
|
|
|
@@ -26,7 +26,9 @@ module Anthropic
|
|
|
26
26
|
|
|
27
27
|
variant :overloaded_error, -> { Anthropic::BetaOverloadedError }
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# Returned with status 409 when a request to create a dream sets `output_behavior` to `update_existing` and another dream that writes into the same memory store hasn't fully stopped.
|
|
30
|
+
#
|
|
31
|
+
# The other dream is `pending` or `running`, or it has just stopped and is still finishing its last writes. `message` gives the ID of the other dream when the server can identify it. If that dream has already reached `completed`, `failed`, or `canceled`, retry after a short wait. Otherwise, wait for the other dream to end or cancel it, then retry. The response sets the `x-should-retry` header to `false`.
|
|
30
32
|
variant :conflict_error, -> { Anthropic::Beta::BetaTargetStoreHeldError }
|
|
31
33
|
|
|
32
34
|
module Type
|
|
@@ -60,7 +62,7 @@ module Anthropic
|
|
|
60
62
|
#
|
|
61
63
|
# @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
|
|
62
64
|
#
|
|
63
|
-
# @option args [String] :message
|
|
65
|
+
# @option args [String] :message A human-readable explanation of why the memory store can't be used yet, with the
|
|
64
66
|
#
|
|
65
67
|
# @raise [ArgumentError]
|
|
66
68
|
# @return [Anthropic::Models::BetaInvalidRequestError, Anthropic::Models::BetaAuthenticationError, Anthropic::Models::BetaBillingError, Anthropic::Models::BetaPermissionError, Anthropic::Models::BetaNotFoundError, Anthropic::Models::BetaRateLimitError, Anthropic::Models::BetaGatewayTimeoutError, Anthropic::Models::BetaAPIError, Anthropic::Models::BetaOverloadedError, Anthropic::Models::Beta::BetaTargetStoreHeldError]
|
|
@@ -35,7 +35,7 @@ module Anthropic
|
|
|
35
35
|
required :supported, Anthropic::Internal::Type::Boolean
|
|
36
36
|
|
|
37
37
|
# @!attribute xhigh
|
|
38
|
-
#
|
|
38
|
+
# Whether the model supports xhigh effort level.
|
|
39
39
|
#
|
|
40
40
|
# @return [Anthropic::Models::Beta::BetaCapabilitySupport, nil]
|
|
41
41
|
required :xhigh, -> { Anthropic::Beta::BetaCapabilitySupport }, nil?: true
|
|
@@ -53,7 +53,7 @@ module Anthropic
|
|
|
53
53
|
#
|
|
54
54
|
# @param supported [Boolean] Whether this capability is supported by the model.
|
|
55
55
|
#
|
|
56
|
-
# @param xhigh [Anthropic::Models::Beta::BetaCapabilitySupport, nil]
|
|
56
|
+
# @param xhigh [Anthropic::Models::Beta::BetaCapabilitySupport, nil] Whether the model supports xhigh effort level.
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
@@ -33,7 +33,7 @@ module Anthropic
|
|
|
33
33
|
|
|
34
34
|
# @!attribute thinking
|
|
35
35
|
#
|
|
36
|
-
# @return [Anthropic::Models::Beta::BetaThinkingConfigEnabled, Anthropic::Models::Beta::BetaThinkingConfigDisabled, Anthropic::Models::Beta::BetaThinkingConfigAdaptive, nil]
|
|
36
|
+
# @return [Anthropic::Models::Beta::BetaThinkingConfigEnabled, Anthropic::Models::Beta::BetaThinkingConfigDisabled, Anthropic::Models::Beta::BetaThinkingConfigBetweenTools, Anthropic::Models::Beta::BetaThinkingConfigAdaptive, nil]
|
|
37
37
|
optional :thinking, union: -> { Anthropic::Beta::BetaFallbackParam::Thinking }, nil?: true
|
|
38
38
|
|
|
39
39
|
# @!method initialize(model:, max_tokens: nil, output_config: nil, speed: nil, thinking: nil)
|
|
@@ -55,7 +55,7 @@ module Anthropic
|
|
|
55
55
|
#
|
|
56
56
|
# @param speed [Symbol, Anthropic::Models::Beta::BetaFallbackParam::Speed, nil] Inference speed mode. `fast` provides significantly faster output token generati
|
|
57
57
|
#
|
|
58
|
-
# @param thinking [Anthropic::Models::Beta::BetaThinkingConfigEnabled, Anthropic::Models::Beta::BetaThinkingConfigDisabled, Anthropic::Models::Beta::BetaThinkingConfigAdaptive, nil]
|
|
58
|
+
# @param thinking [Anthropic::Models::Beta::BetaThinkingConfigEnabled, Anthropic::Models::Beta::BetaThinkingConfigDisabled, Anthropic::Models::Beta::BetaThinkingConfigBetweenTools, Anthropic::Models::Beta::BetaThinkingConfigAdaptive, nil]
|
|
59
59
|
|
|
60
60
|
# Inference speed mode. `fast` provides significantly faster output token
|
|
61
61
|
# generation at premium pricing. Not all models support `fast`; invalid
|
|
@@ -82,6 +82,8 @@ module Anthropic
|
|
|
82
82
|
|
|
83
83
|
variant :disabled, -> { Anthropic::Beta::BetaThinkingConfigDisabled }
|
|
84
84
|
|
|
85
|
+
variant :between_tools, -> { Anthropic::Beta::BetaThinkingConfigBetweenTools }
|
|
86
|
+
|
|
85
87
|
variant :adaptive, -> { Anthropic::Beta::BetaThinkingConfigAdaptive }
|
|
86
88
|
|
|
87
89
|
module Type
|
|
@@ -89,6 +91,7 @@ module Anthropic
|
|
|
89
91
|
|
|
90
92
|
ENABLED = :enabled
|
|
91
93
|
DISABLED = :disabled
|
|
94
|
+
BETWEEN_TOOLS = :between_tools
|
|
92
95
|
ADAPTIVE = :adaptive
|
|
93
96
|
|
|
94
97
|
# @!method self.values
|
|
@@ -96,7 +99,7 @@ module Anthropic
|
|
|
96
99
|
end
|
|
97
100
|
|
|
98
101
|
# @!method self.variants
|
|
99
|
-
# @return [Array(Anthropic::Models::Beta::BetaThinkingConfigEnabled, Anthropic::Models::Beta::BetaThinkingConfigDisabled, Anthropic::Models::Beta::BetaThinkingConfigAdaptive)]
|
|
102
|
+
# @return [Array(Anthropic::Models::Beta::BetaThinkingConfigEnabled, Anthropic::Models::Beta::BetaThinkingConfigDisabled, Anthropic::Models::Beta::BetaThinkingConfigBetweenTools, Anthropic::Models::Beta::BetaThinkingConfigAdaptive)]
|
|
100
103
|
|
|
101
104
|
# Creates a new instance of the variant class whose `type` matches the given
|
|
102
105
|
# value, passing the remaining arguments to its constructor.
|
|
@@ -110,18 +113,20 @@ module Anthropic
|
|
|
110
113
|
#
|
|
111
114
|
# @option args [Integer] :budget_tokens Determines how many tokens Claude can use for its internal reasoning process. La
|
|
112
115
|
#
|
|
113
|
-
# @option args [Anthropic::Models::Beta::BetaThinkingBlockBinding, nil] :block_binding Controls for block binding: what happens when a thinking block this
|
|
116
|
+
# @option args [Anthropic::Models::Beta::BetaThinkingBlockBinding, nil] :block_binding Controls for block binding: what happens when a thinking block this request send
|
|
114
117
|
#
|
|
115
118
|
# @option args [Symbol, Anthropic::Models::Beta::BetaThinkingConfigEnabled::Display, nil, Symbol, Anthropic::Models::Beta::BetaThinkingConfigAdaptive::Display, nil] :display_ Controls how thinking content appears in the response. When set to `summarized`,
|
|
116
119
|
#
|
|
117
120
|
# @raise [ArgumentError]
|
|
118
|
-
# @return [Anthropic::Models::Beta::BetaThinkingConfigEnabled, Anthropic::Models::Beta::BetaThinkingConfigDisabled, Anthropic::Models::Beta::BetaThinkingConfigAdaptive]
|
|
121
|
+
# @return [Anthropic::Models::Beta::BetaThinkingConfigEnabled, Anthropic::Models::Beta::BetaThinkingConfigDisabled, Anthropic::Models::Beta::BetaThinkingConfigBetweenTools, Anthropic::Models::Beta::BetaThinkingConfigAdaptive]
|
|
119
122
|
def self.new(type:, **args)
|
|
120
123
|
case type.to_sym
|
|
121
124
|
when :enabled
|
|
122
125
|
Anthropic::Beta::BetaThinkingConfigEnabled.new(**args)
|
|
123
126
|
when :disabled
|
|
124
127
|
Anthropic::Beta::BetaThinkingConfigDisabled.new(**args)
|
|
128
|
+
when :between_tools
|
|
129
|
+
Anthropic::Beta::BetaThinkingConfigBetweenTools.new(**args)
|
|
125
130
|
when :adaptive
|
|
126
131
|
Anthropic::Beta::BetaThinkingConfigAdaptive.new(**args)
|
|
127
132
|
else
|
|
@@ -5,7 +5,9 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaFallbackRefusalTrigger < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute category
|
|
8
|
-
# The policy category that triggered
|
|
8
|
+
# The policy category that triggered the `from` model's refusal at this hop.
|
|
9
|
+
# `null` when the refusal doesn't map to a named category. Same vocabulary as
|
|
10
|
+
# `stop_details.category`.
|
|
9
11
|
#
|
|
10
12
|
# @return [Symbol, Anthropic::Models::Beta::BetaFallbackRefusalTrigger::Category, nil]
|
|
11
13
|
required :category, enum: -> { Anthropic::Beta::BetaFallbackRefusalTrigger::Category }, nil?: true
|
|
@@ -18,11 +20,16 @@ module Anthropic
|
|
|
18
20
|
# @!method initialize(category:, type: :refusal)
|
|
19
21
|
# The `from` model declined for policy reasons.
|
|
20
22
|
#
|
|
21
|
-
#
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Anthropic::Models::Beta::BetaFallbackRefusalTrigger} for more details.
|
|
25
|
+
#
|
|
26
|
+
# @param category [Symbol, Anthropic::Models::Beta::BetaFallbackRefusalTrigger::Category, nil] The policy category that triggered the `from` model's refusal at this hop. `null
|
|
22
27
|
#
|
|
23
28
|
# @param type [Symbol, :refusal]
|
|
24
29
|
|
|
25
|
-
# The policy category that triggered
|
|
30
|
+
# The policy category that triggered the `from` model's refusal at this hop.
|
|
31
|
+
# `null` when the refusal doesn't map to a named category. Same vocabulary as
|
|
32
|
+
# `stop_details.category`.
|
|
26
33
|
#
|
|
27
34
|
# @see Anthropic::Models::Beta::BetaFallbackRefusalTrigger#category
|
|
28
35
|
module Category
|
|
@@ -11,7 +11,7 @@ module Anthropic
|
|
|
11
11
|
required :id, String
|
|
12
12
|
|
|
13
13
|
# @!attribute archived_at
|
|
14
|
-
#
|
|
14
|
+
# When the agent was archived. Null if not archived.
|
|
15
15
|
#
|
|
16
16
|
# @return [Time, nil]
|
|
17
17
|
required :archived_at, Time, nil?: true
|
|
@@ -45,7 +45,7 @@ module Anthropic
|
|
|
45
45
|
required :model, -> { Anthropic::Beta::BetaManagedAgentsModelConfig }
|
|
46
46
|
|
|
47
47
|
# @!attribute multiagent
|
|
48
|
-
#
|
|
48
|
+
# Multiagent orchestration configuration. Null when the agent is single-threaded.
|
|
49
49
|
#
|
|
50
50
|
# @return [Anthropic::Models::Beta::BetaManagedAgentsMultiagent, nil]
|
|
51
51
|
required :multiagent, -> { Anthropic::Beta::BetaManagedAgentsMultiagent }, nil?: true
|
|
@@ -98,7 +98,7 @@ module Anthropic
|
|
|
98
98
|
#
|
|
99
99
|
# @param id [String]
|
|
100
100
|
#
|
|
101
|
-
# @param archived_at [Time, nil]
|
|
101
|
+
# @param archived_at [Time, nil] When the agent was archived. Null if not archived.
|
|
102
102
|
#
|
|
103
103
|
# @param created_at [Time] A timestamp in RFC 3339 format
|
|
104
104
|
#
|
|
@@ -110,7 +110,7 @@ module Anthropic
|
|
|
110
110
|
#
|
|
111
111
|
# @param model [Anthropic::Models::Beta::BetaManagedAgentsModelConfig] Model identifier and configuration.
|
|
112
112
|
#
|
|
113
|
-
# @param multiagent [Anthropic::Models::Beta::BetaManagedAgentsMultiagent, nil]
|
|
113
|
+
# @param multiagent [Anthropic::Models::Beta::BetaManagedAgentsMultiagent, nil] Multiagent orchestration configuration. Null when the agent is single-threaded.
|
|
114
114
|
#
|
|
115
115
|
# @param name [String]
|
|
116
116
|
#
|
|
@@ -65,7 +65,7 @@ module Anthropic
|
|
|
65
65
|
#
|
|
66
66
|
# @option args [Boolean, nil] :enabled Whether this tool is enabled and available to Claude. Overrides the default_conf
|
|
67
67
|
#
|
|
68
|
-
# @option args [Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, Anthropic::Models::Beta::BetaManagedAgentsAlwaysAskPolicy, Anthropic::Models::Beta::BetaManagedAgentsAutoPolicy, nil] :permission_policy Permission policy for tool
|
|
68
|
+
# @option args [Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, Anthropic::Models::Beta::BetaManagedAgentsAlwaysAskPolicy, Anthropic::Models::Beta::BetaManagedAgentsAutoPolicy, nil] :permission_policy Permission policy for this tool. Controls whether tool calls are auto-approved o
|
|
69
69
|
#
|
|
70
70
|
# @option args [Symbol, :bash, Symbol, :edit, Symbol, :read, Symbol, :write, Symbol, :glob, Symbol, :grep, Symbol, :web_fetch, Symbol, :web_search] :name Must be "bash".
|
|
71
71
|
#
|
|
@@ -17,7 +17,7 @@ module Anthropic
|
|
|
17
17
|
-> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaManagedAgentsAgentToolConfigParams] }
|
|
18
18
|
|
|
19
19
|
# @!attribute default_config
|
|
20
|
-
# Default configuration
|
|
20
|
+
# Default configuration applied to all tools in this set.
|
|
21
21
|
#
|
|
22
22
|
# @return [Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfigParams, nil]
|
|
23
23
|
optional :default_config,
|
|
@@ -32,7 +32,7 @@ module Anthropic
|
|
|
32
32
|
#
|
|
33
33
|
# @param configs [Array<Anthropic::Models::Beta::BetaManagedAgentsBashToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsEditToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsReadToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsWriteToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsGlobToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsGrepToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsWebFetchToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsWebSearchToolConfigParams>] Per-tool configuration overrides.
|
|
34
34
|
#
|
|
35
|
-
# @param default_config [Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfigParams, nil] Default configuration
|
|
35
|
+
# @param default_config [Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfigParams, nil] Default configuration applied to all tools in this set.
|
|
36
36
|
|
|
37
37
|
# @see Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401Params#type
|
|
38
38
|
module Type
|
|
@@ -12,7 +12,8 @@ module Anthropic
|
|
|
12
12
|
optional :enabled, Anthropic::Internal::Type::Boolean, nil?: true
|
|
13
13
|
|
|
14
14
|
# @!attribute permission_policy
|
|
15
|
-
#
|
|
15
|
+
# Default permission policy for tools. Controls whether tool calls are
|
|
16
|
+
# auto-approved or require confirmation.
|
|
16
17
|
#
|
|
17
18
|
# @return [Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, Anthropic::Models::Beta::BetaManagedAgentsAlwaysAskPolicy, Anthropic::Models::Beta::BetaManagedAgentsAutoPolicy, nil]
|
|
18
19
|
optional :permission_policy,
|
|
@@ -30,9 +31,10 @@ module Anthropic
|
|
|
30
31
|
#
|
|
31
32
|
# @param enabled [Boolean, nil] Whether tools are enabled and available to Claude by default. Defaults to true i
|
|
32
33
|
#
|
|
33
|
-
# @param permission_policy [Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, Anthropic::Models::Beta::BetaManagedAgentsAlwaysAskPolicy, Anthropic::Models::Beta::BetaManagedAgentsAutoPolicy, nil]
|
|
34
|
+
# @param permission_policy [Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, Anthropic::Models::Beta::BetaManagedAgentsAlwaysAskPolicy, Anthropic::Models::Beta::BetaManagedAgentsAutoPolicy, nil] Default permission policy for tools. Controls whether tool calls are auto-approv
|
|
34
35
|
|
|
35
|
-
#
|
|
36
|
+
# Default permission policy for tools. Controls whether tool calls are
|
|
37
|
+
# auto-approved or require confirmation.
|
|
36
38
|
#
|
|
37
39
|
# @see Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfigParams#permission_policy
|
|
38
40
|
module PermissionPolicy
|
|
@@ -155,13 +155,13 @@ module Anthropic
|
|
|
155
155
|
#
|
|
156
156
|
# @option args [Array<Anthropic::Models::Beta::BetaManagedAgentsBashToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsEditToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsReadToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsWriteToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsGlobToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsGrepToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsWebFetchToolConfigParams, Anthropic::Models::Beta::BetaManagedAgentsWebSearchToolConfigParams>, Array<Anthropic::Models::Beta::BetaManagedAgentsMCPToolConfigParams>] :configs Per-tool configuration overrides.
|
|
157
157
|
#
|
|
158
|
-
# @option args [Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfigParams, nil, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetDefaultConfigParams, nil] :default_config Default configuration
|
|
158
|
+
# @option args [Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfigParams, nil, Anthropic::Models::Beta::BetaManagedAgentsMCPToolsetDefaultConfigParams, nil] :default_config Default configuration applied to all tools in this set.
|
|
159
159
|
#
|
|
160
160
|
# @option args [String] :mcp_server_name Name of the MCP server. Must match a server name from the mcp_servers array. 1-2
|
|
161
161
|
#
|
|
162
162
|
# @option args [String] :description Description of what the tool does, shown to the agent to help it decide when to
|
|
163
163
|
#
|
|
164
|
-
# @option args [Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema] :input_schema JSON Schema
|
|
164
|
+
# @option args [Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema] :input_schema JSON Schema defining the expected input parameters for the tool.
|
|
165
165
|
#
|
|
166
166
|
# @option args [String] :name Unique name for the tool. 1-128 characters; letters, digits, underscores, and hy
|
|
167
167
|
#
|
|
@@ -18,7 +18,8 @@ module Anthropic
|
|
|
18
18
|
optional :enabled, Anthropic::Internal::Type::Boolean, nil?: true
|
|
19
19
|
|
|
20
20
|
# @!attribute permission_policy
|
|
21
|
-
# Permission policy for tool
|
|
21
|
+
# Permission policy for this tool. Controls whether tool calls are auto-approved
|
|
22
|
+
# or require confirmation.
|
|
22
23
|
#
|
|
23
24
|
# @return [Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, Anthropic::Models::Beta::BetaManagedAgentsAlwaysAskPolicy, Anthropic::Models::Beta::BetaManagedAgentsAutoPolicy, nil]
|
|
24
25
|
optional :permission_policy,
|
|
@@ -39,13 +40,14 @@ module Anthropic
|
|
|
39
40
|
#
|
|
40
41
|
# @param enabled [Boolean, nil] Whether this tool is enabled and available to Claude. Overrides the default_conf
|
|
41
42
|
#
|
|
42
|
-
# @param permission_policy [Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, Anthropic::Models::Beta::BetaManagedAgentsAlwaysAskPolicy, Anthropic::Models::Beta::BetaManagedAgentsAutoPolicy, nil] Permission policy for tool
|
|
43
|
+
# @param permission_policy [Anthropic::Models::Beta::BetaManagedAgentsAlwaysAllowPolicy, Anthropic::Models::Beta::BetaManagedAgentsAlwaysAskPolicy, Anthropic::Models::Beta::BetaManagedAgentsAutoPolicy, nil] Permission policy for this tool. Controls whether tool calls are auto-approved o
|
|
43
44
|
#
|
|
44
45
|
# @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsBashToolConfigParams::Type]
|
|
45
46
|
#
|
|
46
47
|
# @param name [Symbol, :bash] Must be "bash".
|
|
47
48
|
|
|
48
|
-
# Permission policy for tool
|
|
49
|
+
# Permission policy for this tool. Controls whether tool calls are auto-approved
|
|
50
|
+
# or require confirmation.
|
|
49
51
|
#
|
|
50
52
|
# @see Anthropic::Models::Beta::BetaManagedAgentsBashToolConfigParams#permission_policy
|
|
51
53
|
module PermissionPolicy
|
|
@@ -5,7 +5,8 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaManagedAgentsBudgetLimit < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute max_list_cost
|
|
8
|
-
#
|
|
8
|
+
# Maximum list cost the session may accrue. List price is used regardless of any
|
|
9
|
+
# negotiated discount, so the cap fires at or before the actual charge.
|
|
9
10
|
#
|
|
10
11
|
# @return [Anthropic::Models::BetaMonetaryAmount]
|
|
11
12
|
required :max_list_cost, -> { Anthropic::BetaMonetaryAmount }
|
|
@@ -19,7 +20,10 @@ module Anthropic
|
|
|
19
20
|
# A hard spend ceiling. The session stops issuing new model requests once the
|
|
20
21
|
# tracked list cost reaches `max_list_cost`.
|
|
21
22
|
#
|
|
22
|
-
#
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Anthropic::Models::Beta::BetaManagedAgentsBudgetLimit} for more details.
|
|
25
|
+
#
|
|
26
|
+
# @param max_list_cost [Anthropic::Models::BetaMonetaryAmount] Maximum list cost the session may accrue. List price is used regardless of any n
|
|
23
27
|
#
|
|
24
28
|
# @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsBudgetLimit::Type]
|
|
25
29
|
|
|
@@ -26,7 +26,8 @@ module Anthropic
|
|
|
26
26
|
required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsCronSchedule::Type }
|
|
27
27
|
|
|
28
28
|
# @!attribute last_run_at
|
|
29
|
-
#
|
|
29
|
+
# Time the most recent scheduled run actually started. Null until one completes;
|
|
30
|
+
# preserved after the deployment is archived. Manual runs do not update this.
|
|
30
31
|
#
|
|
31
32
|
# @return [Time, nil]
|
|
32
33
|
optional :last_run_at, Time, nil?: true
|
|
@@ -53,7 +54,7 @@ module Anthropic
|
|
|
53
54
|
#
|
|
54
55
|
# @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsCronSchedule::Type]
|
|
55
56
|
#
|
|
56
|
-
# @param last_run_at [Time, nil]
|
|
57
|
+
# @param last_run_at [Time, nil] Time the most recent scheduled run actually started. Null until one completes; p
|
|
57
58
|
#
|
|
58
59
|
# @param upcoming_runs_at [Array<Time>] Up to 5 timestamps of upcoming cron occurrences. Non-empty for active and paused
|
|
59
60
|
|
|
@@ -12,7 +12,7 @@ module Anthropic
|
|
|
12
12
|
required :description, String
|
|
13
13
|
|
|
14
14
|
# @!attribute input_schema
|
|
15
|
-
# JSON Schema
|
|
15
|
+
# JSON Schema defining the expected input parameters for the tool.
|
|
16
16
|
#
|
|
17
17
|
# @return [Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema]
|
|
18
18
|
required :input_schema, -> { Anthropic::Beta::BetaManagedAgentsCustomToolInputSchema }
|
|
@@ -40,7 +40,7 @@ module Anthropic
|
|
|
40
40
|
#
|
|
41
41
|
# @param description [String] Description of what the tool does, shown to the agent to help it decide when to
|
|
42
42
|
#
|
|
43
|
-
# @param input_schema [Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema] JSON Schema
|
|
43
|
+
# @param input_schema [Anthropic::Models::Beta::BetaManagedAgentsCustomToolInputSchema] JSON Schema defining the expected input parameters for the tool.
|
|
44
44
|
#
|
|
45
45
|
# @param name [String] Unique name for the tool. 1-128 characters; letters, digits, underscores, and hy
|
|
46
46
|
#
|
|
@@ -5,7 +5,8 @@ module Anthropic
|
|
|
5
5
|
module Beta
|
|
6
6
|
class BetaManagedAgentsDeltaContent < Anthropic::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute content
|
|
8
|
-
#
|
|
8
|
+
# A partial element of the content array at index, typed like the element itself —
|
|
9
|
+
# the same shape the buffered agent.message carries in content.
|
|
9
10
|
#
|
|
10
11
|
# @return [Anthropic::Models::Beta::Sessions::BetaManagedAgentsTextBlock]
|
|
11
12
|
required :content, -> { Anthropic::Beta::Sessions::BetaManagedAgentsTextBlock }
|
|
@@ -27,7 +28,7 @@ module Anthropic
|
|
|
27
28
|
# Some parameter documentations has been truncated, see
|
|
28
29
|
# {Anthropic::Models::Beta::BetaManagedAgentsDeltaContent} for more details.
|
|
29
30
|
#
|
|
30
|
-
# @param content [Anthropic::Models::Beta::Sessions::BetaManagedAgentsTextBlock]
|
|
31
|
+
# @param content [Anthropic::Models::Beta::Sessions::BetaManagedAgentsTextBlock] A partial element of the content array at index, typed like the element itself —
|
|
31
32
|
#
|
|
32
33
|
# @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeltaContent::Type]
|
|
33
34
|
#
|