|
cxxmcp 1.1.6
C++ MCP SDK
|
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< Json > | meta |
Optional _meta extension object preserved on the wire. | |
| Json | extensions = Json::object() |
| Unknown JSON members preserved for forward-compatible round trips. | |
One content part returned by resources/read.