struct

Anthropic::TextContent

Inherits JSON::Serializable < Struct < Value < Object

Text content block

Constructors

new(text : String, cache_control : CacheControl | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cache_control
Source
text
Source
type
Source