Skip to content

ContentBlockStart

Union Type

ContentBlockStart module-attribute

Content block start information.

Union Member Types

ContentBlockStartToolUse dataclass

Bases: _SerdeShape

Information about a tool that the model is requesting to use.

Attributes

value instance-attribute

ContentBlockStartToolResult dataclass

Bases: _SerdeShape

The

Attributes

value instance-attribute

ContentBlockStartImage dataclass

Bases: _SerdeShape

The initial event indicating the start of a streaming image block.

Attributes

value instance-attribute

ContentBlockStartUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str