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
/
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
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.