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

tool_use_block.py — anthropic-sdk-python Source File

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

File python AnthropicClient 3 imports 4 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  e3429280_22da_46a4_ce98_8cc1a41b5e09["tool_use_block.py"]
  699c911a_fb78_b883_732f_5ac6bf31d4a3["_models"]
  e3429280_22da_46a4_ce98_8cc1a41b5e09 --> 699c911a_fb78_b883_732f_5ac6bf31d4a3
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  e3429280_22da_46a4_ce98_8cc1a41b5e09 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  e3429280_22da_46a4_ce98_8cc1a41b5e09 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> e3429280_22da_46a4_ce98_8cc1a41b5e09
  713c0742_3b61_ba8f_1fce_05bd03381fe5["content_block.py"]
  713c0742_3b61_ba8f_1fce_05bd03381fe5 --> e3429280_22da_46a4_ce98_8cc1a41b5e09
  3c1d116b_af29_e9f2_495b_ceebd1febd18["parsed_message.py"]
  3c1d116b_af29_e9f2_495b_ceebd1febd18 --> e3429280_22da_46a4_ce98_8cc1a41b5e09
  1075c573_f7d2_f9fe_8f9b_b13ea8298ac2["raw_content_block_start_event.py"]
  1075c573_f7d2_f9fe_8f9b_b13ea8298ac2 --> e3429280_22da_46a4_ce98_8cc1a41b5e09
  style e3429280_22da_46a4_ce98_8cc1a41b5e09 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 import Dict
from typing_extensions import Literal

from .._models import BaseModel

__all__ = ["ToolUseBlock"]


class ToolUseBlock(BaseModel):
    id: str

    input: Dict[str, object]

    name: str

    type: Literal["tool_use"]

Classes

Dependencies

  • _models
  • typing
  • typing_extensions

Frequently Asked Questions

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