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

BetaToolComputerUse20241022Param Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaToolComputerUse20241022Param class in beta_tool_computer_use_20241022_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  b68f1218_9c83_b233_239d_e5f3605e928a["BetaToolComputerUse20241022Param"]
  c0e20e16_d529_b607_1acd_9bc9f829d209["beta_tool_computer_use_20241022_param.py"]
  b68f1218_9c83_b233_239d_e5f3605e928a -->|defined in| c0e20e16_d529_b607_1acd_9bc9f829d209

Relationship Graph

Source Code

src/anthropic/types/beta/beta_tool_computer_use_20241022_param.py lines 13–45

class BetaToolComputerUse20241022Param(TypedDict, total=False):
    display_height_px: Required[int]
    """The height of the display in pixels."""

    display_width_px: Required[int]
    """The width of the display in pixels."""

    name: Required[Literal["computer"]]
    """Name of the tool.

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

    type: Required[Literal["computer_20241022"]]

    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.
    """

    display_number: Optional[int]
    """The X11 display number (e.g. 0, 1) for the display."""

    input_examples: Iterable[Dict[str, object]]

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

Frequently Asked Questions

What is the BetaToolComputerUse20241022Param class?
BetaToolComputerUse20241022Param is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_tool_computer_use_20241022_param.py.
Where is BetaToolComputerUse20241022Param defined?
BetaToolComputerUse20241022Param is defined in src/anthropic/types/beta/beta_tool_computer_use_20241022_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