Module: Anthropic::Models

Defined in:
lib/anthropic/models/tool.rb,
lib/anthropic/models/model.rb,
lib/anthropic/models/usage.rb,
lib/anthropic/models/message.rb,
lib/anthropic/models/metadata.rb,
lib/anthropic/models/beta_error.rb,
lib/anthropic/models/completion.rb,
lib/anthropic/models/model_info.rb,
lib/anthropic/models/text_block.rb,
lib/anthropic/models/text_delta.rb,
lib/anthropic/models/tool_union.rb,
lib/anthropic/models/stop_reason.rb,
lib/anthropic/models/tool_choice.rb,
lib/anthropic/models/error_object.rb,
lib/anthropic/models/billing_error.rb,
lib/anthropic/models/content_block.rb,
lib/anthropic/models/message_param.rb,
lib/anthropic/models/text_citation.rb,
lib/anthropic/models/anthropic_beta.rb,
lib/anthropic/models/beta/beta_tool.rb,
lib/anthropic/models/beta_api_error.rb,
lib/anthropic/models/error_response.rb,
lib/anthropic/models/thinking_block.rb,
lib/anthropic/models/thinking_delta.rb,
lib/anthropic/models/tool_use_block.rb,
lib/anthropic/models/url_pdf_source.rb,
lib/anthropic/models/beta/beta_usage.rb,
lib/anthropic/models/citations_delta.rb,
lib/anthropic/models/not_found_error.rb,
lib/anthropic/models/signature_delta.rb,
lib/anthropic/models/tool_choice_any.rb,
lib/anthropic/models/api_error_object.rb,
lib/anthropic/models/input_json_delta.rb,
lib/anthropic/models/overloaded_error.rb,
lib/anthropic/models/permission_error.rb,
lib/anthropic/models/rate_limit_error.rb,
lib/anthropic/models/text_block_param.rb,
lib/anthropic/models/tool_choice_auto.rb,
lib/anthropic/models/tool_choice_none.rb,
lib/anthropic/models/tool_choice_tool.rb,
lib/anthropic/models/url_image_source.rb,
lib/anthropic/models/base64_pdf_source.rb,
lib/anthropic/models/beta/beta_message.rb,
lib/anthropic/models/beta/deleted_file.rb,
lib/anthropic/models/image_block_param.rb,
lib/anthropic/models/model_list_params.rb,
lib/anthropic/models/plain_text_source.rb,
lib/anthropic/models/server_tool_usage.rb,
lib/anthropic/models/beta/beta_metadata.rb,
lib/anthropic/models/beta/file_metadata.rb,
lib/anthropic/models/beta_billing_error.rb,
lib/anthropic/models/tool_bash_20250124.rb,
lib/anthropic/models/base64_image_source.rb,
lib/anthropic/models/beta/beta_container.rb,
lib/anthropic/models/beta_error_response.rb,
lib/anthropic/models/content_block_param.rb,
lib/anthropic/models/message_delta_usage.rb,
lib/anthropic/models/text_citation_param.rb,
lib/anthropic/models/authentication_error.rb,
lib/anthropic/models/beta/beta_model_info.rb,
lib/anthropic/models/beta/beta_text_block.rb,
lib/anthropic/models/beta/beta_text_delta.rb,
lib/anthropic/models/beta/beta_tool_union.rb,
lib/anthropic/models/beta_not_found_error.rb,
lib/anthropic/models/content_block_source.rb,
lib/anthropic/models/document_block_param.rb,
lib/anthropic/models/message_tokens_count.rb,
lib/anthropic/models/thinking_block_param.rb,
lib/anthropic/models/tool_use_block_param.rb,
lib/anthropic/models/beta/beta_stop_reason.rb,
lib/anthropic/models/beta/beta_tool_choice.rb,
lib/anthropic/models/beta/file_list_params.rb,
lib/anthropic/models/beta_overloaded_error.rb,
lib/anthropic/models/beta_permission_error.rb,
lib/anthropic/models/beta_rate_limit_error.rb,
lib/anthropic/models/gateway_timeout_error.rb,
lib/anthropic/models/invalid_request_error.rb,
lib/anthropic/models/message_create_params.rb,
lib/anthropic/models/model_retrieve_params.rb,
lib/anthropic/models/server_tool_use_block.rb,
lib/anthropic/models/thinking_config_param.rb,
lib/anthropic/models/beta/model_list_params.rb,
lib/anthropic/models/citation_char_location.rb,
lib/anthropic/models/citation_page_location.rb,
lib/anthropic/models/citations_config_param.rb,
lib/anthropic/models/messages/message_batch.rb,
lib/anthropic/models/raw_message_stop_event.rb,
lib/anthropic/models/beta/beta_content_block.rb,
lib/anthropic/models/beta/beta_message_param.rb,
lib/anthropic/models/beta/beta_text_citation.rb,
lib/anthropic/models/beta/file_delete_params.rb,
lib/anthropic/models/beta/file_upload_params.rb,
lib/anthropic/models/cache_control_ephemeral.rb,
lib/anthropic/models/raw_content_block_delta.rb,
lib/anthropic/models/raw_message_delta_event.rb,
lib/anthropic/models/raw_message_start_event.rb,
lib/anthropic/models/redacted_thinking_block.rb,
lib/anthropic/models/thinking_config_enabled.rb,
lib/anthropic/models/tool_result_block_param.rb,
lib/anthropic/models/web_search_result_block.rb,
lib/anthropic/models/beta/beta_cache_creation.rb,
lib/anthropic/models/beta/beta_thinking_block.rb,
lib/anthropic/models/beta/beta_thinking_delta.rb,
lib/anthropic/models/beta/beta_tool_use_block.rb,
lib/anthropic/models/beta/beta_url_pdf_source.rb,
lib/anthropic/models/completion_create_params.rb,
lib/anthropic/models/raw_message_stream_event.rb,
lib/anthropic/models/thinking_config_disabled.rb,
lib/anthropic/models/web_search_tool_20250305.rb,
lib/anthropic/models/beta/beta_citations_delta.rb,
lib/anthropic/models/beta/beta_signature_delta.rb,
lib/anthropic/models/beta/beta_tool_choice_any.rb,
lib/anthropic/models/beta/file_download_params.rb,
lib/anthropic/models/beta_authentication_error.rb,
lib/anthropic/models/message_count_tokens_tool.rb,
lib/anthropic/models/tool_text_editor_20250124.rb,
lib/anthropic/models/beta/beta_base64_pdf_block.rb,
lib/anthropic/models/beta/beta_input_json_delta.rb,
lib/anthropic/models/beta/beta_text_block_param.rb,
lib/anthropic/models/beta/beta_tool_choice_auto.rb,
lib/anthropic/models/beta/beta_tool_choice_none.rb,
lib/anthropic/models/beta/beta_tool_choice_tool.rb,
lib/anthropic/models/beta/beta_url_image_source.rb,
lib/anthropic/models/beta/message_create_params.rb,
lib/anthropic/models/beta/model_retrieve_params.rb,
lib/anthropic/models/beta_gateway_timeout_error.rb,
lib/anthropic/models/beta_invalid_request_error.rb,
lib/anthropic/models/messages/batch_list_params.rb,
lib/anthropic/models/beta/beta_base64_pdf_source.rb,
lib/anthropic/models/beta/beta_file_image_source.rb,
lib/anthropic/models/beta/beta_image_block_param.rb,
lib/anthropic/models/beta/beta_plain_text_source.rb,
lib/anthropic/models/beta/beta_server_tool_usage.rb,
lib/anthropic/models/message_count_tokens_params.rb,
lib/anthropic/models/server_tool_use_block_param.rb,
lib/anthropic/models/beta/beta_mcp_tool_use_block.rb,
lib/anthropic/models/beta/beta_tool_bash_20241022.rb,
lib/anthropic/models/beta/beta_tool_bash_20250124.rb,
lib/anthropic/models/citation_char_location_param.rb,
lib/anthropic/models/citation_page_location_param.rb,
lib/anthropic/models/content_block_source_content.rb,
lib/anthropic/models/messages/batch_cancel_params.rb,
lib/anthropic/models/messages/batch_create_params.rb,
lib/anthropic/models/messages/batch_delete_params.rb,
lib/anthropic/models/raw_content_block_stop_event.rb,
lib/anthropic/models/web_search_tool_result_block.rb,
lib/anthropic/models/web_search_tool_result_error.rb,
lib/anthropic/models/beta/beta_base64_image_source.rb,
lib/anthropic/models/beta/beta_content_block_param.rb,
lib/anthropic/models/beta/beta_message_delta_usage.rb,
lib/anthropic/models/beta/beta_text_citation_param.rb,
lib/anthropic/models/messages/batch_results_params.rb,
lib/anthropic/models/messages/message_batch_result.rb,
lib/anthropic/models/raw_content_block_delta_event.rb,
lib/anthropic/models/raw_content_block_start_event.rb,
lib/anthropic/models/redacted_thinking_block_param.rb,
lib/anthropic/models/web_search_result_block_param.rb,
lib/anthropic/models/web_search_tool_request_error.rb,
lib/anthropic/models/beta/beta_content_block_source.rb,
lib/anthropic/models/beta/beta_file_document_source.rb,
lib/anthropic/models/beta/beta_message_tokens_count.rb,
lib/anthropic/models/beta/beta_thinking_block_param.rb,
lib/anthropic/models/beta/beta_tool_use_block_param.rb,
lib/anthropic/models/messages/batch_retrieve_params.rb,
lib/anthropic/models/messages/deleted_message_batch.rb,
lib/anthropic/models/beta/beta_mcp_tool_result_block.rb,
lib/anthropic/models/beta/beta_server_tool_use_block.rb,
lib/anthropic/models/beta/beta_thinking_config_param.rb,
lib/anthropic/models/beta/messages/batch_list_params.rb,
lib/anthropic/models/citation_content_block_location.rb,
lib/anthropic/models/beta/beta_citation_char_location.rb,
lib/anthropic/models/beta/beta_citation_page_location.rb,
lib/anthropic/models/beta/beta_citations_config_param.rb,
lib/anthropic/models/beta/beta_container_upload_block.rb,
lib/anthropic/models/beta/beta_raw_message_stop_event.rb,
lib/anthropic/models/beta/message_count_tokens_params.rb,
lib/anthropic/models/beta/messages/beta_message_batch.rb,
lib/anthropic/models/beta/beta_cache_control_ephemeral.rb,
lib/anthropic/models/beta/beta_raw_content_block_delta.rb,
lib/anthropic/models/beta/beta_raw_message_delta_event.rb,
lib/anthropic/models/beta/beta_raw_message_start_event.rb,
lib/anthropic/models/beta/beta_redacted_thinking_block.rb,
lib/anthropic/models/beta/beta_thinking_config_enabled.rb,
lib/anthropic/models/beta/beta_tool_result_block_param.rb,
lib/anthropic/models/beta/beta_web_search_result_block.rb,
lib/anthropic/models/beta/messages/batch_cancel_params.rb,
lib/anthropic/models/beta/messages/batch_create_params.rb,
lib/anthropic/models/beta/messages/batch_delete_params.rb,
lib/anthropic/models/beta/beta_mcp_tool_use_block_param.rb,
lib/anthropic/models/beta/beta_raw_message_stream_event.rb,
lib/anthropic/models/beta/beta_thinking_config_disabled.rb,
lib/anthropic/models/beta/beta_web_search_tool_20250305.rb,
lib/anthropic/models/beta/file_retrieve_metadata_params.rb,
lib/anthropic/models/beta/messages/batch_results_params.rb,
lib/anthropic/models/web_search_tool_result_block_param.rb,
lib/anthropic/models/beta/beta_tool_text_editor_20241022.rb,
lib/anthropic/models/beta/beta_tool_text_editor_20250124.rb,
lib/anthropic/models/beta/beta_tool_text_editor_20250429.rb,
lib/anthropic/models/beta/messages/batch_retrieve_params.rb,
lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb,
lib/anthropic/models/beta/beta_tool_computer_use_20250124.rb,
lib/anthropic/models/citations_web_search_result_location.rb,
lib/anthropic/models/web_search_tool_result_block_content.rb,
lib/anthropic/models/beta/beta_code_execution_output_block.rb,
lib/anthropic/models/beta/beta_code_execution_result_block.rb,
lib/anthropic/models/beta/beta_server_tool_use_block_param.rb,
lib/anthropic/models/citation_content_block_location_param.rb,
lib/anthropic/models/messages/message_batch_errored_result.rb,
lib/anthropic/models/messages/message_batch_expired_result.rb,
lib/anthropic/models/messages/message_batch_request_counts.rb,
lib/anthropic/models/beta/beta_citation_char_location_param.rb,
lib/anthropic/models/beta/beta_citation_page_location_param.rb,
lib/anthropic/models/beta/beta_code_execution_tool_20250522.rb,
lib/anthropic/models/beta/beta_container_upload_block_param.rb,
lib/anthropic/models/beta/beta_content_block_source_content.rb,
lib/anthropic/models/beta/beta_raw_content_block_stop_event.rb,
lib/anthropic/models/beta/beta_web_search_tool_result_block.rb,
lib/anthropic/models/beta/beta_web_search_tool_result_error.rb,
lib/anthropic/models/messages/message_batch_canceled_result.rb,
lib/anthropic/models/beta/beta_raw_content_block_delta_event.rb,
lib/anthropic/models/beta/beta_raw_content_block_start_event.rb,
lib/anthropic/models/beta/beta_redacted_thinking_block_param.rb,
lib/anthropic/models/beta/beta_web_search_result_block_param.rb,
lib/anthropic/models/beta/beta_web_search_tool_request_error.rb,
lib/anthropic/models/beta/messages/beta_message_batch_result.rb,
lib/anthropic/models/messages/message_batch_succeeded_result.rb,
lib/anthropic/models/beta/messages/beta_deleted_message_batch.rb,
lib/anthropic/models/beta/beta_citation_content_block_location.rb,
lib/anthropic/models/citation_web_search_result_location_param.rb,
lib/anthropic/models/beta/beta_code_execution_tool_result_block.rb,
lib/anthropic/models/beta/beta_code_execution_tool_result_error.rb,
lib/anthropic/models/messages/message_batch_individual_response.rb,
lib/anthropic/models/web_search_tool_result_block_param_content.rb,
lib/anthropic/models/beta/beta_code_execution_output_block_param.rb,
lib/anthropic/models/beta/beta_code_execution_result_block_param.rb,
lib/anthropic/models/beta/beta_request_mcp_server_url_definition.rb,
lib/anthropic/models/beta/beta_web_search_tool_result_error_code.rb,
lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb,
lib/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rb,
lib/anthropic/models/beta/beta_citations_web_search_result_location.rb,
lib/anthropic/models/beta/beta_web_search_tool_result_block_content.rb,
lib/anthropic/models/beta/beta_citation_content_block_location_param.rb,
lib/anthropic/models/beta/beta_code_execution_tool_result_error_code.rb,
lib/anthropic/models/beta/beta_request_mcp_server_tool_configuration.rb,
lib/anthropic/models/beta/messages/beta_message_batch_errored_result.rb,
lib/anthropic/models/beta/messages/beta_message_batch_expired_result.rb,
lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb,
lib/anthropic/models/beta/beta_code_execution_tool_result_block_param.rb,
lib/anthropic/models/beta/beta_code_execution_tool_result_error_param.rb,
lib/anthropic/models/beta/messages/beta_message_batch_canceled_result.rb,
lib/anthropic/models/beta/messages/beta_message_batch_succeeded_result.rb,
lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb,
lib/anthropic/models/beta/beta_citation_web_search_result_location_param.rb,
lib/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rb,
lib/anthropic/models/beta/messages/beta_message_batch_individual_response.rb,
lib/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rb

