mcp.schema.request.CreateMessageRequest
See theCreateMessageRequest companion object
final case class CreateMessageRequest(messages: List[SamplingMessage], modelPreferences: Option[ModelPreferences], systemPrompt: Option[String], includeContext: Option[ContextInclusionStrategy], temperature: Option[String], maxTokens: Int, stopSequences: Option[Int], metaData: Option[Json]) extends Request
A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.
Attributes
- Companion
- object
- Source
- CreateMessageRequest.scala
- Graph
-
- Supertypes
Members list
In this article