v0.3.0-alpha.31 · Interface
content
Content types and structures for MCP messages.
This interface defines the content blocks that can be included in MCP messages, mapping directly to the ContentBlock type union in the MCP specification.
See: https://modelcontextprotocol.io/specification/2025-06-18/schema#contentblock
Records
R
annotations
ROptional annotations for the client.
content-options
ROptions for content blocks.
text-content
RText provided to or from an LLM.
image-content
RAn image provided to or from an LLM.
audio-content
RAudio provided to or from an LLM.
resource-link-content-options
ROptions for resource link content.
resource-link-content
RA resource that the server is capable of reading, included in a prompt or tool call result.
embedded-resource-options
ROptions for embedded resources.
text-resource-contents
RText resource contents.
blob-resource-contents
RBinary resource contents.
embedded-resource-content
Embedded resource with content options.