ReadonlytypeDiscriminator for reasoning content.
Optional ReadonlytextThe text content of the reasoning process.
Optional ReadonlysignatureA cryptographic signature for verification purposes.
Optional ReadonlyredactedThe redacted content of the reasoning process.
Serializes the ReasoningBlock to a JSON-compatible ContentBlockData object. Called automatically by JSON.stringify(). Uint8Array redactedContent is encoded as base64 string.
StaticfromCreates a ReasoningBlock instance from its wrapped data format. Base64-encoded redactedContent is decoded back to Uint8Array.
Wrapped ReasoningBlockData to deserialize (accepts both string and Uint8Array for redactedContent)
ReasoningBlock instance
Reasoning content block within a message.