Kory
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kory
core
/
io.kory.core.mcp.rpc
/
JsonRpcRequest
Json
Rpc
Request
@
Serializable
data
class
JsonRpcRequest
(
val
jsonRpc
:
String
=
"2.0"
,
val
id
:
Long
,
val
method
:
String
,
val
params
:
JsonObject
?
=
null
)
Members
Constructors
Json
Rpc
Request
Link copied to clipboard
constructor
(
jsonRpc
:
String
=
"2.0"
,
id
:
Long
,
method
:
String
,
params
:
JsonObject
?
=
null
)
Properties
id
Link copied to clipboard
val
id
:
Long
json
Rpc
Link copied to clipboard
@
SerialName
(
value
=
"jsonrpc"
)
val
jsonRpc
:
String
method
Link copied to clipboard
val
method
:
String
params
Link copied to clipboard
val
params
:
JsonObject
?