Home / File/ beta_tool_reference_block_param.py — anthropic-sdk-python Source File

beta_tool_reference_block_param.py — anthropic-sdk-python Source File

Architecture documentation for beta_tool_reference_block_param.py, a python file in the anthropic-sdk-python codebase. 4 imports, 3 dependents.

File python AnthropicClient 4 imports 3 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  777afe6e_f4eb_206c_e51b_6b6bca929d87["beta_tool_reference_block_param.py"]
  2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a["beta_cache_control_ephemeral_param.py"]
  777afe6e_f4eb_206c_e51b_6b6bca929d87 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a
  f588de01_21b5_50f2_ffbb_cc9a67f33921["BetaCacheControlEphemeralParam"]
  777afe6e_f4eb_206c_e51b_6b6bca929d87 --> f588de01_21b5_50f2_ffbb_cc9a67f33921
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  777afe6e_f4eb_206c_e51b_6b6bca929d87 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  777afe6e_f4eb_206c_e51b_6b6bca929d87 --> 37c05070_ca59_d596_7250_de9d1939227f
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"]
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> 777afe6e_f4eb_206c_e51b_6b6bca929d87
  30a04331_510b_4ad3_a38f_41421fe7bf18["beta_tool_result_block_param.py"]
  30a04331_510b_4ad3_a38f_41421fe7bf18 --> 777afe6e_f4eb_206c_e51b_6b6bca929d87
  1c1fb8ef_2afc_6468_29b1_b5eb304c2d56["beta_tool_search_tool_search_result_block_param.py"]
  1c1fb8ef_2afc_6468_29b1_b5eb304c2d56 --> 777afe6e_f4eb_206c_e51b_6b6bca929d87
  style 777afe6e_f4eb_206c_e51b_6b6bca929d87 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing import Optional
from typing_extensions import Literal, Required, TypedDict

from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam

__all__ = ["BetaToolReferenceBlockParam"]


class BetaToolReferenceBlockParam(TypedDict, total=False):
    """Tool reference block that can be included in tool_result content."""

    tool_name: Required[str]

    type: Required[Literal["tool_reference"]]

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

Frequently Asked Questions

What does beta_tool_reference_block_param.py do?
beta_tool_reference_block_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_tool_reference_block_param.py depend on?
beta_tool_reference_block_param.py imports 4 module(s): BetaCacheControlEphemeralParam, beta_cache_control_ephemeral_param.py, typing, typing_extensions.
What files import beta_tool_reference_block_param.py?
beta_tool_reference_block_param.py is imported by 3 file(s): __init__.py, beta_tool_result_block_param.py, beta_tool_search_tool_search_result_block_param.py.
Where is beta_tool_reference_block_param.py in the architecture?
beta_tool_reference_block_param.py is located at src/anthropic/types/beta/beta_tool_reference_block_param.py (domain: AnthropicClient, directory: src/anthropic/types/beta).

Analyze Your Own Codebase

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

Try Supermodel Free