Skip to main content

ReasoningContent

Reasoning content for chain-of-thought and extended thinking responses.

Fields

modality
str
required
Must be "reasoning".
value
ReasoningContentValueUnion
required
The reasoning value — either a "thinking" type with content and signature, or a "redacted" type. Use ReasoningContentValueUnion.from_dict() to construct.

Example

JSON: