toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
search in API
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp
/
ServerNotification
Server
Notification
@
Serializable
(
with
=
ServerNotificationPolymorphicSerializer::class
)
sealed
interface
ServerNotification
:
Notification
(
source
)
Represents a notification sent by the server.
Inheritors
CancelledNotification
UnknownMethodRequestOrNotification
ProgressNotification
ResourceListChangedNotification
ResourceUpdatedNotification
PromptListChangedNotification
ToolListChangedNotification
LoggingMessageNotification
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.