CustomNotification
data class CustomNotification(val method: Method, val params: BaseNotificationParams? = null) : ClientNotification, ServerNotification(source)
Represents a custom notification method that is not part of the core MCP specification.
The MCP protocol allows implementations to define custom methods for extending functionality. This class captures such custom notifications while preserving all their data.