Packages

Elixir client for the Anthropic Messages API — typed content blocks, native tool use, streaming, retries.

Current section

Files

Jump to
anthropic_community lib anthropic messages content citation web_search_result_location.ex
Raw

lib/anthropic/messages/content/citation/web_search_result_location.ex

defmodule Anthropic.Messages.Content.Citation.WebSearchResultLocation do
@moduledoc "A citation to a web search result."
defstruct [:cited_text, :encrypted_index, :title, :url]
@type t :: %__MODULE__{
cited_text: String.t(),
encrypted_index: String.t(),
title: String.t() | nil,
url: String.t()
}
end