http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-ai-mcp-core
/
org.http4k.ai.mcp.protocol.messages
/
McpPrompt
Mcp
Prompt
@
JsonSerializable
data
class
McpPrompt
(
val
name
:
PromptName
,
val
description
:
String
?
,
val
title
:
String
?
,
val
arguments
:
List
<
McpPrompt.Argument
>
,
val
icons
:
List
<
Icon
>
?
=
null
)
(
source
)
Members
Constructors
Mcp
Prompt
Link copied to clipboard
constructor
(
name
:
PromptName
,
description
:
String
?
,
title
:
String
?
,
arguments
:
List
<
McpPrompt.Argument
>
,
icons
:
List
<
Icon
>
?
=
null
)
Types
Argument
Link copied to clipboard
@
JsonSerializable
data
class
Argument
(
val
name
:
String
,
val
description
:
String
?
=
null
,
val
title
:
String
?
=
null
,
val
required
:
Boolean
?
=
null
)
Get
Link copied to clipboard
object
Get
List
Link copied to clipboard
object
List
Properties
arguments
Link copied to clipboard
val
arguments
:
List
<
McpPrompt.Argument
>
description
Link copied to clipboard
val
description
:
String
?
icons
Link copied to clipboard
val
icons
:
List
<
Icon
>
?
name
Link copied to clipboard
val
name
:
PromptName
title
Link copied to clipboard
val
title
:
String
?