|
cxxmcp 1.1.6
C++ MCP SDK
|
Input message supplied to a sampling request. More...
#include <sampling.hpp>
Static Public Member Functions | |
| static SamplingMessage | text (std::string role, std::string value) |
| Creates a text-only sampling message for the given role. | |
Public Attributes | |
| std::string | role |
| Message role understood by the sampling client. | |
| ContentBlock | content |
| First or only message content block kept for simple callers. | |
| std::vector< SamplingMessageContent > | contents |
Optional full content list. Empty means content is serialized. | |
| 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. | |
Input message supplied to a sampling request.