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

Copy Markdown View Source

An MCP resource template — a URI template (RFC 6570) for dynamic resources.

Summary

Types

t()

@type t() :: %MCP.Protocol.Types.ResourceTemplate{
  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(),
  title: String.t() | nil,
  uri_template: String.t()
}

Functions

from_map(map)

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