MCP Kotlin SDK
Toggle table of contents
0.8.1
common
Target filter
common
Switch theme
Search in API
Skip to content
MCP Kotlin SDK
kotlin-sdk-core
/
io.modelcontextprotocol.kotlin.sdk.types
/
RequestId
Request
Id
@
Serializable
(
with
=
RequestIdPolymorphicSerializer::class
)
sealed
interface
RequestId
(
source
)
A uniquely identifying ID for a request in JSON-RPC.
Inheritors
StringId
NumberId
Members
Types
Number
Id
Link copied to clipboard
@
JvmInline
@
Serializable
value
class
NumberId
(
val
value
:
Long
)
:
RequestId
String
Id
Link copied to clipboard
@
JvmInline
@
Serializable
value
class
StringId
(
val
value
:
String
)
:
RequestId