Namespace Nexus\Mcp\Core\Schema\Enum

Enums
CacheScope

Indicates the intended scope of the cached response, analogous to HTTP Cache-Control: public vs Cache-Control: private.

ElicitAction

The user action in response to an elicitation request.

LoggingLevel

The severity of a log message. These map to syslog message severities, as specified in RFC-5424: https://datatracker.ietf.org/doc/html/rfc5424#section-6.2.1

ProtocolErrorCode

Error codes for protocol errors that are transmitted as JSON-RPC error responses.

ResultType

Indicates the type of a Result object, allowing the client to determine how to parse the response. complete - the request completed successfully and the result contains the final content. input_required - the request requires additional input and the result contains an InputRequiredResult object with instructions for the client to provide additional input before retrying the original request.

Role

The sender or recipient of messages and data in a conversation.

SdkErrorCode

JSON-RPC error codes this SDK allocates for itself, from the -32000 to -32019 range MCP partitions for implementation-defined use. The specification never defines codes there, and a receiver must not read cross-implementation meaning into them. The counterpart holding spec-defined codes is ProtocolErrorCode.