struct

Anthropic::Content::TextData

Inherits Anthropic::Content::Data < Struct < Value < Object

Text content data.

Constructors

new(text : String)
Source

Instance methods

content_type
Source
text
Source
to_content_json(json : JSON::Builder) : Nil
Source