Home / File/ web_search_tool_request_error_param.py — anthropic-sdk-python Source File

web_search_tool_request_error_param.py — anthropic-sdk-python Source File

Architecture documentation for web_search_tool_request_error_param.py, a python file in the anthropic-sdk-python codebase. 1 imports, 2 dependents.

File python AnthropicClient 1 imports 2 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  4ca58436_d308_9063_8da6_a278b628e529["web_search_tool_request_error_param.py"]
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  4ca58436_d308_9063_8da6_a278b628e529 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> 4ca58436_d308_9063_8da6_a278b628e529
  0c3c2fcf_49ca_8296_33ed_722396001b6c["web_search_tool_result_block_param_content_param.py"]
  0c3c2fcf_49ca_8296_33ed_722396001b6c --> 4ca58436_d308_9063_8da6_a278b628e529
  style 4ca58436_d308_9063_8da6_a278b628e529 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing_extensions import Literal, Required, TypedDict

__all__ = ["WebSearchToolRequestErrorParam"]


class WebSearchToolRequestErrorParam(TypedDict, total=False):
    error_code: Required[
        Literal[
            "invalid_tool_input",
            "unavailable",
            "max_uses_exceeded",
            "too_many_requests",
            "query_too_long",
            "request_too_large",
        ]
    ]

    type: Required[Literal["web_search_tool_result_error"]]

Dependencies

  • typing_extensions

Frequently Asked Questions

What does web_search_tool_request_error_param.py do?
web_search_tool_request_error_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does web_search_tool_request_error_param.py depend on?
web_search_tool_request_error_param.py imports 1 module(s): typing_extensions.
What files import web_search_tool_request_error_param.py?
web_search_tool_request_error_param.py is imported by 2 file(s): __init__.py, web_search_tool_result_block_param_content_param.py.
Where is web_search_tool_request_error_param.py in the architecture?
web_search_tool_request_error_param.py is located at src/anthropic/types/web_search_tool_request_error_param.py (domain: AnthropicClient, directory: src/anthropic/types).

Analyze Your Own Codebase

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

Try Supermodel Free