toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
search in API
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp
/
Notification
Notification
@
Serializable
(
with
=
NotificationPolymorphicSerializer::class
)
sealed
interface
Notification
(
source
)
Represents a notification in the protocol.
Inheritors
ClientNotification
ServerNotification
Members
Members & Extensions
Properties
method
Link copied to clipboard
abstract
val
method
:
Method
Functions
to
JSON
Link copied to clipboard
fun
Notification
.
toJSON
(
)
:
JSONRPCNotification
Converts the notification to a JSON-RPC notification.