class

MCP::Content::Text

Inherits MCP::Content < JSON::Serializable < Reference < Object

Represents text content within a message to the LLM

Constants

TYPE = "text"

Constructors

new(pull : JSON::PullParser)

Represents text content within a message to the LLM

Source
new(text : String)
Source

Class methods

import(json : JSON::Any)
Source

Instance methods

text
Source