CreateMessageResult.content

The first (or only) content block, for the common single-block reply. Returns an empty text block when there are no blocks. For tool-use replies (which carry several tool_use blocks) iterate contentBlocks.

  1. Content content()
    struct CreateMessageResult
    const @safe
    content
    ()
  2. void content(Content c)