beta_tool_result_block_param.py — anthropic-sdk-python Source File
Architecture documentation for beta_tool_result_block_param.py, a python file in the anthropic-sdk-python codebase. 14 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR 30a04331_510b_4ad3_a38f_41421fe7bf18["beta_tool_result_block_param.py"] e3e3b937_6204_475f_da4d_9546b2f9d538["beta_text_block_param.py"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> e3e3b937_6204_475f_da4d_9546b2f9d538 c831ea54_a26f_8081_0728_cafa74e2e189["BetaTextBlockParam"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> c831ea54_a26f_8081_0728_cafa74e2e189 f054645d_1099_0773_edd9_9f613b9ff9c2["beta_image_block_param.py"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> f054645d_1099_0773_edd9_9f613b9ff9c2 bcaa391b_e07a_1e73_9487_12feb03cfa3b["BetaImageBlockParam"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> bcaa391b_e07a_1e73_9487_12feb03cfa3b d39314eb_530e_def0_5fe3_862c7208c56e["beta_search_result_block_param.py"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> d39314eb_530e_def0_5fe3_862c7208c56e 2c150e8a_6b1c_3b77_d0ea_ff5203889e6d["BetaSearchResultBlockParam"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> 2c150e8a_6b1c_3b77_d0ea_ff5203889e6d 777afe6e_f4eb_206c_e51b_6b6bca929d87["beta_tool_reference_block_param.py"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> 777afe6e_f4eb_206c_e51b_6b6bca929d87 d438a518_d731_54a8_6a92_b7b4d6c45694["BetaToolReferenceBlockParam"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> d438a518_d731_54a8_6a92_b7b4d6c45694 2a38c83e_f997_210b_c58a_f947e0752866["beta_request_document_block_param.py"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> 2a38c83e_f997_210b_c58a_f947e0752866 146d7116_d740_018e_9982_b27e93eecc9a["BetaRequestDocumentBlockParam"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> 146d7116_d740_018e_9982_b27e93eecc9a 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a["beta_cache_control_ephemeral_param.py"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> 2bc64f58_a0bc_b0fb_ccb0_7002d8485a3a f588de01_21b5_50f2_ffbb_cc9a67f33921["BetaCacheControlEphemeralParam"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> f588de01_21b5_50f2_ffbb_cc9a67f33921 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] 30a04331_510b_4ad3_a38f_41421fe7bf18 --> 37c05070_ca59_d596_7250_de9d1939227f style 30a04331_510b_4ad3_a38f_41421fe7bf18 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 Union, Iterable, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from .beta_text_block_param import BetaTextBlockParam
from .beta_image_block_param import BetaImageBlockParam
from .beta_search_result_block_param import BetaSearchResultBlockParam
from .beta_tool_reference_block_param import BetaToolReferenceBlockParam
from .beta_request_document_block_param import BetaRequestDocumentBlockParam
from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam
__all__ = ["BetaToolResultBlockParam", "Content"]
Content: TypeAlias = Union[
BetaTextBlockParam,
BetaImageBlockParam,
BetaSearchResultBlockParam,
BetaRequestDocumentBlockParam,
BetaToolReferenceBlockParam,
]
class BetaToolResultBlockParam(TypedDict, total=False):
tool_use_id: Required[str]
type: Required[Literal["tool_result"]]
cache_control: Optional[BetaCacheControlEphemeralParam]
"""Create a cache control breakpoint at this content block."""
content: Union[str, Iterable[Content]]
is_error: bool
Domain
Classes
Dependencies
- BetaCacheControlEphemeralParam
- BetaImageBlockParam
- BetaRequestDocumentBlockParam
- BetaSearchResultBlockParam
- BetaTextBlockParam
- BetaToolReferenceBlockParam
- beta_cache_control_ephemeral_param.py
- beta_image_block_param.py
- beta_request_document_block_param.py
- beta_search_result_block_param.py
- beta_text_block_param.py
- beta_tool_reference_block_param.py
- typing
- typing_extensions
Imported By
Source
Frequently Asked Questions
What does beta_tool_result_block_param.py do?
beta_tool_result_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_result_block_param.py depend on?
beta_tool_result_block_param.py imports 14 module(s): BetaCacheControlEphemeralParam, BetaImageBlockParam, BetaRequestDocumentBlockParam, BetaSearchResultBlockParam, BetaTextBlockParam, BetaToolReferenceBlockParam, beta_cache_control_ephemeral_param.py, beta_image_block_param.py, and 6 more.
What files import beta_tool_result_block_param.py?
beta_tool_result_block_param.py is imported by 2 file(s): __init__.py, beta_content_block_param.py.
Where is beta_tool_result_block_param.py in the architecture?
beta_tool_result_block_param.py is located at src/anthropic/types/beta/beta_tool_result_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