Defined Under Namespace

Modules: AnthropicBeta, Beta, BetaError, ContentBlock, ContentBlockParam, ContentBlockSourceContent, ErrorObject, MessageCountTokensTool, Messages, Model, RawContentBlockDelta, RawMessageStreamEvent, StopReason, TextCitation, TextCitationParam, ThinkingConfigParam, ToolChoice, ToolUnion, WebSearchToolResultBlockContent, WebSearchToolResultBlockParamContent Classes: APIErrorObject, AuthenticationError, Base64ImageSource, Base64PDFSource, BetaAPIError, BetaAuthenticationError, BetaBillingError, BetaErrorResponse, BetaGatewayTimeoutError, BetaInvalidRequestError, BetaNotFoundError, BetaOverloadedError, BetaPermissionError, BetaRateLimitError, BillingError, CacheControlEphemeral, CitationCharLocation, CitationCharLocationParam, CitationContentBlockLocation, CitationContentBlockLocationParam, CitationPageLocation, CitationPageLocationParam, CitationWebSearchResultLocationParam, CitationsConfigParam, CitationsDelta, CitationsWebSearchResultLocation, Completion, CompletionCreateParams, ContentBlockSource, DocumentBlockParam, ErrorResponse, GatewayTimeoutError, ImageBlockParam, InputJSONDelta, InvalidRequestError, Message, MessageCountTokensParams, MessageCreateParams, MessageDeltaUsage, MessageParam, MessageTokensCount, Metadata, ModelInfo, ModelListParams, ModelRetrieveParams, NotFoundError, OverloadedError, PermissionError, PlainTextSource, RateLimitError, RawContentBlockDeltaEvent, RawContentBlockStartEvent, RawContentBlockStopEvent, RawMessageDeltaEvent, RawMessageStartEvent, RawMessageStopEvent, RedactedThinkingBlock, RedactedThinkingBlockParam, ServerToolUsage, ServerToolUseBlock, ServerToolUseBlockParam, SignatureDelta, TextBlock, TextBlockParam, TextDelta, ThinkingBlock, ThinkingBlockParam, ThinkingConfigDisabled, ThinkingConfigEnabled, ThinkingDelta, Tool, ToolBash20250124, ToolChoiceAny, ToolChoiceAuto, ToolChoiceNone, ToolChoiceTool, ToolResultBlockParam, ToolTextEditor20250124, ToolUseBlock, ToolUseBlockParam, URLImageSource, URLPDFSource, Usage, WebSearchResultBlock, WebSearchResultBlockParam, WebSearchTool20250305, WebSearchToolRequestError, WebSearchToolResultBlock, WebSearchToolResultBlockParam, WebSearchToolResultError

