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

tool_bash_20250124_param.py — anthropic-sdk-python Source File

Architecture documentation for tool_bash_20250124_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
  205f4c1b_ea89_42b4_07d5_9647b5b84b49["tool_bash_20250124_param.py"]
  7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a["cache_control_ephemeral_param.py"]
  205f4c1b_ea89_42b4_07d5_9647b5b84b49 --> 7b6a56f6_ac0b_b2be_9a30_e7e1bb30529a
  f1f58cbf_75c8_98cd_2b10_51b503d83961["CacheControlEphemeralParam"]
  205f4c1b_ea89_42b4_07d5_9647b5b84b49 --> f1f58cbf_75c8_98cd_2b10_51b503d83961
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  205f4c1b_ea89_42b4_07d5_9647b5b84b49 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  205f4c1b_ea89_42b4_07d5_9647b5b84b49 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> 205f4c1b_ea89_42b4_07d5_9647b5b84b49
  297c2067_cd78_c65b_b9eb_ee1696eac623["message_count_tokens_tool_param.py"]
  297c2067_cd78_c65b_b9eb_ee1696eac623 --> 205f4c1b_ea89_42b4_07d5_9647b5b84b49
  454d11cb_0b86_9e73_f884_ace481771106["tool_union_param.py"]
  454d11cb_0b86_9e73_f884_ace481771106 --> 205f4c1b_ea89_42b4_07d5_9647b5b84b49
  style 205f4c1b_ea89_42b4_07d5_9647b5b84b49 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

__all__ = ["ToolBash20250124Param"]


class ToolBash20250124Param(TypedDict, total=False):
    name: Required[Literal["bash"]]
    """Name of the tool.

    This is how the tool will be called by the model and in `tool_use` blocks.
    """

    type: Required[Literal["bash_20250124"]]

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

    strict: bool
    """When true, guarantees schema validation on tool names and inputs"""

Frequently Asked Questions

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