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

Copy Markdown View Source

Base64-encoded image content block.

Summary

Types

t()

@type t() :: %MCP.Protocol.Types.Content.ImageContent{
  annotations: MCP.Protocol.Types.Annotations.t() | nil,
  data: String.t(),
  meta: map() | nil,
  mime_type: String.t(),
  type: String.t()
}

Functions

from_map(map)

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