MCP.Protocol.Types.Content.ResourceLink (MCP Elixir SDK v1.1.0)

Copy Markdown View Source

A link to a resource (type: "resource_link").

Summary

Types

t()

@type t() :: %MCP.Protocol.Types.Content.ResourceLink{
  annotations: MCP.Protocol.Types.Annotations.t() | nil,
  description: String.t() | nil,
  icons: [MCP.Protocol.Types.Icon.t()] | nil,
  meta: map() | nil,
  mime_type: String.t() | nil,
  name: String.t(),
  size: non_neg_integer() | nil,
  title: String.t() | nil,
  type: String.t(),
  uri: String.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()