mcp4k
Toggle table of contents
0.4.8
common
Target filter
common
Switch theme
Search in API
Skip to content
mcp4k
mcp4k-runtime
/
sh.ondr.mcp4k.schema.core
/
PingRequest
Ping
Request
@
Serializable
@
SerialName
(
value
=
"ping"
)
data
class
PingRequest
(
val
id
:
String
,
val
params
:
PingRequest.PingParams
?
=
null
)
:
JsonRpcRequest
Members
Members & Extensions
Constructors
Ping
Request
Link copied to clipboard
constructor
(
id
:
String
,
params
:
PingRequest.PingParams
?
=
null
)
Types
Ping
Params
Link copied to clipboard
@
Serializable
data
class
PingParams
(
val
_meta
:
Map
<
String
,
JsonElement
>
?
=
null
)
Properties
id
Link copied to clipboard
open
override
val
id
:
String
jsonrpc
Link copied to clipboard
val
jsonrpc
:
String
params
Link copied to clipboard
val
params
:
PingRequest.PingParams
?
Functions
serialize
To
String
Link copied to clipboard
fun
JsonRpcRequest
.
serializeToString
(
)
:
String