Debian Codegraph @

src/anthropic/types/thinking_block.py

raw
1 from typing_extensions import Literal
2
3 from .._models import BaseModel
4
5 __all__ = ["ThinkingBlock"]
6
7
8 class ThinkingBlock(BaseModel):
9 signature: str
10 """
11 A value used to verify that this thinking block was generated by Claude when it
12 is passed back to the API.
13
14 This is an opaque field and should not be interpreted or parsed. When passing
15 thinking blocks back to the API (required when using tools with extended
16 thinking), pass them back exactly as received, with this field intact.
17
18 See
19 [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking)
20 for details.
21 """
22
23 thinking: str
24 """The text of Claude's thinking process for this block."""
25
26 type: Literal["thinking"]