MCP Kotlin SDK
Toggle table of contents
0.7.0
common
Platform filter
common
Switch theme
Search in API
MCP Kotlin SDK
kotlin-sdk-core
/
io.modelcontextprotocol.kotlin.sdk
/
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
params
Link copied to clipboard
abstract
val
params
:
NotificationParams
?
Functions
to
JSON
Link copied to clipboard
fun
Notification
.
toJSON
(
)
:
JSONRPCNotification
Converts the notification to a JSON-RPC notification.