tool_union_param.py — anthropic-sdk-python Source File
Architecture documentation for tool_union_param.py, a python file in the anthropic-sdk-python codebase. 14 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR 454d11cb_0b86_9e73_f884_ace481771106["tool_union_param.py"] 0a6fc20c_de0a_9f7c_f378_c2e368483562["tool_param.py"] 454d11cb_0b86_9e73_f884_ace481771106 --> 0a6fc20c_de0a_9f7c_f378_c2e368483562 3a1b73b3_05d5_7657_1e56_a96f0f91c25e["ToolParam"] 454d11cb_0b86_9e73_f884_ace481771106 --> 3a1b73b3_05d5_7657_1e56_a96f0f91c25e 205f4c1b_ea89_42b4_07d5_9647b5b84b49["tool_bash_20250124_param.py"] 454d11cb_0b86_9e73_f884_ace481771106 --> 205f4c1b_ea89_42b4_07d5_9647b5b84b49 4c5376ec_a179_3a7d_074e_7ce6d1a41a6e["ToolBash20250124Param"] 454d11cb_0b86_9e73_f884_ace481771106 --> 4c5376ec_a179_3a7d_074e_7ce6d1a41a6e 1803970f_f89e_9dee_2cec_267d05b0b743["web_search_tool_20250305_param.py"] 454d11cb_0b86_9e73_f884_ace481771106 --> 1803970f_f89e_9dee_2cec_267d05b0b743 42865030_cc12_6f12_4335_0cdea4850aaa["WebSearchTool20250305Param"] 454d11cb_0b86_9e73_f884_ace481771106 --> 42865030_cc12_6f12_4335_0cdea4850aaa 83ace8a7_58c6_0049_c928_d001f7bb324f["tool_text_editor_20250124_param.py"] 454d11cb_0b86_9e73_f884_ace481771106 --> 83ace8a7_58c6_0049_c928_d001f7bb324f 0e0f094a_3124_d954_7103_ff3c0501067c["ToolTextEditor20250124Param"] 454d11cb_0b86_9e73_f884_ace481771106 --> 0e0f094a_3124_d954_7103_ff3c0501067c 9fafcb02_fb95_352f_819a_1a01fd235f66["tool_text_editor_20250429_param.py"] 454d11cb_0b86_9e73_f884_ace481771106 --> 9fafcb02_fb95_352f_819a_1a01fd235f66 b90daf87_5151_d047_4416_18a698f7301a["ToolTextEditor20250429Param"] 454d11cb_0b86_9e73_f884_ace481771106 --> b90daf87_5151_d047_4416_18a698f7301a 08ce4ddf_5b7c_4e8f_7f8a_3daaee398731["tool_text_editor_20250728_param.py"] 454d11cb_0b86_9e73_f884_ace481771106 --> 08ce4ddf_5b7c_4e8f_7f8a_3daaee398731 9b7ba008_24b2_63e0_280c_e286f7241e23["ToolTextEditor20250728Param"] 454d11cb_0b86_9e73_f884_ace481771106 --> 9b7ba008_24b2_63e0_280c_e286f7241e23 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] 454d11cb_0b86_9e73_f884_ace481771106 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] 454d11cb_0b86_9e73_f884_ace481771106 --> 37c05070_ca59_d596_7250_de9d1939227f style 454d11cb_0b86_9e73_f884_ace481771106 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 Union
from typing_extensions import TypeAlias
from .tool_param import ToolParam
from .tool_bash_20250124_param import ToolBash20250124Param
from .web_search_tool_20250305_param import WebSearchTool20250305Param
from .tool_text_editor_20250124_param import ToolTextEditor20250124Param
from .tool_text_editor_20250429_param import ToolTextEditor20250429Param
from .tool_text_editor_20250728_param import ToolTextEditor20250728Param
__all__ = ["ToolUnionParam"]
ToolUnionParam: TypeAlias = Union[
ToolParam,
ToolBash20250124Param,
ToolTextEditor20250124Param,
ToolTextEditor20250429Param,
ToolTextEditor20250728Param,
WebSearchTool20250305Param,
]
Domain
Dependencies
- ToolBash20250124Param
- ToolParam
- ToolTextEditor20250124Param
- ToolTextEditor20250429Param
- ToolTextEditor20250728Param
- WebSearchTool20250305Param
- tool_bash_20250124_param.py
- tool_param.py
- tool_text_editor_20250124_param.py
- tool_text_editor_20250429_param.py
- tool_text_editor_20250728_param.py
- typing
- typing_extensions
- web_search_tool_20250305_param.py
Source
Frequently Asked Questions
What does tool_union_param.py do?
tool_union_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does tool_union_param.py depend on?
tool_union_param.py imports 14 module(s): ToolBash20250124Param, ToolParam, ToolTextEditor20250124Param, ToolTextEditor20250429Param, ToolTextEditor20250728Param, WebSearchTool20250305Param, tool_bash_20250124_param.py, tool_param.py, and 6 more.
What files import tool_union_param.py?
tool_union_param.py is imported by 2 file(s): __init__.py, message_create_params.py.
Where is tool_union_param.py in the architecture?
tool_union_param.py is located at src/anthropic/types/tool_union_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