toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
search in API
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp
/
ClientNotification
Client
Notification
@
Serializable
(
with
=
ClientNotificationPolymorphicSerializer::class
)
sealed
interface
ClientNotification
:
Notification
(
source
)
Represents a notification sent by the client.
Inheritors
CancelledNotification
UnknownMethodRequestOrNotification
InitializedNotification
ProgressNotification
RootsListChangedNotification
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.