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

DocumentBlockParam Class — anthropic-sdk-python Architecture

Architecture documentation for the DocumentBlockParam class in document_block_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  e85bd722_9087_ac9a_3ec8_fa41ae4ab184["DocumentBlockParam"]
  fa6d4fdc_06a3_f9c7_73f5_b4ab74d2932f["document_block_param.py"]
  e85bd722_9087_ac9a_3ec8_fa41ae4ab184 -->|defined in| fa6d4fdc_06a3_f9c7_73f5_b4ab74d2932f

Relationship Graph

Source Code

src/anthropic/types/document_block_param.py lines 20–32

class DocumentBlockParam(TypedDict, total=False):
    source: Required[Source]

    type: Required[Literal["document"]]

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

    citations: Optional[CitationsConfigParam]

    context: Optional[str]

    title: Optional[str]

Frequently Asked Questions

What is the DocumentBlockParam class?
DocumentBlockParam is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/document_block_param.py.
Where is DocumentBlockParam defined?
DocumentBlockParam is defined in src/anthropic/types/document_block_param.py at line 20.

Analyze Your Own Codebase

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

Try Supermodel Free