module

Anthropic::Content::Data

Protocol for content data types. Each content type implements this to define its type and serialization.

Instance methods

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