ContentBlock¶
Structure Class¶
ContentBlock
dataclass
¶
A block of content in a response.
Attributes¶
data
class-attribute
instance-attribute
¶
data: bytes | None = None
The binary data content of the block.
description
class-attribute
instance-attribute
¶
description: str | None = None
The description of the content block.
mime_type
class-attribute
instance-attribute
¶
mime_type: str | None = None
The MIME type of the content.
resource
class-attribute
instance-attribute
¶
resource: ResourceContent | None = None
The resource associated with the content block.