Home / Class/ BetaMCPToolResultBlock Class — anthropic-sdk-python Architecture

BetaMCPToolResultBlock Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaMCPToolResultBlock class in beta_mcp_tool_result_block.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  f0b188cf_c346_82d9_0146_acb71aed9402["BetaMCPToolResultBlock"]
  17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"]
  f0b188cf_c346_82d9_0146_acb71aed9402 -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1
  774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d["beta_mcp_tool_result_block.py"]
  f0b188cf_c346_82d9_0146_acb71aed9402 -->|defined in| 774aa6ad_6c0d_d8ed_9ac4_90e4567b6f6d

Relationship Graph

Source Code

src/anthropic/types/beta/beta_mcp_tool_result_block.py lines 12–19

class BetaMCPToolResultBlock(BaseModel):
    content: Union[str, List[BetaTextBlock]]

    is_error: bool

    tool_use_id: str

    type: Literal["mcp_tool_result"]

Extends

Frequently Asked Questions

What is the BetaMCPToolResultBlock class?
BetaMCPToolResultBlock is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_mcp_tool_result_block.py.
Where is BetaMCPToolResultBlock defined?
BetaMCPToolResultBlock is defined in src/anthropic/types/beta/beta_mcp_tool_result_block.py at line 12.
What does BetaMCPToolResultBlock extend?
BetaMCPToolResultBlock extends BaseModel.

Analyze Your Own Codebase

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

Try Supermodel Free