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

web_search_tool_result_block_param.py — anthropic-sdk-python Source File

Architecture documentation for web_search_tool_result_block_param.py, a python file in the anthropic-sdk-python codebase. 5 imports, 3 dependents.

File python AnthropicClient 5 imports 3 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  bc713565_773a_078e_b2cc_68957946ce78["web_search_tool_result_block_param.py"]
  7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a["cache_control_ephemeral_param.py"]
  bc713565_773a_078e_b2cc_68957946ce78 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a
  f1f58cbf_75c8_98cd_2b10_51b503d83961["CacheControlEphemeralParam"]
  bc713565_773a_078e_b2cc_68957946ce78 --> f1f58cbf_75c8_98cd_2b10_51b503d83961
  0c3c2fcf_49ca_8296_33ed_722396001b6c["web_search_tool_result_block_param_content_param.py"]
  bc713565_773a_078e_b2cc_68957946ce78 --> 0c3c2fcf_49ca_8296_33ed_722396001b6c
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  bc713565_773a_078e_b2cc_68957946ce78 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  bc713565_773a_078e_b2cc_68957946ce78 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> bc713565_773a_078e_b2cc_68957946ce78
  d024297d_e500_1aa5_cd5a_a5f85dd27075["content_block_param.py"]
  d024297d_e500_1aa5_cd5a_a5f85dd27075 --> bc713565_773a_078e_b2cc_68957946ce78
  ee233da2_be45_4f72_f2d1_e5c3132da735["message_param.py"]
  ee233da2_be45_4f72_f2d1_e5c3132da735 --> bc713565_773a_078e_b2cc_68957946ce78
  style bc713565_773a_078e_b2cc_68957946ce78 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 import Optional
from typing_extensions import Literal, Required, TypedDict

from .cache_control_ephemeral_param import CacheControlEphemeralParam
from .web_search_tool_result_block_param_content_param import WebSearchToolResultBlockParamContentParam

__all__ = ["WebSearchToolResultBlockParam"]


class WebSearchToolResultBlockParam(TypedDict, total=False):
    content: Required[WebSearchToolResultBlockParamContentParam]

    tool_use_id: Required[str]

    type: Required[Literal["web_search_tool_result"]]

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

Frequently Asked Questions

What does web_search_tool_result_block_param.py do?
web_search_tool_result_block_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_result_block_param.py depend on?
web_search_tool_result_block_param.py imports 5 module(s): CacheControlEphemeralParam, cache_control_ephemeral_param.py, typing, typing_extensions, web_search_tool_result_block_param_content_param.py.
What files import web_search_tool_result_block_param.py?
web_search_tool_result_block_param.py is imported by 3 file(s): __init__.py, content_block_param.py, message_param.py.
Where is web_search_tool_result_block_param.py in the architecture?
web_search_tool_result_block_param.py is located at src/anthropic/types/web_search_tool_result_block_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