toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
search in API
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp
/
ClientRequest
Client
Request
interface
ClientRequest
:
Request
(
source
)
Represents a request sent by the client.
Inheritors
UnknownMethodRequestOrNotification
InitializeRequest
PingRequest
ListResourcesRequest
ListResourceTemplatesRequest
ReadResourceRequest
SubscribeRequest
UnsubscribeRequest
ListPromptsRequest
GetPromptRequest
ListToolsRequest
CallToolRequest
SetLevelRequest
CompleteRequest
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.