Skip to content

Type Alias: ContentBlock

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / ContentBlock

ContentBlock = TextBlock | ReasoningBlock | ImageBlock | DocumentBlock | AudioBlock | VideoBlock | BinaryBlock

Defined in: src/types/content.ts:389

Union of all content block types.

Used when a function or property can accept any type of content block.