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
/
ServerRequest
Server
Request
sealed
interface
ServerRequest
:
Request
(
source
)
Represents a request sent by the server.
Inheritors
UnknownMethodRequestOrNotification
PingRequest
CreateMessageRequest
ListRootsRequest
CreateElicitationRequest
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.