beta_tool_use_block_param.py — anthropic-sdk-python Source File
Architecture documentation for beta_tool_use_block_param.py, a python file in the anthropic-sdk-python codebase. 8 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR c16c2764_6239_899b_d839_0ecf94f30e7c["beta_tool_use_block_param.py"] 35a54c3e_21be_12f5_12e3_c9f462a49d59["beta_direct_caller_param.py"] c16c2764_6239_899b_d839_0ecf94f30e7c --> 35a54c3e_21be_12f5_12e3_c9f462a49d59 260cd370_ec0b_f70f_0d97_ffdc0913c18c["BetaDirectCallerParam"] c16c2764_6239_899b_d839_0ecf94f30e7c --> 260cd370_ec0b_f70f_0d97_ffdc0913c18c 141e7996_97ab_6ee2_b234_895bc14dadde["beta_server_tool_caller_param.py"] c16c2764_6239_899b_d839_0ecf94f30e7c --> 141e7996_97ab_6ee2_b234_895bc14dadde 70794909_7001_6b57_49e4_cd29311af7c7["BetaServerToolCallerParam"] c16c2764_6239_899b_d839_0ecf94f30e7c --> 70794909_7001_6b57_49e4_cd29311af7c7 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a["beta_cache_control_ephemeral_param.py"] c16c2764_6239_899b_d839_0ecf94f30e7c --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a f588de01_21b5_50f2_ffbb_cc9a67f33921["BetaCacheControlEphemeralParam"] c16c2764_6239_899b_d839_0ecf94f30e7c --> f588de01_21b5_50f2_ffbb_cc9a67f33921 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] c16c2764_6239_899b_d839_0ecf94f30e7c --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] c16c2764_6239_899b_d839_0ecf94f30e7c --> 37c05070_ca59_d596_7250_de9d1939227f 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"] 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> c16c2764_6239_899b_d839_0ecf94f30e7c 83c03c28_4e95_07bb_9ff5_cf553b7552b6["beta_content_block_param.py"] 83c03c28_4e95_07bb_9ff5_cf553b7552b6 --> c16c2764_6239_899b_d839_0ecf94f30e7c style c16c2764_6239_899b_d839_0ecf94f30e7c 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 Dict, Union, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from .beta_direct_caller_param import BetaDirectCallerParam
from .beta_server_tool_caller_param import BetaServerToolCallerParam
from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
__all__ = ["BetaToolUseBlockParam", "Caller"]
Caller: TypeAlias = Union[BetaDirectCallerParam, BetaServerToolCallerParam]
class BetaToolUseBlockParam(TypedDict, total=False):
id: Required[str]
input: Required[Dict[str, object]]
name: Required[str]
type: Required[Literal["tool_use"]]
cache_control: Optional[BetaCacheControlEphemeralParam]
"""Create a cache control breakpoint at this content block."""
caller: Caller
"""Tool invocation directly from the model."""
Domain
Classes
Dependencies
Imported By
Source
Frequently Asked Questions
What does beta_tool_use_block_param.py do?
beta_tool_use_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_use_block_param.py depend on?
beta_tool_use_block_param.py imports 8 module(s): BetaCacheControlEphemeralParam, BetaDirectCallerParam, BetaServerToolCallerParam, beta_cache_control_ephemeral_param.py, beta_direct_caller_param.py, beta_server_tool_caller_param.py, typing, typing_extensions.
What files import beta_tool_use_block_param.py?
beta_tool_use_block_param.py is imported by 2 file(s): __init__.py, beta_content_block_param.py.
Where is beta_tool_use_block_param.py in the architecture?
beta_tool_use_block_param.py is located at src/anthropic/types/beta/beta_tool_use_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