Text

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product