lib/anthropic/models/tool_search_tool_search_result_block.rb



# frozen_string_literal: true

module Anthropic
  module Models
    class ToolSearchToolSearchResultBlock < Anthropic::Internal::Type::BaseModel
      # @!attribute tool_references
      #
      #   @return [Array<Anthropic::Models::ToolReferenceBlock>]
      required :tool_references, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::ToolReferenceBlock] }

      # @!attribute type
      #
      #   @return [Symbol, :tool_search_tool_search_result]
      required :type, const: :tool_search_tool_search_result

      # @!method initialize(tool_references:, type: :tool_search_tool_search_result)
      #   @param tool_references [Array<Anthropic::Models::ToolReferenceBlock>]
      #   @param type [Symbol, :tool_search_tool_search_result]
    end
  end
end