mcp.schema.PromptMessage
See thePromptMessage companion object
Describes a message returned as part of a prompt.
This is similar to SamplingMessage
, but also supports the embedding of resources from the MCP server.
Value parameters
- content
-
The content of the message of type Content.
- role
-
The sender or recipient of messages and data in a conversation.
Attributes
- Companion
- object
- Source
- PromptMessage.scala
- Graph
-
- Supertypes
Members list
In this article