Class ThinkingContent
Represents a "thinking" content block returned by Anthropic models. This block contains the model's hidden chain-of-thought / reasoning data (which Anthropic may expose under controlled settings).
public class ThinkingContent : ContentBlock
- Inheritance
-
objectThinkingContent
Properties
Signature
A cryptographic signature provided by Anthropic to verify the integrity and authenticity of the "thinking" block. Ensures that the reasoning content was not tampered with in transit.
public string Signature { get; set; }
Property Value
- string
Thinking
The actual reasoning text ("thinking") generated by the model. This is usually not intended for end-user display, but may be returned in specialized Anthropic APIs for analysis/debugging.
public string Thinking { get; set; }
Property Value
- string
Type
The content type is fixed to "Thinking", identifying this block as reasoning/thought content.
public override ContentType Type { get; }
Property Value
Methods
FromReasoning(Reasoning)
public static ThinkingContent FromReasoning(Reasoning reasoning)
Parameters
reasoningReasoning
Returns
ToReasoning()
public Reasoning ToReasoning()