mcp.schema.result.CreateMessageResult
See theCreateMessageResult companion object
final case class CreateMessageResult(model: String, stopReason: Option[StopReason], role: Role, content: Content) extends Result, SamplingMessage
The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it.
Attributes
- Companion
- object
- Source
- CreateMessageResult.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SamplingMessagetrait Resultclass Objecttrait Matchableclass Any
Members list
In this article