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

BetaCodeExecutionTool20250522Param Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaCodeExecutionTool20250522Param class in beta_code_execution_tool_20250522_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  9af53849_0bba_6f06_e922_ed9f90177c8b["BetaCodeExecutionTool20250522Param"]
  046d318f_a333_d0f3_6026_5380ca3edb69["beta_code_execution_tool_20250522_param.py"]
  9af53849_0bba_6f06_e922_ed9f90177c8b -->|defined in| 046d318f_a333_d0f3_6026_5380ca3edb69

Relationship Graph

Source Code

src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py lines 13–34

class BetaCodeExecutionTool20250522Param(TypedDict, total=False):
    name: Required[Literal["code_execution"]]
    """Name of the tool.

    This is how the tool will be called by the model and in `tool_use` blocks.
    """

    type: Required[Literal["code_execution_20250522"]]

    allowed_callers: List[Literal["direct", "code_execution_20250825"]]

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

    defer_loading: bool
    """If true, tool will not be included in initial system prompt.

    Only loaded when returned via tool_reference from tool search.
    """

    strict: bool
    """When true, guarantees schema validation on tool names and inputs"""

Frequently Asked Questions

What is the BetaCodeExecutionTool20250522Param class?
BetaCodeExecutionTool20250522Param is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py.
Where is BetaCodeExecutionTool20250522Param defined?
BetaCodeExecutionTool20250522Param is defined in src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py at line 13.

Analyze Your Own Codebase

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

Try Supermodel Free