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

beta_request_mcp_tool_result_block_param.py — anthropic-sdk-python Source File

Architecture documentation for beta_request_mcp_tool_result_block_param.py, a python file in the anthropic-sdk-python codebase. 6 imports, 2 dependents.

File python AnthropicClient 6 imports 2 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  c1a12dae_cdab_3198_bcc4_91edbaa6531f["beta_request_mcp_tool_result_block_param.py"]
  981a6838_8731_39fa_dba6_114390ae70a5["beta_text_block_param.py"]
  c1a12dae_cdab_3198_bcc4_91edbaa6531f --> 981a6838_8731_39fa_dba6_114390ae70a5
  5df8d9cb_bf73_10cb_4362_944551b939e3["BetaTextBlockParam"]
  c1a12dae_cdab_3198_bcc4_91edbaa6531f --> 5df8d9cb_bf73_10cb_4362_944551b939e3
  7f8d7959_fc6b_abea_1699_22d7bacf0e36["beta_cache_control_ephemeral_param.py"]
  c1a12dae_cdab_3198_bcc4_91edbaa6531f --> 7f8d7959_fc6b_abea_1699_22d7bacf0e36
  ce118409_a754_2cd2_0d3e_e696b6fe190d["BetaCacheControlEphemeralParam"]
  c1a12dae_cdab_3198_bcc4_91edbaa6531f --> ce118409_a754_2cd2_0d3e_e696b6fe190d
  9e729a88_70db_e7d4_5fad_450d4231b13f["typing"]
  c1a12dae_cdab_3198_bcc4_91edbaa6531f --> 9e729a88_70db_e7d4_5fad_450d4231b13f
  6a9d955d_2702_df7b_b21c_68d8602620ed["typing_extensions"]
  c1a12dae_cdab_3198_bcc4_91edbaa6531f --> 6a9d955d_2702_df7b_b21c_68d8602620ed
  2f407a13_f2d9_e28f_3101_8d800d8f5c5f["__init__.py"]
  2f407a13_f2d9_e28f_3101_8d800d8f5c5f --> c1a12dae_cdab_3198_bcc4_91edbaa6531f
  16414ac8_b3fd_be93_7bb8_ee043420e412["beta_content_block_param.py"]
  16414ac8_b3fd_be93_7bb8_ee043420e412 --> c1a12dae_cdab_3198_bcc4_91edbaa6531f
  style c1a12dae_cdab_3198_bcc4_91edbaa6531f 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, TypedDict

from .beta_text_block_param import BetaTextBlockParam
from .beta_cache_control_ephemeral_param import BetaCacheControlEphemeralParam

__all__ = ["BetaRequestMCPToolResultBlockParam"]


class BetaRequestMCPToolResultBlockParam(TypedDict, total=False):
    tool_use_id: Required[str]

    type: Required[Literal["mcp_tool_result"]]

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

    content: Union[str, Iterable[BetaTextBlockParam]]

    is_error: bool

Frequently Asked Questions

What does beta_request_mcp_tool_result_block_param.py do?
beta_request_mcp_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_request_mcp_tool_result_block_param.py depend on?
beta_request_mcp_tool_result_block_param.py imports 6 module(s): BetaCacheControlEphemeralParam, BetaTextBlockParam, beta_cache_control_ephemeral_param.py, beta_text_block_param.py, typing, typing_extensions.
What files import beta_request_mcp_tool_result_block_param.py?
beta_request_mcp_tool_result_block_param.py is imported by 2 file(s): __init__.py, beta_content_block_param.py.
Where is beta_request_mcp_tool_result_block_param.py in the architecture?
beta_request_mcp_tool_result_block_param.py is located at src/anthropic/types/beta/beta_request_mcp_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