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.prompts
/
GetPromptRequest
Get
Prompt
Request
@
Serializable
@
SerialName
(
value
=
"prompts/get"
)
data
class
GetPromptRequest
(
val
id
:
String
,
val
params
:
GetPromptRequest.GetPromptParams
)
:
JsonRpcRequest
Members
Members & Extensions
Constructors
Get
Prompt
Request
Link copied to clipboard
constructor
(
id
:
String
,
params
:
GetPromptRequest.GetPromptParams
)
Types
Get
Prompt
Params
Link copied to clipboard
@
Serializable
data
class
GetPromptParams
(
val
name
:
String
,
val
arguments
:
Map
<
String
,
String
>
?
=
null
,
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
:
GetPromptRequest.GetPromptParams
Functions
serialize
To
String
Link copied to clipboard
fun
JsonRpcRequest
.
serializeToString
(
)
:
String