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

BetaMCPToolsetParam Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaMCPToolsetParam class in beta_mcp_toolset_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  234fc17b_e36a_22d0_e698_bef191fcd371["BetaMCPToolsetParam"]
  8cfd8f6e_8b08_74f8_03c8_cc3afc0d6a51["beta_mcp_toolset_param.py"]
  234fc17b_e36a_22d0_e698_bef191fcd371 -->|defined in| 8cfd8f6e_8b08_74f8_03c8_cc3afc0d6a51

Relationship Graph

Source Code

src/anthropic/types/beta/beta_mcp_toolset_param.py lines 15–34

class BetaMCPToolsetParam(TypedDict, total=False):
    """Configuration for a group of tools from an MCP server.

    Allows configuring enabled status and defer_loading for all tools
    from an MCP server, with optional per-tool overrides.
    """

    mcp_server_name: Required[str]
    """Name of the MCP server to configure tools for"""

    type: Required[Literal["mcp_toolset"]]

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

    configs: Optional[Dict[str, BetaMCPToolConfigParam]]
    """Configuration overrides for specific tools, keyed by tool name"""

    default_config: BetaMCPToolDefaultConfigParam
    """Default configuration applied to all tools from this server"""

Frequently Asked Questions

What is the BetaMCPToolsetParam class?
BetaMCPToolsetParam is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_mcp_toolset_param.py.
Where is BetaMCPToolsetParam defined?
BetaMCPToolsetParam is defined in src/anthropic/types/beta/beta_mcp_toolset_param.py at line 15.

Analyze Your Own Codebase

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

Try Supermodel Free