Home / Class/ TextBlockParam Class — anthropic-sdk-python Architecture

TextBlockParam Class — anthropic-sdk-python Architecture

Architecture documentation for the TextBlockParam class in text_block_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  2bf44e5b_0987_db82_09a9_ca08ad9d6f15["TextBlockParam"]
  ad175324_e5f5_a13e_bfab_419a3f7bb8cf["text_block_param.py"]
  2bf44e5b_0987_db82_09a9_ca08ad9d6f15 -->|defined in| ad175324_e5f5_a13e_bfab_419a3f7bb8cf

Relationship Graph

Source Code

src/anthropic/types/text_block_param.py lines 14–22

class TextBlockParam(TypedDict, total=False):
    text: Required[str]

    type: Required[Literal["text"]]

    cache_control: Optional[CacheControlEphemeralParam]
    """Create a cache control breakpoint at this content block."""

    citations: Optional[Iterable[TextCitationParam]]

Frequently Asked Questions

What is the TextBlockParam class?
TextBlockParam is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/text_block_param.py.
Where is TextBlockParam defined?
TextBlockParam is defined in src/anthropic/types/text_block_param.py at line 14.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free