Phantom.ResourceTemplate (phantom v0.1.1)
View SourceThe Model Context Protocol (MCP) provides a standardized way for servers to expose resources to clients. Resources allow servers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a URI.
https://modelcontextprotocol.io/specification/2025-03-26/server/resources
Summary
Functions
Formats the response from an MCP Router to the MCP specification
Types
@type json() :: %{ :uri => String.t(), :name => String.t(), optional(:description) => String.t(), optional(:mimeType) => String.t(), optional(:size) => pos_integer() }