mcp.schema.ResourceContents.Text
See theText companion object
final case class Text(uri: String, mimeType: String, text: String) extends ResourceContents
Text contents of a resource.
Value parameters
- mimeType
-
the MIME type of this resource.
- text
-
the text of the resource. This must only be set if the resource can actually be represented as text (not binary data).
- uri
-
the URI of this resource.
Attributes
- Companion
- object
- Source
- ResourceContents.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ResourceContentsclass Objecttrait Matchableclass Any
Members list
In this article