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

Concrete resource advertised by resources/list. More...

#include <resource.hpp>

Public Attributes

std::string title
 Optional human-readable display title.
 
std::string uri
 Stable URI used by resources/read and subscription methods.
 
std::string name
 Stable resource name.
 
std::string description
 Optional human-readable description.
 
std::string mime_type
 Optional MIME type for the resource contents.
 
std::optional< std::int64_t > size
 Optional size hint in bytes when known.
 
std::vector< Iconicons
 Optional icon descriptors for client presentation.
 
Json annotations = Json::object()
 Optional annotations for model or client presentation.
 
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

Concrete resource advertised by resources/list.


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