toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
search in API
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp
/
ServerRequest
Server
Request
sealed
interface
ServerRequest
:
Request
(
source
)
Represents a request sent by the server.
Inheritors
UnknownMethodRequestOrNotification
PingRequest
CreateMessageRequest
ListRootsRequest
Members
Members & Extensions
Properties
method
Link copied to clipboard
abstract
val
method
:
Method
Functions
to
JSON
Link copied to clipboard
fun
Request
.
toJSON
(
)
:
JSONRPCRequest
Converts the request to a JSON-RPC request.