GetPromptResult

mcp.schema.McpSchema.GetPromptResult
See theGetPromptResult companion object
final case class GetPromptResult(description: Option[String], messages: List[PromptMessage])

The server's response to a prompts/get request from the client.

Value parameters

description

An optional description for the prompt.

messages

A list of messages to display as part of the prompt.

Attributes

Companion
object
Source
McpSchema.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product