cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::protocol::ResourceContents Struct Reference

One content part returned by resources/read. More...

#include <resource.hpp>

Public Attributes

std::string uri
 URI of the resource content.
 
std::string mime_type
 Optional MIME type of this content part.
 
std::optional< std::string > text
 Text content when the resource is represented as UTF-8 text.
 
std::optional< std::string > blob
 Base64-encoded binary content when the resource is not text.
 
std::optional< Jsonmeta
 Optional _meta extension object preserved on the wire.
 
Json extensions = Json::object()
 Unknown JSON members preserved for forward-compatible round trips.
 

Detailed Description

One content part returned by resources/read.


The documentation for this struct was generated from the following file: