mcp.schema.ResourceContents
See theResourceContents companion trait
object ResourceContents
Attributes
- Companion
- trait
- Source
- ResourceContents.scala
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ResourceContents.type
Members list
Type members
Classlikes
final case class Blob(uri: String, mimeType: String, blob: String) extends ResourceContents
Binary contents of a resource.
Binary contents of a resource.
Value parameters
- blob
-
a base64-encoded string representing the binary data of the resource. This must only be set if the resource can actually be represented as binary data (not text).
- mimeType
-
the MIME type of this resource.
- uri
-
the URI of this resource.
Attributes
- Companion
- object
- Source
- ResourceContents.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ResourceContentsclass Objecttrait Matchableclass AnyShow all
object Blob
Attributes
- Companion
- class
- Source
- ResourceContents.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Blob.type
final case class Text(uri: String, mimeType: String, text: String) extends ResourceContents
Text contents of a resource.
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
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ResourceContentsclass Objecttrait Matchableclass AnyShow all
object Text
Attributes
- Companion
- class
- Source
- ResourceContents.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Text.type
Inherited and Abstract types
The names of the product elements
The name of the type
Givens
In this article