MCP.Protocol.Types.Icon (MCP Elixir SDK v1.1.0)

Copy Markdown View Source

Icon for visual identification of tools, resources, prompts, etc.

Summary

Types

t()

@type t() :: %MCP.Protocol.Types.Icon{
  mime_type: String.t() | nil,
  sizes: [String.t()] | nil,
  src: String.t(),
  theme: String.t() | nil
}

Functions

from_map(map)

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