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

Copy Markdown View Source

An embedded resource content block (type: "resource").

Summary

Types

t()

@type t() :: %MCP.Protocol.Types.Content.EmbeddedResource{
  annotations: MCP.Protocol.Types.Annotations.t() | nil,
  meta: map() | nil,
  resource: MCP.Protocol.Types.ResourceContents.t(),
  type: String.t()
}

Functions

from_map(map)

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