ContentBlock Polymorphism (9 Variants)

Description

The ContentBlock discriminated union has 9 variants per Southbridge's source analysis: TextBlock, ImageBlock, ToolUseBlock, ToolResultBlock, ThinkingBlock (standard); DocumentBlock, VideoBlock (platform-specific); GuardContentBlock (safety classifier content annotation); ReasoningBlock, CachePointBlock (prompt cache insertion marker). Several are platform-specific and undocumented in the public API reference.

Key claims

Relations

Sources

src-20260423-542f02260352