NAME

Claude::Agent::Content::Text - Text content block

DESCRIPTION

A text content block containing Claude's response text.

ATTRIBUTES

type

Always text. Read only.

text

The text content.

raw

The decoded block as the CLI sent it, when the object was built by Claude::Agent::Content->from_json. Keys the class does not declare are reachable here.

METHODS

new

Takes a flat list of name/value pairs. Unknown names are ignored.

AUTHOR

LNATION, <email at lnation.org>

LICENSE

This software is Copyright (c) 2026 by LNATION.

This is free software, licensed under The Artistic License 2.0 (GPL Compatible).