ResourceContents

mcp.schema.ResourceContents
See theResourceContents companion trait

Attributes

Companion
trait
Source
ResourceContents.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Blob

Attributes

Companion
class
Source
ResourceContents.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Text

Attributes

Companion
class
Source
ResourceContents.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Text.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala