|
cxxmcp 1.1.6
C++ MCP SDK
|
JSON-RPC response envelope for either success or failure. More...
#include <types.hpp>
Public Attributes | |
| std::optional< RequestId > | id |
| Response id matching the request id, or absent for parse-level failures. | |
| std::optional< Json > | result |
Successful method result. Mutually exclusive with error. | |
| std::optional< ErrorObject > | error |
JSON-RPC error object. Mutually exclusive with result. | |
| std::optional< Json > | meta |
| Optional protocol metadata associated with the response. | |
JSON-RPC response envelope for either success or failure.