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

BetaWebFetchTool20250910Param Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaWebFetchTool20250910Param class in beta_web_fetch_tool_20250910_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  9f9febc6_356b_cdd2_4e4a_4da9a4b6b4bd["BetaWebFetchTool20250910Param"]
  f0b53427_a06d_3916_1040_1562c8e2e43a["beta_web_fetch_tool_20250910_param.py"]
  9f9febc6_356b_cdd2_4e4a_4da9a4b6b4bd -->|defined in| f0b53427_a06d_3916_1040_1562c8e2e43a

Relationship Graph

Source Code

src/anthropic/types/beta/beta_web_fetch_tool_20250910_param.py lines 15–57

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

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

    type: Required[Literal["web_fetch_20250910"]]

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

    allowed_domains: Optional[SequenceNotStr[str]]
    """List of domains to allow fetching from"""

    blocked_domains: Optional[SequenceNotStr[str]]
    """List of domains to block fetching from"""

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

    citations: Optional[BetaCitationsConfigParam]
    """Citations configuration for fetched documents.

    Citations are disabled by default.
    """

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

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

    max_content_tokens: Optional[int]
    """Maximum number of tokens used by including web page text content in the context.

    The limit is approximate and does not apply to binary content such as PDFs.
    """

    max_uses: Optional[int]
    """Maximum number of times the tool can be used in the API request."""

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

Frequently Asked Questions

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