beta_mcp_tool_result_block.py — anthropic-sdk-python Source File
Architecture documentation for beta_mcp_tool_result_block.py, a python file in the anthropic-sdk-python codebase. 5 imports, 4 dependents.
Entity Profile
Dependency Diagram
graph LR 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d["beta_mcp_tool_result_block.py"] c14e2467_291d_6c7c_2b25_9a24e81f8565["_models"] 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d --> c14e2467_291d_6c7c_2b25_9a24e81f8565 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c["beta_text_block.py"] 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d --> 4877ad46_3c86_d7b4_2b96_7cbeafa65a2c 4f11b8ba_bf54_4d45_93e0_97854c533b42["BetaTextBlock"] 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d --> 4f11b8ba_bf54_4d45_93e0_97854c533b42 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d --> 37c05070_ca59_d596_7250_de9d1939227f 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"] 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d 24d3a083_86dc_200b_635d_9637016b3ba5["beta_content_block.py"] 24d3a083_86dc_200b_635d_9637016b3ba5 --> 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d 9cc96e8a_38a2_2b93_22c9_6dd25aee6cba["beta_raw_content_block_start_event.py"] 9cc96e8a_38a2_2b93_22c9_6dd25aee6cba --> 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d 91a19aea_7483_201a_3b9c_ae2833f7373f["parsed_beta_message.py"] 91a19aea_7483_201a_3b9c_ae2833f7373f --> 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d style 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Union
from typing_extensions import Literal
from ..._models import BaseModel
from .beta_text_block import BetaTextBlock
__all__ = ["BetaMCPToolResultBlock"]
class BetaMCPToolResultBlock(BaseModel):
content: Union[str, List[BetaTextBlock]]
is_error: bool
tool_use_id: str
type: Literal["mcp_tool_result"]
Domain
Classes
Dependencies
- BetaTextBlock
- _models
- beta_text_block.py
- typing
- typing_extensions
Imported By
Source
Frequently Asked Questions
What does beta_mcp_tool_result_block.py do?
beta_mcp_tool_result_block.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_mcp_tool_result_block.py depend on?
beta_mcp_tool_result_block.py imports 5 module(s): BetaTextBlock, _models, beta_text_block.py, typing, typing_extensions.
What files import beta_mcp_tool_result_block.py?
beta_mcp_tool_result_block.py is imported by 4 file(s): __init__.py, beta_content_block.py, beta_raw_content_block_start_event.py, parsed_beta_message.py.
Where is beta_mcp_tool_result_block.py in the architecture?
beta_mcp_tool_result_block.py is located at src/anthropic/types/beta/beta_mcp_tool_result_block.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