Constant Summary collapse

BetaTool =
Beta::BetaTool
BetaUsage =
Beta::BetaUsage
BetaMessage =
Beta::BetaMessage
BetaMetadata =
Beta::BetaMetadata
BetaContainer =
Beta::BetaContainer
BetaModelInfo =
Beta::BetaModelInfo
BetaTextBlock =
Beta::BetaTextBlock
BetaTextDelta =
Beta::BetaTextDelta
BetaToolUnion =
Beta::BetaToolUnion
BetaStopReason =
Beta::BetaStopReason
BetaToolChoice =
Beta::BetaToolChoice
MessageBatch =
Messages::MessageBatch
BetaContentBlock =
Beta::BetaContentBlock
BetaMessageParam =
Beta::BetaMessageParam
BetaTextCitation =
Beta::BetaTextCitation
BetaCacheCreation =
Beta::BetaCacheCreation
BetaThinkingBlock =
Beta::BetaThinkingBlock
BetaThinkingDelta =
Beta::BetaThinkingDelta
BetaToolUseBlock =
Beta::BetaToolUseBlock
BetaURLPDFSource =
Beta::BetaURLPDFSource
BetaCitationsDelta =
Beta::BetaCitationsDelta
BetaSignatureDelta =
Beta::BetaSignatureDelta
BetaToolChoiceAny =
Beta::BetaToolChoiceAny
BetaBase64PDFBlock =
Beta::BetaBase64PDFBlock
BetaInputJSONDelta =
Beta::BetaInputJSONDelta
BetaTextBlockParam =
Beta::BetaTextBlockParam
BetaToolChoiceAuto =
Beta::BetaToolChoiceAuto
BetaToolChoiceNone =
Beta::BetaToolChoiceNone
BetaToolChoiceTool =
Beta::BetaToolChoiceTool
BetaURLImageSource =
Beta::BetaURLImageSource
BetaBase64PDFSource =
Beta::BetaBase64PDFSource
BetaFileImageSource =
Beta::BetaFileImageSource
BetaImageBlockParam =
Beta::BetaImageBlockParam
BetaPlainTextSource =
Beta::BetaPlainTextSource
BetaServerToolUsage =
Beta::BetaServerToolUsage
BetaMCPToolUseBlock =
Beta::BetaMCPToolUseBlock
BetaToolBash20241022 =
Beta::BetaToolBash20241022
BetaToolBash20250124 =
Beta::BetaToolBash20250124
BetaBase64ImageSource =
Beta::BetaBase64ImageSource
BetaContentBlockParam =
Beta::BetaContentBlockParam
BetaMessageDeltaUsage =
Beta::BetaMessageDeltaUsage
BetaTextCitationParam =
Beta::BetaTextCitationParam
MessageBatchResult =
Messages::MessageBatchResult
BetaContentBlockSource =
Beta::BetaContentBlockSource
BetaFileDocumentSource =
Beta::BetaFileDocumentSource
BetaMessageTokensCount =
Beta::BetaMessageTokensCount
BetaThinkingBlockParam =
Beta::BetaThinkingBlockParam
BetaToolUseBlockParam =
Beta::BetaToolUseBlockParam
BetaMCPToolResultBlock =
Beta::BetaMCPToolResultBlock
BetaServerToolUseBlock =
Beta::BetaServerToolUseBlock
BetaThinkingConfigParam =
Beta::BetaThinkingConfigParam
BetaCitationCharLocation =
Beta::BetaCitationCharLocation
BetaCitationPageLocation =
Beta::BetaCitationPageLocation
BetaCitationsConfigParam =
Beta::BetaCitationsConfigParam
BetaContainerUploadBlock =
Beta::BetaContainerUploadBlock
BetaRawMessageStopEvent =
Beta::BetaRawMessageStopEvent
BetaCacheControlEphemeral =
Beta::BetaCacheControlEphemeral
BetaRawContentBlockDelta =
Beta::BetaRawContentBlockDelta
BetaRawMessageDeltaEvent =
Beta::BetaRawMessageDeltaEvent
BetaRawMessageStartEvent =
Beta::BetaRawMessageStartEvent
BetaRedactedThinkingBlock =
Beta::BetaRedactedThinkingBlock
BetaThinkingConfigEnabled =
Beta::BetaThinkingConfigEnabled
BetaToolResultBlockParam =
Beta::BetaToolResultBlockParam
BetaWebSearchResultBlock =
Beta::BetaWebSearchResultBlock
BetaMCPToolUseBlockParam =
Beta::BetaMCPToolUseBlockParam
BetaRawMessageStreamEvent =
Beta::BetaRawMessageStreamEvent
BetaThinkingConfigDisabled =
Beta::BetaThinkingConfigDisabled
BetaWebSearchTool20250305 =
Beta::BetaWebSearchTool20250305
BetaToolTextEditor20241022 =
Beta::BetaToolTextEditor20241022
BetaToolTextEditor20250124 =
Beta::BetaToolTextEditor20250124
BetaToolTextEditor20250429 =
Beta::BetaToolTextEditor20250429
BetaToolComputerUse20241022 =
Beta::BetaToolComputerUse20241022
BetaToolComputerUse20250124 =
Beta::BetaToolComputerUse20250124
BetaCodeExecutionOutputBlock =
Beta::BetaCodeExecutionOutputBlock
BetaCodeExecutionResultBlock =
Beta::BetaCodeExecutionResultBlock
BetaServerToolUseBlockParam =
Beta::BetaServerToolUseBlockParam
MessageBatchErroredResult =
Messages::MessageBatchErroredResult
MessageBatchExpiredResult =
Messages::MessageBatchExpiredResult
MessageBatchRequestCounts =
Messages::MessageBatchRequestCounts
BetaCitationCharLocationParam =
Beta::BetaCitationCharLocationParam
BetaCitationPageLocationParam =
Beta::BetaCitationPageLocationParam
BetaCodeExecutionTool20250522 =
Beta::BetaCodeExecutionTool20250522
BetaContainerUploadBlockParam =
Beta::BetaContainerUploadBlockParam
BetaContentBlockSourceContent =
Beta::BetaContentBlockSourceContent
BetaRawContentBlockStopEvent =
Beta::BetaRawContentBlockStopEvent
BetaWebSearchToolResultBlock =
Beta::BetaWebSearchToolResultBlock
BetaWebSearchToolResultError =
Beta::BetaWebSearchToolResultError
MessageBatchCanceledResult =
Messages::MessageBatchCanceledResult
BetaRawContentBlockDeltaEvent =
Beta::BetaRawContentBlockDeltaEvent
BetaRawContentBlockStartEvent =
Beta::BetaRawContentBlockStartEvent
BetaRedactedThinkingBlockParam =
Beta::BetaRedactedThinkingBlockParam
BetaWebSearchResultBlockParam =
Beta::BetaWebSearchResultBlockParam
BetaWebSearchToolRequestError =
Beta::BetaWebSearchToolRequestError
MessageBatchSucceededResult =
Messages::MessageBatchSucceededResult
BetaCitationContentBlockLocation =
Beta::BetaCitationContentBlockLocation
BetaCodeExecutionToolResultBlock =
Beta::BetaCodeExecutionToolResultBlock
BetaCodeExecutionToolResultError =
Beta::BetaCodeExecutionToolResultError
MessageBatchIndividualResponse =
Messages::MessageBatchIndividualResponse
BetaCodeExecutionOutputBlockParam =
Beta::BetaCodeExecutionOutputBlockParam
BetaCodeExecutionResultBlockParam =
Beta::BetaCodeExecutionResultBlockParam
BetaRequestMCPServerURLDefinition =
Beta::BetaRequestMCPServerURLDefinition
BetaWebSearchToolResultErrorCode =
Beta::BetaWebSearchToolResultErrorCode
BetaWebSearchToolResultBlockParam =
Beta::BetaWebSearchToolResultBlockParam
BetaRequestMCPToolResultBlockParam =
Beta::BetaRequestMCPToolResultBlockParam
BetaCitationsWebSearchResultLocation =
Beta::BetaCitationsWebSearchResultLocation
BetaWebSearchToolResultBlockContent =
Beta::BetaWebSearchToolResultBlockContent
BetaCitationContentBlockLocationParam =
Beta::BetaCitationContentBlockLocationParam
BetaCodeExecutionToolResultErrorCode =
Beta::BetaCodeExecutionToolResultErrorCode
BetaRequestMCPServerToolConfiguration =
Beta::BetaRequestMCPServerToolConfiguration
BetaCodeExecutionToolResultBlockParam =
Beta::BetaCodeExecutionToolResultBlockParam
BetaCodeExecutionToolResultErrorParam =
Beta::BetaCodeExecutionToolResultErrorParam
BetaCodeExecutionToolResultBlockContent =
Beta::BetaCodeExecutionToolResultBlockContent
BetaCitationWebSearchResultLocationParam =
Beta::BetaCitationWebSearchResultLocationParam
BetaWebSearchToolResultBlockParamContent =
Beta::BetaWebSearchToolResultBlockParamContent
BetaCodeExecutionToolResultBlockParamContent =
Beta::BetaCodeExecutionToolResultBlockParamContent

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/beta/beta_tool.rb', line 88

Instance Method Details

#initialize(cited_text: , encrypted_index: , title: , url: , type: :web_search_result_location) ⇒ Object

Parameters:

  • cited_text (String) (defaults to: )
  • encrypted_index (String) (defaults to: )
  • title (String, nil) (defaults to: )
  • url (String) (defaults to: )
  • type (Symbol, :web_search_result_location) (defaults to: :web_search_result_location)


# File 'lib/anthropic/models/beta/beta_message.rb', line 131