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

web_search_tool_result_error.py — anthropic-sdk-python Source File

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

File python AnthropicClient 2 imports 2 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  a26169a8_3695_5d68_6381_e1af932a9cab["web_search_tool_result_error.py"]
  699c911a_fb78_b883_732f_5ac6bf31d4a3["_models"]
  a26169a8_3695_5d68_6381_e1af932a9cab --> 699c911a_fb78_b883_732f_5ac6bf31d4a3
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  a26169a8_3695_5d68_6381_e1af932a9cab --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> a26169a8_3695_5d68_6381_e1af932a9cab
  512ee609_2176_761b_8ff9_4866a0f9cd0f["web_search_tool_result_block_content.py"]
  512ee609_2176_761b_8ff9_4866a0f9cd0f --> a26169a8_3695_5d68_6381_e1af932a9cab
  style a26169a8_3695_5d68_6381_e1af932a9cab fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

from typing_extensions import Literal

from .._models import BaseModel

__all__ = ["WebSearchToolResultError"]


class WebSearchToolResultError(BaseModel):
    error_code: Literal[
        "invalid_tool_input",
        "unavailable",
        "max_uses_exceeded",
        "too_many_requests",
        "query_too_long",
        "request_too_large",
    ]

    type: Literal["web_search_tool_result_error"]

Dependencies

  • _models
  • typing_extensions

Frequently Asked Questions

What does web_search_tool_result_error.py do?
web_search_tool_result_error.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_result_error.py depend on?
web_search_tool_result_error.py imports 2 module(s): _models, typing_extensions.
What files import web_search_tool_result_error.py?
web_search_tool_result_error.py is imported by 2 file(s): __init__.py, web_search_tool_result_block_content.py.
Where is web_search_tool_result_error.py in the architecture?
web_search_tool_result_error.py is located at src/anthropic/types/web_search_tool_result_error.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