|
cxxmcp 1.1.6
C++ MCP SDK
|
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< Icon > | icons |
| Optional icon descriptors for client presentation. | |
| Json | annotations = Json::object() |
| Optional annotations for model or client presentation. | |
| 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. | |
Concrete resource advertised by resources/list.