struct

Anthropic::ResponseTextBlock

Inherits JSON::Serializable < Struct < Value < Object

Response content block for parsing API responses. This is separate from Content::Block which is for building requests.

Constructors

new(text : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

text
Source
type
Source