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