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

URI template advertised by resources/templates/list. More...

#include <resource.hpp>

Public Attributes

std::string title
 Optional human-readable display title.
 
std::string uri_template
 URI template string that can be expanded into concrete resource URIs.
 
std::string name
 Stable template name.
 
std::string description
 Optional human-readable description.
 
std::string mime_type
 Optional MIME type expected for matching resources.
 
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

URI template advertised by resources/templates/list.


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