Prompt
data class Prompt(val name: String, val description: String? = null, val arguments: List<PromptArgument>? = null, val title: String? = null, val icons: List<Icon>? = null, val meta: JsonObject? = null) : WithMeta(source)
A prompt or prompt template that the server offers.
Prompts can be static messages or templates that accept arguments for dynamic content generation.
Constructors
Link copied to clipboard
constructor(name: String, description: String? = null, arguments: List<PromptArgument>? = null, title: String? = null, icons: List<Icon>? = null, meta: JsonObject? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Optional list of arguments to use for templating the prompt. If present, the prompt is a template that requires these arguments to be filled in.
Link copied to clipboard
An optional description of what this prompt provides and when to use it.
Link copied to clipboard
Optional metadata for this prompt.