GitHub

ContentBlock

API reference for ContentBlock.

A block of a message; a member this provider does not model (such as citationsContent) is kept as it was sent.

Attributes

AttributeTypeDescription
textstr
toolUseToolUseBlock
toolResultToolResultBlock
reasoningContentReasoningContentBlock
imageImageBlock
documentDocumentBlock
cachePointCachePointBlock