ClaudeCode.Content.Text (ClaudeCode v0.1.0)
View SourceRepresents a text content block within a Claude message.
Text blocks contain plain text content that represents Claude's response or user input.
Summary
Functions
Creates a new Text content block from JSON data.
Type guard to check if a value is a Text content block.
Types
@type t() :: %ClaudeCode.Content.Text{text: String.t(), type: :text}