struct

Anthropic::Message

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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

Instance methods

content
Source
content=(content : String | Array(ContentBlock))
Source
role
Source
role=(role : String)
Source