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

server_tool_use_block_param.py — anthropic-sdk-python Source File

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

File python AnthropicClient 4 imports 3 dependents 1 classes

Entity Profile

Dependency Diagram

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

from .cache_control_ephemeral_param import CacheControlEphemeralParam

__all__ = ["ServerToolUseBlockParam"]


class ServerToolUseBlockParam(TypedDict, total=False):
    id: Required[str]

    input: Required[Dict[str, object]]

    name: Required[Literal["web_search"]]

    type: Required[Literal["server_tool_use"]]

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

Frequently Asked Questions

What does server_tool_use_block_param.py do?
server_tool_use_block_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does server_tool_use_block_param.py depend on?
server_tool_use_block_param.py imports 4 module(s): CacheControlEphemeralParam, cache_control_ephemeral_param.py, typing, typing_extensions.
What files import server_tool_use_block_param.py?
server_tool_use_block_param.py is imported by 3 file(s): __init__.py, content_block_param.py, message_param.py.
Where is server_tool_use_block_param.py in the architecture?
server_tool_use_block_param.py is located at src/anthropic/types/server_tool_use_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