GetPromptResult
data class GetPromptResult(val messages: List<PromptMessage>, val description: String? = null, val meta: JsonObject? = null) : ServerResult(source)
The server's response to a GetPromptRequest from the client.
Contains the prompt's messages and optional description. If the prompt was a template, the messages will have arguments already substituted.
Properties
Link copied to clipboard
Link copied to clipboard
An optional description for the prompt, explaining its purpose or usage.
Link copied to clipboard
The list of messages that make up this prompt. Each message has a role (e.g., "user", "assistant") and content.
Link copied to clipboard
Optional metadata for this response.